Bug 85499 - HiDPI: Moving a window to a non-retina display and back causes blurred text
Summary: HiDPI: Moving a window to a non-retina display and back causes blurred text
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
4.3.2.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 90592 (view as bug list)
Depends on:
Blocks: macOS-UI-polish HiDPI
  Show dependency treegraph
 
Reported: 2014-10-27 06:48 UTC by Iandol
Modified: 2021-02-15 20:00 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iandol 2014-10-27 06:48:55 UTC
Hi, I have a retina macbook pro, and if I open a text document in LibreOffice 4.3.2 it opens with text rendered fine on a HiDPI display. BUT if I move that window across onto another (attached) LoDPI monitor and then back to my HiDPI display, the text becomes blurry. Other apps (or the underlying OS) switch just fine, but LibreOffice needs to be restarted to regain the HiDPI text rendering display...
Comment 1 Alex Thurgood 2014-10-27 16:43:56 UTC
Unfortunately, I have no way to test this, but you are probably right as HiDPI support is incompletely implemented at the moment.
Comment 2 Kendall Koning 2014-12-12 02:20:39 UTC
I cannot replicate this bug on a new 5k iMac.  However, if I launch the application by double clicking on an existing LO document from a finder window on a Low-DPI screen, the document window is opened on the Hi-DPI screen but at the reduced resolution (for the document/text itself; UI elements are rendered remain at Hi-DPI).  OTOH, if I perform the same open operation but with the Finder window starting out on the Hi-DPI screen, the document opens and is displayed correctly in Hi-DPI mode, and remains so regardless of whether or not the window is dragged to a Low-DPI screen and then back again.

This may be a different (perhaps related?) bug, but hopefully this description might be helpful to someone looking at this problem.

(From a relatively new user of LO, thanks! :)
Comment 3 Alex Thurgood 2015-04-30 09:24:25 UTC
Can't reproduce when switching between Retina Macbook and Thunderbolt 27" display,
Comment 4 Alex Thurgood 2015-04-30 09:26:46 UTC
*** Bug 90592 has been marked as a duplicate of this bug. ***
Comment 5 Alex Thurgood 2015-04-30 09:27:37 UTC
Two independent bug reports, confirming
Comment 6 Robinson Tryon (qubit) 2015-05-01 17:56:43 UTC
(In reply to Alex Thurgood from comment #1)
> Unfortunately, I have no way to test this, but you are probably right as
> HiDPI support is incompletely implemented at the moment.

Blocks: HiDPI
Comment 7 QA Administrators 2016-09-20 09:37:24 UTC Comment hidden (obsolete)
Comment 8 eisa01 2019-08-11 10:02:51 UTC
This is still present.

If my main screen is a low-dpi screen, then the LibreOffice document is blurred when I move the window to the hidpi screen

Version: 6.4.0.0.alpha0+
Build ID: 54028dc503fc08eb12e287919d5e2850cff05b73
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2019-07-31_01:48:19
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 9 info 2020-04-15 09:37:39 UTC
Same issues with 6.4.2 on a rMBP - even with the hex "hack" to fix the blurry text in Calc ...
Comment 10 eisa01 2020-05-03 10:15:38 UTC
Some hints from NeoOffice:

"We have partially fixed this bug by setting each window's resolution to the display with the highest resolution. Note: each window's resolution is set when the window is first displayed so if you add a new display that is higher resolution than all of the other displays while NeoOffice is running, you will need to close and reopen any open documents to see the higher resolution. 

We have added to last week's partial fix so that if you add a new display that is higher resolution than all of the other displays while NeoOffice is running, all open documents will automatically be redisplayed at the resolution of the added display. 

While using our last test patch, we found that our fix for LibreOffice bug #85499 caused NeoOffice to stop drawing to a window after it had been minimized.

In the crash logs that we have received from Apple, we found that NeoOffice would sometimes crash when connecting or disconnecting a display due to our fix for LibreOffice bug 85499."

https://trinity.neooffice.org/modules.php?name=Forums&file=viewforum&f=8
Comment 11 Thorsten Wagner 2021-01-27 09:53:07 UTC
Thorsten Wagner committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/f318b856ed055f1952276355f811153f6b29c93e

tdf#138122 Detect window scaling for multi display configurations on macOS

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 12 Jan Vlug 2021-02-15 19:59:15 UTC
Maybe related to:
https://bugs.documentfoundation.org/show_bug.cgi?id=140388