Summary: | (Double) Clicking a file opens it before releasing the mouse button | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Alex <allo> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | minor | CC: | felixernst, kfm-devel, markusscully+kde |
Priority: | NOR | ||
Version First Reported In: | 22.04.1 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Alex
2022-06-23 15:31:24 UTC
This is in my opinion intentional. >When KDE is configured to use a single click, the file is only opened after releasing the mouse button. Drag and drop requires that a file or folder isn't activated directly on the first click, so this is the only thing that makes sense. >When I configure KDE such that files are opened on double click, >a file is opened before I release the mouse button after the second click, >even when I am still holding it down. For the second click in a double-click there is no good reason to not activate immediately when pressing. The only reason would be that we assume that a user clicked the second time by accident and tries to not open the folder by moving the mouse while keeping the mouse button pressed down. However, this is somewhat unlikely, and there is also not much harm done by activating an item. Therefore it is better to act immediately when a user presses the second time. It makes Dolphin usage smoother and faster overall. I'll mark this bug report as resolved intentional for the above reason. If you think that I ignored an important aspect on why activating on release would be better, please let me know. The bug is a bit older, but I think it was actually that:
> For the second click in a double-click there is no good reason to not activate immediately when pressing. The only reason would be that we assume that a user clicked the second time by accident and tries to not open the folder by moving the mouse while keeping the mouse button pressed down. However, this is somewhat unlikely, and there is also not much harm done by activating an item.
Because that is the only way to undo the double-click, and I think other desktops do it as well. It may also have been an issue about focus/where the click goes when the application pops up while the cursor is still interacting with the previous window.
>Because that is the only way to undo the double-click I mean, one also sort of "undoes the double-click" by closing the window that opens after clicking a file or by navigating "Back" after opening a folder. I think that is acceptable. >an issue about focus/where the click goes when the application pops up >while the cursor is still interacting with the previous window. I could see this being an issue for single-click. For double-click not so much because (aside from file managers) there are hardly any applications that require double-click for anything. |