Bug 2051042 - odd Libreoffice window scaling with hdpi on KDE Wayland
Summary: odd Libreoffice window scaling with hdpi on KDE Wayland
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: 35
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: KDE SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-06 00:21 UTC by Paul Grabbe
Modified: 2022-12-13 16:35 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-12-13 16:35:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Initial window on hdpi screen (105.98 KB, image/png)
2022-02-06 00:21 UTC, Paul Grabbe
no flags Details
window when dragged onto normal resolution screen (82.90 KB, image/png)
2022-02-06 00:23 UTC, Paul Grabbe
no flags Details
resized window on normal screen (113.67 KB, image/png)
2022-02-06 00:24 UTC, Paul Grabbe
no flags Details
window when moved back onto hdpi screen (143.84 KB, image/png)
2022-02-06 00:25 UTC, Paul Grabbe
no flags Details
initial print dialog window when opened on hdpi screen (165.27 KB, image/png)
2022-02-06 00:25 UTC, Paul Grabbe
no flags Details
print dialog when dragged onto normal resolution screen (206.05 KB, image/png)
2022-02-06 00:26 UTC, Paul Grabbe
no flags Details
normal resolution portrait screen on left (261.74 KB, image/png)
2022-02-06 00:27 UTC, Paul Grabbe
no flags Details
landscape mode hdpi screen on right (243.91 KB, image/png)
2022-02-06 00:28 UTC, Paul Grabbe
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Document Foundation 127687 0 None None None 2022-02-06 13:02:21 UTC

Description Paul Grabbe 2022-02-06 00:21:42 UTC
Created attachment 1859336 [details]
Initial window on hdpi screen

Description of problem:

Libreoffice scaling is off when starting on HDPI screen in multi-monitor setup. Two monitors: 1050x1680 in portrait mode, 3840x2160 Landscape mode (150% scaling). 
1. If window opens on hdpi screen the scaling is off and menu bar & icons too small (see 1.png). Proper scaling if it happens to open on normal screen.

2. Dragging window fully onto normal resolution screen changes menu scaling to normal once fully moved over (see 2.png), but page sizing is off. 

3. Slightly resizing window restores page, side bars, and bottom icons. (see 3.png)

4. Window stays properly scaled when moved back onto hdpi screen (see 4.png)

5. Opening a dialog window such as print results in improperly scaled window contents. (see 5.png)

6. Dragging dialog window back onto normal screen causes contents to rescale. Dialog stays properly scaled when dragged back onto hdpi screen.

7. Sliding window over to the right reverts to small scaling when left edge of window is approximately 1/4 of the way from left edge of hdpi monitor.



Version-Release number of selected component (if applicable):

Plasma 5.23.5, Frameworks 5.90.0, Qt 5.15.2, kernel 5.15.18-200.fc35.x86_64, Wayland.
Libreoffice 7.2.5.2.0+


How reproducible:

Every time

Steps to Reproduce:
1. Open Libreoffice on monitor setup as described above.
2. Drag window fully onto normal screen
3. Drag window back onto hdpi screen

Actual results:
improper window scaling

Expected results:
Proper window scaling

Additional info:

Comment 1 Paul Grabbe 2022-02-06 00:23:24 UTC
Created attachment 1859337 [details]
window when dragged onto normal resolution screen

Comment 2 Paul Grabbe 2022-02-06 00:24:17 UTC
Created attachment 1859338 [details]
resized window on normal screen

Comment 3 Paul Grabbe 2022-02-06 00:25:05 UTC
Created attachment 1859339 [details]
window when moved back onto hdpi screen

Comment 4 Paul Grabbe 2022-02-06 00:25:59 UTC
Created attachment 1859340 [details]
initial print dialog window when opened on hdpi screen

Comment 5 Paul Grabbe 2022-02-06 00:26:54 UTC
Created attachment 1859341 [details]
print dialog when dragged onto normal resolution screen

Comment 6 Paul Grabbe 2022-02-06 00:27:49 UTC
Created attachment 1859342 [details]
normal resolution portrait screen on left

Comment 7 Paul Grabbe 2022-02-06 00:28:39 UTC
Created attachment 1859343 [details]
landscape mode hdpi screen on right

Comment 8 Paul Grabbe 2022-02-06 00:34:08 UTC
Note that this is the only application that I've used that exhibits this behavior. All others behave as expected.

Comment 9 Caolan McNamara 2022-02-06 13:02:22 UTC
It probably makes more sense to file QT+Wayland issues upstream

Comment 10 Ben Cotton 2022-11-29 17:50:06 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 11 Ben Cotton 2022-12-13 16:35:14 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.