-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Clicking to the left of a dropdown checkbox will check the checkbox #55774
Comments
Did you mean clicking "left of the dropdown arrow" instead of "left of the checkbox"? Clicking on the dropdown arrow expands/collapses the tree for me. Clicking on the tree item itself toggles the check. And left of the dropdown arrow is designed to be treated like the item itself I think. But yeah, I think it would be better to only toggle the checkbox when itself is clicked on. |
Yeah, I said "Click to the left of the dropdown arrow". In the title I mean that clicking anywhere to the left of the checkbox should NOT check the checkbox. What makes this especially frustrating is the export menu has everything expanded by default, so when you go to collapse a bunch of directories, it's VERY easy to miss the dropdown arrow and check everything. Wasn't really sure if this should have been a suggestion or bug report, but it feels like a user experience bug. |
It was done like that in #6553 (see their reasoning in there). Note that currently Lines 4730 to 4736 in 85380c5
However, it doesn't really make what its name says as force_edit_checkbox_only_on_checkbox == true only disallows toggling the checkbox by clicking to the right from it (you can still toggle by clicking to the left/above/below):Lines 2507 to 2518 in 85380c5
It's used for example by godot/editor/editor_feature_profile.cpp Line 922 in bdf8340
So in there you can't toggle checkbox by clicking to the right of the checkbox but you can still toggle it by clicking to the left (however currently an invisible collapse/folding arrow can consume mouse event, this should be fixed by #55791): So some things to discuss/consider:
|
Don't know that it needs to be customizable, but I feel like having the current behavior where something visibly to the right of the dropdown can be triggered by clicking to the left of the dropdown feels broken. Bad: OK: So if either the dropdown consumes the click of everything to the left of the checkbox OR the checkbox click area only includes the checkbox and the area to the right of it when in a tree, I feel that would adequately solve this issue. If anybody is wondering, this was my frustrated reaction when it happened: https://clips.twitch.tv/AnimatedEndearingCarrotShadyLulu-JjxECm96YRNYVZOw 😅 |
Godot version
3.4
System information
Windows 10
Issue description
Clicking to the left of a checkbox to drop down (ex: selecting resources to export) can check the checkbox. This was particularly frustrating in my case, because I had a large list of levels I wanted to export and just needed to add one, but I clicked well to the left of the checkbox to avoid accidentally checking it, and ended up checking it anyway, meaning I had to completely redo my list of levels to export.
Steps to reproduce
In a project that has subdirectories, Project -> Export, under the resources tab, select "Export selected resources". Click to the left of the dropdown arrow:
Note that, instead of opening/closing the dropdown, the checkbox will check.
The text was updated successfully, but these errors were encountered: