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

            Bug ID: 517375
           Summary: [Wayland] Popup palette won't go away with keyboard
                    shortcut
    Classification: Applications
           Product: krita
      Version First 6.0.0-beta3
       Reported In:
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
QT_QPA_PLATFORM=wayland
Krita 6.0.0-beta3
After summoning popup palette and other on-canvas context menu (transform tool,
selection tool...) with keyboard shortcut, press again keyboard cannot let it
go away, either click on anywhere else (even outside krita) or press esc to let
it go.

On canvas context menu summoned by **keyboard** will print a warning in
terminal, but won't popup a warning in GUI:
SAFE ASSERT (krita): "event" in file
/builds/graphics/krita/libs/flake/KoPointerEvent.cpp, line 506

It does not matter if the cursor is driven by mouse or stylus.
It works as it should under X11/Xwayland


STEPS TO REPRODUCE
1. QT_QPA_PLATFORM=wayland to run Krita, set a keyboard shortcut ("Q" for
example) for Popup-palette in Canvas Input Setting
2. Press Q to summon Popup-palette or other tool's context menu on canvas.
3. Press Q again to close popup-palette or on canvas menu

OBSERVED RESULT
Popup-palette or context menu not go away

EXPECTED RESULT
Close popup-palette or context menu as in X11/Xwayland

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux forky/sid
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.23.0
Qt Version: 6.9.2
Kernel Version: 6.18.12+deb14-amd64 (64-bit)
Graphics Platform: Wayland
GPU: Intel UHD 770

ADDITIONAL INFORMATION
In newer build such as krita-6.1.0-prealpha-8386cb3d24, Popup-palette behaves
the same as beta3, but on-canvas context menu (selection tool, transform
tool..) will popup a SAFE ASSERT warning window:
```
SAFE ASSERT (krita): "event" in file
/builds/graphics/krita/libs/flake/KoPointerEvent.cpp, line 506
```
If press "Ignore", the on-canvas context menu will show up as a child window
like in Bug 516308.
Not sure if it should report as another bug?

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

Reply via email to