Bug 161479 - Presentation is not displayed in fullscreen mode when using GTK3 as VCLPLUGIN and the screen is fractional scaled
Summary: Presentation is not displayed in fullscreen mode when using GTK3 as VCLPLUGIN...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard: target:25.2.0 target:24.8.3 target:24...
Keywords:
: 161396 163308 (view as bug list)
Depends on:
Blocks: Wayland GTK3
  Show dependency treegraph
 
Reported: 2024-06-09 04:06 UTC by liangrui.ch
Modified: 2024-10-13 18:36 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
The screenshot of the issue (345.27 KB, image/jpeg)
2024-06-09 04:07 UTC, liangrui.ch
Details
Recording of the issue (2.27 MB, video/mp4)
2024-06-14 01:59 UTC, Bastián Díaz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description liangrui.ch 2024-06-09 04:06:26 UTC
Description:
Title

The presetation is only displayed in the small area of the screen when using GTK3 as VCLPLUGIN on KDE Wayland while the screen is fractional scaled.

I tried setting the scale factor to 100% or using Qt6 as VCLPLUGIN, the problem is gone.

Steps to Reproduce:
1. Using a monitor which the screen factor is fractional like 125%.
2. Open a impress file on KDE Wayland with GTK3 as VCLPLUGIN
3. Present

Actual Results:
The presentation is not displayed in fullscreen mode.

Expected Results:
The presentation is displayed in fullscreen mode.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.9; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
24.2.3-3
Calc: threaded
Comment 1 liangrui.ch 2024-06-09 04:07:27 UTC
Created attachment 194611 [details]
The screenshot of the issue
Comment 2 Bastián Díaz 2024-06-14 01:59:18 UTC
Created attachment 194717 [details]
Recording of the issue

Hello. I can confirm the problem. The same thing happens to me related to fractional scaling using gnome/wayland. When returning to integers the problem doesn't persist. The same using the session in gnome/Xorg.

OS: Fedora 40 Workstation/Gnome 46/Wayland
LibO Version: 24.2.4.2 (X86_64)
Build ID: 420(Build:2)
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: es-CL (es_CL.UTF-8); UI: es-ES
Calc: threaded

Steps to reproduce:
- Login gnome in Wayland
- Set a number on a fractional scale (Ex. 125%)
- Start Impress, select a template
- Start SlideShow

The issue is always reproducible under these conditions (Wayland and Fractional scaling)

Note: It should be noted that at least in Gnome, fractional scaling is experimental, however, a couple of minor versions earlier, LibO impress was working fine, it was only recently that I experienced these problems when starting a SlideShow.
Comment 3 Bastián Díaz 2024-06-14 02:03:45 UTC
I'm sorry. I forgot to mention that I did restart the LibO profile and even used it in safe mode. The strange thing is that when doing so, for example restarting the profile and opening a presentation, it works (fullscreen slideshow), but only the first time, then the same thing happens as the video I uploaded before.

Cheers
Comment 4 sraamar.psplus 2024-08-15 14:49:40 UTC
I can reproduce this issue too on Arch Linux with Plasma 6.1.4 Wayland at 125% scale.

Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.10; UI render: Skia/Vulkan; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
24.2.5-2
Calc: threaded
Comment 5 Caolán McNamara 2024-10-10 11:05:51 UTC
For my case at least, I find that https://gerrit.libreoffice.org/c/core/+/174761 is sufficient to fix this and get presentation working on a 125% scaling case
Comment 6 Commit Notification 2024-10-10 21:14:38 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/4059c6351d9dc07ef2ab88149079cb2c59e22c32

tdf#161479 make presentation work on fractionally scaled display

It will be available in 25.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 7 Michael Weghorn (away) 2024-10-10 21:53:56 UTC
(In reply to Caolán McNamara from comment #5)
> For my case at least, I find that
> https://gerrit.libreoffice.org/c/core/+/174761 is sufficient to fix this and
> get presentation working on a 125% scaling case

This also fixes the 150% scaling case in my setup with gtk3 I mentioned in tdf#163308 comment 2.
Comment 8 Michael Weghorn (away) 2024-10-10 21:55:55 UTC
*** Bug 163308 has been marked as a duplicate of this bug. ***
Comment 9 Caolán McNamara 2024-10-12 13:50:19 UTC
*** Bug 161396 has been marked as a duplicate of this bug. ***
Comment 10 Caolán McNamara 2024-10-12 13:55:30 UTC
above fix merged to trunk, backports in gerrit for 24-8 and 24-2
Comment 11 Commit Notification 2024-10-12 19:56:44 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-24-8":

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

tdf#161479 make presentation work on fractionally scaled display

It will be available in 24.8.3.

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 Commit Notification 2024-10-13 18:36:04 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-24-2":

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

tdf#161479 make presentation work on fractionally scaled display

It will be available in 24.2.7.

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.