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

            Bug ID: 524937
           Summary: [Wayland] Undo keyboard shortcut fails on screen
                    wakeup from idle timeout
    Classification: Applications
           Product: krita
      Version First nightly build (please specify the git hash!)
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Shortcuts and Canvas Input Settings
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
In a wayland session, Krita's keyboard shortcut for Undo stop working after the
screen wakes up from idle timeout. The shortcut is restored only after
triggering Undo once via the Edit menu.  

Tested on Plasma 6.7.4. 
Screen turn off timer set in System Settings -> Power Management -> Turn off
screen.
Does not occur when locking/unlocking the screen on idle timeout.  
Does not occur in X11 sessions.  
Does not affect the -/+ zooming shortcuts
Does not affect Ctrl to pick color.
Affects both Qt5 and Qt6 builds.  


STEPS TO REPRODUCE
1. Start a Wayland session (Plasma).  
2. Open a document in Krita.  
3. Wait for the screen to turn off due to idle timeout.  
4. Wake the screen (e.g., press any key).  
5. Draw something on the canvas.  
6. Press Ctrl+Z (or Z for me).  


OBSERVED RESULT
Undo fails. Must use Edit -> Undo once before the Undo shortcut works again.  

EXPECTED RESULT
Undo shortcut works after screen wake-up.  

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION

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

Reply via email to