Bug 111474 - UI: Row numbers are clipped when OpenGL is used
Summary: UI: Row numbers are clipped when OpenGL is used
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-07 22:46 UTC by kyama
Modified: 2018-02-12 23:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Comparison of 5.4 and 5.3.5 (177.30 KB, image/jpeg)
2017-08-07 22:55 UTC, kyama
Details
Screenshot: Segoe UI and Yu Gothic UI (60.72 KB, image/jpeg)
2017-08-08 19:36 UTC, kyama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kyama 2017-08-07 22:46:57 UTC
Description:
Starting from 5.4.0 release, top of every row number is clipped when OpenGL rendering is enabled.

Disabling OpenGL fixes it but scrolling performance declines largely.
5.3.5 release did not have this issue.

Steps to Reproduce:
1. Install 5.4.0 release
2. Enable the OpenGL option
3. Create a new Calc document and see how row numbers are rendered

Actual Results:  
Row numbers are rendered clearly

Expected Results:
Top of row numbers is clipped


Reproducible: Always

User Profile Reset: No

Additional Info:
Version: 5.4.0.3 (x64)
Build ID: 7556cbc6811c9d992f4064ab9287069087d7f62c
CPU threads: 8; OS: Windows 6.19; UI render: GL; 
Locale: ja-JP (ja_JP); Calc: group


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Comment 1 kyama 2017-08-07 22:55:29 UTC
Created attachment 135253 [details]
Comparison of 5.4 and 5.3.5
Comment 2 m_a_riosv 2017-08-08 15:08:14 UTC
Please can you attach the file:
C:\Users\xxxxxx\AppData\Roaming\LibreOffice\4\cache\opengl_device.log
Comment 3 kyama 2017-08-08 19:08:34 UTC
opengl_device.log

DriverVersion: 22.21.13.8494
DriverDate: 7-18-2017
DeviceID: PCI\VEN_10DE&DEV_1401&SUBSYS_137619DA&REV_A1
AdapterVendorID: 0x10de
AdapterDeviceID: 0x1401
AdapterSubsysID: 0x137619da
DeviceKey: System\CurrentControlSet\Control\Video\{0F73E32C-D3B7-46BF-B73F-7FFA64D75DAA}\0000
DeviceString: NVIDIA GeForce GTX 960
Comment 4 kyama 2017-08-08 19:36:10 UTC
Created attachment 135317 [details]
Screenshot: Segoe UI and Yu Gothic UI

Issue may be caused by the Japanese system font of Windows 10 (Yu Gothic UI) which has slightly different metrics from Segoe UI.
Using Yu Gothic UI at 9 pt in documents also causes clipped rendering.
Comment 5 m_a_riosv 2017-08-08 20:34:54 UTC
Thanks @kyama
Comment 6 Xisco Faulí 2017-11-20 16:17:36 UTC Comment hidden (obsolete)
Comment 7 kyama 2017-11-22 22:46:02 UTC
The issue is still present in version 5.4.3 when "Use OpenGL for all rendering" option is enabled.
But the display performance seems vastly improved in 5.4.3 even when the OpenGL option is disabled. So I can use LO comfortably without the OpenGL option now.
Comment 8 V Stuart Foote 2017-11-23 04:00:38 UTC
Think this was corrected by the DirectWrite adjustment for OpenGL rendering for bug 113347

https://cgit.freedesktop.org/libreoffice/core/commit/?id=de811bb2359757b90a0a9851963bd8702b97dab0&h=libreoffice-5-4

Please retest it in a master build, or 5.4.4.1 when released.
Comment 9 kyama 2018-02-12 23:41:08 UTC
Confirmed fixed in Version: 6.0.1.1 (x64)
Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6
CPU threads: 8; OS:Windows 10.0; UI render: GL; 
Locale: ja-JP (ja_JP); Calc: group

Thank you!