Bug 163308 - Slideshow invisible with fractional scaling (Wayland)
Summary: Slideshow invisible with fractional scaling (Wayland)
Status: RESOLVED DUPLICATE of bug 161479
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.2.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Wayland GTK3
  Show dependency treegraph
 
Reported: 2024-10-05 11:19 UTC by umk0m1qk
Modified: 2024-10-10 21:55 UTC (History)
2 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 umk0m1qk 2024-10-05 11:19:45 UTC
Here's the setup:
Fedora 40 with GNOME 46 & Wayland fractional scaling at 150%
Kernel: Linux 6.10.12-200.fc40.x86_64

Steps to reproduce:

Attempt to launch any slideshow in any manner from Impress GUI. Slide edit console loses focus, but a second window does not visibly launch. Slideshow does not display. It is invisible.

Turn off fractional scaling (e.g., set to 100% or 200%), and the slideshow displays normally.

Possibly related to https://bugs.documentfoundation.org/show_bug.cgi?id=161396
Comment 2 Michael Weghorn 2024-10-05 14:32:36 UTC
(In reply to umk0m1qk from comment #0)
> Here's the setup:

I get a different result with KDE Plasma Wayland (current self-compiled dev version) on Debian testing:

* When using the gtk3 VCL plugin (starting LO using SAL_USE_VCLPLUGIN=gtk3), the screen isn't fully used (maybe about 2/3 are, while the rest still shows the destop background) when using 150% scaling, while it is with 100% or 200%, but the presentation is still visible
* When using the qt6 VCL plugin SAL_USE_VCLPLUGIN=qt6, all is well and the full screen is used

For me, testing with either 1 or 2 screens gives similar behavior.

What's your exact version information in "Help" -> "About LibreOffice"?

Does starting LO with SAL_USE_VCLPLUGIN=qt6 (or "kf6" instead of "qt6") make any difference? (And does it change what's displayed for "VCL" in "Help" -> "About LibreOffice"? Otherwise that VCL plugin may not be installed, maybe your distro isn't packaging it.)

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 95e2bdf97d987c845927bd44210547fd3c2f2387
CPU threads: 32; OS: Linux 6.10; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 95e2bdf97d987c845927bd44210547fd3c2f2387
CPU threads: 32; OS: Linux 6.10; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 3 umk0m1qk 2024-10-06 13:50:09 UTC
Q1: What's your exact version information in "Help" -> "About LibreOffice"?

A: LO version is 24.2.6.2.

Version: 24.2.6.2 (X86_64)
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.10; UI render: default; VCL: gtk3
Locale: ru-RU (en_US.UTF-8); UI: en-US
Calc: threaded

Q2: Does starting LO with SAL_USE_VCLPLUGIN=qt6 (or "kf6" instead of "qt6") make any difference? (And does it change what's displayed for "VCL" in "Help" -> "About LibreOffice"?

A: No difference with either qt6 or kf6 variable. Slideshow is still totally invisible. Nothing changes with respect to VCL under About LO. Prints same as above under Q1.
Comment 4 Michael Weghorn 2024-10-06 19:52:12 UTC
(In reply to umk0m1qk from comment #3)
> Q2: Does starting LO with SAL_USE_VCLPLUGIN=qt6 (or "kf6" instead of "qt6")
> make any difference? (And does it change what's displayed for "VCL" in
> "Help" -> "About LibreOffice"?
> 
> A: No difference with either qt6 or kf6 variable. Slideshow is still totally
> invisible. Nothing changes with respect to VCL under About LO. Prints same
> as above under Q1.

Thanks for the additional info. Adding to the gtk3 metabug for now, as that's the one your output shows.
That sounds like the kf6 VCL plugin isn't installed. At least on Fedora Rawhide, I see a package "libreoffice-kf6", which you could install if you still want to try kf6.
Comment 5 umk0m1qk 2024-10-07 06:32:25 UTC
Installed & launched desktop in KDE Plasma. LO Impress slideshow now works normally even with fractional scaling at 150%.

Version: 24.2.6.2 (X86_64)
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: ru-RU (en_US.UTF-8); UI: en-US
Calc: threaded

So I suspect this bug is specific to Wayland scaling in GNOME.
Comment 6 Michael Weghorn 2024-10-10 21:55:55 UTC
This seems to be the same issue as tdf#161479 and at least the issue I described in comment 2 is fixed by the commit mentioned in tdf#161479 comment 6.

-> closing as a duplicate

Can you please retest with a current development version (see https://wiki.documentfoundation.org/QA/Testing_Daily_Builds ) and report back in that ticket whether this fixes your issue as well?

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