Bug 166136 - Implement xdg inhibit portal to prevent screen lock with slidehow in Flatpak versions
Summary: Implement xdg inhibit portal to prevent screen lock with slidehow in Flatpak ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
25.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-11 10:27 UTC by Frederic Parrenin
Modified: 2025-12-03 16:38 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 Frederic Parrenin 2025-04-11 10:27:13 UTC
Description:
When using the slideshow mode of Impress, the screen should not go blank/locked.
This is the case when using the .deb version of LibreOffice, but not when using its flatpak version.

Steps to Reproduce:
1.Install the flatpak version of LO from flathub
2.Create a simple presentation
3.Go to slideshow

Actual Results:
After a few minutes (depending on your computer configuration), the screen goes blank / locked.

Expected Results:
The slideshow should prevent this


Reproducible: Always


User Profile Reset: No

Additional Info:
This is on Ubuntu 24.04, flatpak version of LO from flathub.
Comment 1 Mateusz Wlazłowski 2025-04-13 12:52:00 UTC
I was able to reproduce with only the flatpak version and not the .deb


Taking from https://www.libreoffice.org/download/flatpak

"Bugs only appearing in the Flatpak version should be reported to Flathub (https://github.com/flathub/org.libreoffice.LibreOffice/issues)."
Comment 2 Arlie M. Allen 2025-04-18 02:18:28 UTC Comment hidden (spam)
Comment 3 Buovjaga 2025-12-02 16:51:14 UTC
(In reply to Mateusz Wlazłowski from comment #1)
> I was able to reproduce with only the flatpak version and not the .deb
> 
> 
> Taking from https://www.libreoffice.org/download/flatpak
> 
> "Bugs only appearing in the Flatpak version should be reported to Flathub
> (https://github.com/flathub/org.libreoffice.LibreOffice/issues)."

Indeed. Frederic: please report it to Flathub's GitHub.
Comment 4 Frederic Parrenin 2025-12-03 15:11:35 UTC
Reported here:
https://github.com/flathub/flathub/issues/7260
Comment 5 Buovjaga 2025-12-03 16:38:10 UTC
(In reply to Frederic Parrenin from comment #4)
> Reported here:
> https://github.com/flathub/flathub/issues/7260

From a comment:
They need to implement the inhibit portal https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Inhibit.html