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

            Bug ID: 443169
           Summary: Clicking with mouse "back" or "forward" buttons while
                    hovering items selects and potentially drags them
           Product: frameworks-kio
           Version: 5.86.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Open/save dialogs
          Assignee: kio-bugs-n...@kde.org
          Reporter: eduardo.c...@kdemail.net
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
Many modern mice have extra buttons, some of them are used to navigate "back"
and "forward", usually placed in the thumb region.

When using KDE's open or save file dialog we are able to use these buttons to
"back" and "forward" through our folder history.

However, if we are hovering the mouse pointer above a an item (file or folder)
at the dialog while we click these buttons, it actually select the items before
doing the navigation. If we happen to me moving the mouse pointer even
slightly, it actually starts a drag operation on the item that we were
hovering.

In fact, if the mouse has other extra unassigned buttons, any/all of them can
be used to trigger this bug.

STEPS TO REPRODUCE
1. Own a mouse with "back" and "forward" buttons
2. Open KWrite, open the "Open File" dialog
3. Click & hold with your "back" button over some file/folder shown at the
dialog
4. Move your mouse while holding the "back" button

OBSERVED RESULT
You are now dragging them item while holding the "back" button

EXPECTED RESULT
It should have simply navigate "back" with the button down event (if you had a
folder history) without initiating any unintended drag operation.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Graphics Platform: X11

ADDITIONAL INFORMATION
In Dolphin, the behavior is correct. It can be taken as a reference behavior to
be replicated in the open/save file dialogs.

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

Reply via email to