https://bugs.kde.org/show_bug.cgi?id=496282

            Bug ID: 496282
           Summary: GTK apps that try to inhibit logout inhibit sleep
                    instead under Wayland
    Classification: Plasma
           Product: Powerdevil
           Version: 5.27.11
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: maximumsometh...@gmail.com
                CC: natalie_clar...@yahoo.de
  Target Milestone: ---

SUMMARY
Both gnome-text-editor (GTK4) and gedit (GTK3) will inhibit sleep when run
under KDE. Both use straightforward GTK apis to inhibit logout when there are
unsaved documents. But in KDE, the "battery and brightness" widget will show
them as inhibiting sleep, and the machine will indeed not go to sleep
automatically. Sleep is not inhibited under GNOME Wayland or Plasma X11, just
Plasma Wayland. (Logout is also not successfully inhibited, as documented in
https://bugs.kde.org/show_bug.cgi?id=461176).

Given that this issue is specific to KDE under Wayland, I am filing it with KDE
instead of GTK I think the actual bug is more likely to be here.

STEPS TO REPRODUCE
In a KDE wayland session, open gedit, gnome-text-editor, or any other GTK app
that inhibits logout. Observe that sleep is inhibited in the "Battery and
Brightness" taskbar widget and the computer does not go to sleep automatically.


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.11.4-amd64 (64-bit)
Graphics Platform: offscreen
Processors: 16 × AMD Ryzen 9 5900HX with Radeon Graphics
Memory: 30.8 GiB of RAM
Graphics Processor: AMD Radeon Graphics

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to