| Summary: | Clicking with mouse "back" or "forward" buttons while hovering items selects and potentially drags them | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Eduardo <eduardo.cruz> |
| Component: | Open/save dialogs | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | kdelibs-bugs-null, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.86.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Eduardo
2021-09-30 20:42:11 UTC
Git commit 54bcd32cd61aa9332d496fb49a19028f665a1643 by Méven Car, on behalf of Sean Baggaley. Committed on 14/11/2024 at 12:10. Pushed by meven into branch 'master'. KDirOperator: improve handling of forward/back mouse buttons Since the the forward and back mouse buttons would be passed through to the underlying Qt widget which handles it like any other click, this meant single-clicking with these buttons would allow selecting and dragging items, and double-clicking would open files or folders, instead of just navigating through the history as expected. These buttons are now handled when pressed, not released; this preventing being able to drag items, and bringing behaviour in line with Dolphin. Double-click events for these buttons are now properly handled. The events are then discarded to stop single-clicks selecting items, or double-clicks opening files or folders. M +17 -11 src/filewidgets/kdiroperator.cpp https://invent.kde.org/frameworks/kio/-/commit/54bcd32cd61aa9332d496fb49a19028f665a1643 |