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

            Bug ID: 417082
           Summary: Files on desktop can open multiple context menus at
                    once on Wayland
           Product: plasmashell
           Version: 5.17.5
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Folder
          Assignee: h...@kde.org
          Reporter: a...@heyquark.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Created attachment 125636
  --> https://bugs.kde.org/attachment.cgi?id=125636&action=edit
Screenshot showing multiple context menus open after right-clicking on desktop
icon

SUMMARY
On Wayland, when right-clicking files on the desktop to open a context menu,
multiple context menus appear, with only the topmost one responding to
interaction. If a window has focus, the first menu appears in the top-left with
window decorations (similar to https://bugs.kde.org/show_bug.cgi?id=387597 ). I
suspect these are both the same underlying issue, so I'm reporting them
together - happy to change that!

STEPS TO REPRODUCE
1. Have some files in ~/Desktop, and have the desktop layout set to "Folder
View"
2. With all applications minimised or unfocused, right-click on a desktop icon
3. Right-click on a still-exposed part of the icon (or another icon entirely)
4. Right-click on an empty portion of the desktop or focus a window to dismiss
any context menus.
5. With a window focused, right-click on a desktop icon

OBSERVED RESULT
With no focused windows: Multiple context menus appear, overlapping. Only the
topmost/most recent one can be interacted with. Actions that would usually
close a context menu (left-clicking on the desktop or icons) are ineffective,
and choosing an item in the menu only dismisses one at a time.
With a focused window: The window loses focus, and a context menu appears in
the top-left corner with window decorations, like in
https://bugs.kde.org/show_bug.cgi?id=387597 . Further context menus can be
opened by right-clicking icons, but these do not appear with window
decorations.

EXPECTED RESULT
The second right-click anywhere on the desktop or icons closes the active
context menu, instead of opening another one - this is the behaviour of empty
desktop space. In the case where the menu opens with window decorations, it
should instead appear at the position of the mouse, without decorations.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon User 5.17
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.13.2

Also reproduced on
Linux/KDE Plasma: Arch Linux (rolling, up to date 2020-02-03)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
Left-clicking on the desktop while one of these rouge context menus is open
causes a "Delete" option to appear under "Move to Wastebin". Since a file isn't
selected in this state, I'm not really game to see what it does.

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

Reply via email to