https://bugs.kde.org/show_bug.cgi?id=472041
Bug ID: 472041 Summary: Wayland: Clicking the "View Mode" button while the window is unfocused makes the context menu appear in its own window Classification: Applications Product: okular Version: 23.04.1 Platform: NixOS OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: okular-devel@kde.org Reporter: xna...@hydra-development.net Target Milestone: --- SUMMARY While on wayland and when the window is unfocused, clicking the "View Mode" button in Okular makes the context menu appear in its own window. STEPS TO REPRODUCE 0. Log in to plasma wayland session 1. Open Okular 2. Open a document in Okular 3. Unfocus the window (click on a different window) 4. Click the "View Mode" button in Okular OBSERVED RESULT The context menu appears in its own window EXPECTED RESULT Okular is focused and the context menu appears next to the cursor SOFTWARE/OS VERSIONS Linux/KDE Plasma: NixOS (available in About System) KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION - -- You are receiving this mail because: You are the assignee for the bug.