Bug 141253 - LibreOffice Calc column headers don't scale properly when moving to different size display
Summary: LibreOffice Calc column headers don't scale properly when moving to different...
Status: RESOLVED DUPLICATE of bug 138122
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2021-03-25 20:56 UTC by Thomas Bauer
Modified: 2021-03-29 05:00 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

Calc headers not scaled right (382.65 KB, image/png)
2021-03-25 20:58 UTC, Thomas Bauer
OpenGL report 1of3 (835.78 KB, text/plain)
2021-03-25 20:59 UTC, Thomas Bauer
OpenGL report 2of3 (5.52 KB, text/plain)
2021-03-25 21:00 UTC, Thomas Bauer
OpenGL report 3of3 (28.29 KB, text/plain)
2021-03-25 21:03 UTC, Thomas Bauer

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bauer 2021-03-25 20:56:56 UTC
When moving a LibreOffice Calc window from one screen to another with a different OS scaling factor the column headers don't rescale along with the rest of the window.

Steps to Reproduce:
1.Connect Mac to a second display with a different scaling factor (for example internal retina display and external 1080p display)
2.Open a LibreOffice Calc window on one of them
3.Move the Calc window to the other display

Actual Results:
Headers don't scale properly while rest of window does scale

Expected Results:
Headers should scale same way rest of window scales

Reproducible: Always

User Profile Reset: No

OpenGL enabled: Yes

Additional Info:
Version: / LibreOffice Community
Build ID: fe0b08f4af1bacafe4c7ecc87ce55bb426164676
CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

(Will attach 3 OpenGL reports and screenshot of issue)
Comment 1 Thomas Bauer 2021-03-25 20:58:31 UTC
Created attachment 170740 [details]
Calc headers not scaled right
Comment 2 Thomas Bauer 2021-03-25 20:59:39 UTC
Created attachment 170741 [details]
OpenGL report 1of3
Comment 3 Thomas Bauer 2021-03-25 21:00:01 UTC
Created attachment 170742 [details]
OpenGL report 2of3
Comment 4 Thomas Bauer 2021-03-25 21:03:10 UTC
Created attachment 170743 [details]
OpenGL report 3of3
Comment 5 m_a_riosv 2021-03-26 18:14:21 UTC
Please test changing the options in
Menu/Tools/Options/LibreOffice/View - Graphics.
Comment 6 Roman Kuznetsov 2021-03-26 20:17:48 UTC
Thomas, you should wait for LO 7.1.2 relese and then retest your problem

Thorsten made patches around HiDPI problem in macOS, but it will available only in 7.1.2 , look at https://bugs.documentfoundation.org/show_bug.cgi?id=138122#c182

ps: or you can download this build https://dev-builds.libreoffice.org/pre-releases/mac/x86_64/LibreOffice_7.1.2.2_MacOS_x86-64.dmg and try retest the problem

Thank you for the report.
Comment 7 Thomas Bauer 2021-03-28 22:49:52 UTC
Just tried https://dev-builds.libreoffice.org/pre-releases/mac/x86_64/LibreOffice_7.1.2.2_MacOS_x86-64.dmg and can config the issue issue is resolved in it.  Tested on 3 different displays (1080p, 2160p, and 1024x768).

There seems to be an unrelated issue introduced in, where during resize of a header the changed area is not rendered properly until releasing the mouse.  Hopefully just part of the work in progress with that version.
Comment 8 Thomas Bauer 2021-03-28 22:59:58 UTC
@Thorsten Wagner, thank you for the changes HiDPI! - makes Calc usable again for me

@Roman Kuznetsov, thank you for pointing me in the right direction
Comment 9 Roman Kuznetsov 2021-03-29 04:06:42 UTC
Thomas thank you for testing. Please file an another report for another problem.
Close it as dupe of bug138122

*** This bug has been marked as a duplicate of bug 138122 ***