-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double clicking on empty area executes last item #3722
Comments
Yes makes sense to prevent execute of last element BY ACCIDENT of an inexperienced user. |
|
The patch--
|
Thanks mooffie, can you test next patch? |
|
Have you considered idea #3 in my previous comment?
Some day we'll support drag & drop and then what? Will we duplicate these calculations for the 3rd time?
While MSG_MOUSE_DRAG also needs to know when the mouse cursor it outside the files, perhaps we can still share the code in a way that isn't inelegant. |
Honestly I was focused on MSG_MOUSE_CLICK bug fixing because I can reproduce egmonts findings about "Double clicking".
I don't want touch MSG_MOUSE_DRAG (and maybe break it) by fixing "double clicking" here. |
Branch: 3722_double_click_on_empty |
|
|
|
|
Important
This issue was migrated from Trac:
egmont
(@egmontkob)Forking from #3715:
Go to a directory which has fewer entries than the height of the panel widget.
Double click on the empty area at the bottom.
Actual behavior: The last item is executed (if executable) or entered (if directory or archive).
Expected behavior: Nothing (other than the last item getting selected on the first click).
Unexpected execution of a binary can potentially be quite dangerous, and it's sure unexpected to execute it if you double clicked somewhere else.
(Similary I'm wondering whether the leftmost and rightmost columns (the borders which aren't highlighted) should be excluded as well.)
Note
Original attachments:
and
onDec 6, 2016 at 23:12 UTC
and
onDec 7, 2016 at 12:47 UTC
The text was updated successfully, but these errors were encountered: