Bug 145299 - Since last update LibreOffice is displayed extremely small at 4k resolution (kf5 + Wayland)
Summary: Since last update LibreOffice is displayed extremely small at 4k resolution (...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: HiDPI Wayland KDE, KF5
  Show dependency treegraph
 
Reported: 2021-10-24 17:07 UTC by Dieter Manig
Modified: 2021-12-09 17:20 UTC (History)
3 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 Dieter Manig 2021-10-24 17:07:03 UTC
Description:
Since last update my LibreOffice is displayed extremely small on my 4k monitor. 
The window-header and menu-bar with the drop-down menus are normal, similar to other applications. From the icons further down everything is 2 times smaller or more. Also dialog boxes are to small. You need a magnifier to read. With zoom 200% the content of the documents is in normal size. I tested it in Calc, Writer and Draw. If I reduce the resolution to 2k everything is fine.

Steps to Reproduce:
1.It's permanent. Every time I start LibreOffice
2.
3.

Actual Results:
System fonts are in normal size, fonts in LibreOffice are to small.


Expected Results:
Wrong scaling factor at 4k resolution


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.2.2.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 16; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+wayland)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

Operating System: openSUSE Tumbleweed 20211019
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.14.11-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: Radeon RX 580 Series
Monitor: Samsung U28E590 4k (3840x2160)
Comment 1 Michael Weghorn 2021-10-28 04:21:18 UTC
(In reply to Dieter Manig from comment #0)
> Description:
> Since last update my LibreOffice is displayed extremely small on my 4k
> monitor.

Do you know which update causes this to happen, whether it was an update of LibreOffice, or rather of the KDE Plasma/KF5 stack? (And if it's LibreOffice: What version did you use before?)

Can you check whether the same problem exists when you use a KDE Plasma X11 session instead of Wayland?
Comment 2 Dieter Manig 2021-10-29 14:58:37 UTC
I think it was 15. October, I installed all updates the Update-Applet offers. I don't know exact which version I had before (7.2.2.1 ?). Yesterday there where new updates incl. LibreOffice to version 7.2.2.2-1.4, but it takes no effect.

But good idea, to ask me about Wayland. With X11 there is no problem anymore.
Comment 3 Michael Weghorn 2021-11-22 06:18:04 UTC
Is it possible the problem started happening after you started using Plasma on Wayland instead of X11?

Display scaling should work with the fix for tdf#137924 in place (i.e. current LibreOffice development version built with Qt >= 5.14).

Does the workaround described in tdf#137924 comment 14 (setting SAL_FORCEDPI to according value) make the problem go away?
Comment 4 Dieter Manig 2021-12-09 16:36:04 UTC
Yes, the problem was only using Wayland, on X11 everything was okay.

I was absent about 3 weeks, now I installed the update to LibreOffice 7.2.3.2 and it works fine with Wayland.

I think, the problem is solved.

Thanks to everyone who helped me
Comment 5 Michael Weghorn 2021-12-09 16:54:18 UTC
(In reply to Dieter Manig from comment #4)
> Yes, the problem was only using Wayland, on X11 everything was okay.
> 
> I was absent about 3 weeks, now I installed the update to LibreOffice
> 7.2.3.2 and it works fine with Wayland.
> 
> I think, the problem is solved.

That's interesting, because the fix for  tdf#137924 isn't included in 7.2.3...

Anyway, thanks for retesting! Let's close as WORKSFORME since it's working for you now.
Comment 6 Dieter Manig 2021-12-09 17:20:18 UTC
I can't understand it exactly because Tumbleweed updated more than 1000 packages.
For me everything is okay now, thank you.