-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fix: Fixed an issue where checkbox settings weren't applied in the grid layout #12229
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hides checkboxes even when the checkbox option is on and the item is hovered over. The behavior should not change when the option is on.
@yaira2 do you think checkboxes should not be displayed at all when the option is off? If so, the same modification should be made to the details layout.
In not grid layout mode when you turn off the "see checkboxes" settings you don't see the checkbox at all so I suggest the same applying for grid layout otherwise it can be a bit confusing. I can see hovering in an item is not displaying the checkboxes when the settings are on that's because I removed the mouse pointer that is also something you don't see in the not grid layout but I guess is something nice to have so I gonna add it back |
In the detail layout, a checkbox appears when you hover over a thumbnail. Originally, the checkbox would appear when the cursor was hovered anywhere on the item, but this behavior was changed to the current one in response to user feedback that the thumbnail was frequently hidden. |
I see I can make the same modifications on details as well so it only show the boxes when the settings to show check-boxes is set and then rename the setting to "show checkboxes" ? and when the setting is ON stick with checkbox is always displayed when an item is selected this seems like a good approach the best approach in my opinion would be in the details layout having the checkbox on the left side of the thumbnail instead of on top of it so the thumbnail doesn't appear hidden when an item is selected it seems that the current option is only useful for detail layout edited: The best approach would fix the first issue that the thumbnail was frequently hidden and the fact that currently you have to hover over the thumbnail to see the checkbox |
I made some modifications so I could show an example of my previous reply "the best approach method" in my opinion. Here checkboxes are displayed on the left side next to icons instead of on top of icons like the current version is. If this example is approved I would be happy to continue my work and push a new commit |
@hishitetsu the expected behavior is to still show the checkboxes if the user hovers directly over the checkbox area. The details layout has the correct behavior already, this PR should help the grid layouts have the same behavior. |
Okay, so this PR is trying to do something different. In the details layout, there are thumbnails as markers for the location of checkboxes, but in the grid layout, there are no markers. If checkboxes are displayed only when the cursor is over the checkbox area, I think users will not know where the checkboxes are. |
Exactly it is confusing when I first used the app I had no idea that in the details layout check boxes are displayed only when the cursor is over the thumbnail/icon I only found out that when explicit explained which makes me believe that the majority of people won't know that either now for grid layout to have the same behavior it has to have a marker / a checkbox area somewhere. Initially the completely disabling checkboxes when the option is off comes from the issue #12209 Can't hide check box in the folder settings. |
I'm not against this idea but I'm with @hishitetsu that we need to apply the same behavior to the details layout. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use XamlStyler? We are currently using a xaml styling extension named XamlStyler and we cannot approve until the annotations aren't fixed.
Depends on your visual studio version.
XamlStyler for 2019
XamlStyler for 2022
Thanks I will do that |
@Krytan thanks! This is what I was looking for 👍 If we get feedback that it's still confusing users, we can hide the checkbox on hover as well but it's a good idea to take changes slowly and gather feedback before making the next one. |
@Krytan can you apply these changes to the tiles layout as well? |
@yaira2 Tiles should behave the same as well now. I absolutely agree on the idea of taking changes slowly and gathering feedback before making a step. let me know if everything works as intended |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Will merge once the changes to the launcher are reverted.
Should be good now |
Co-authored-by: Yair <[email protected]>
@Krytan thank you, congratulations on your first pull request! |
@yaira2 I have to thank you! going deep on the project and understanding how the code works really was a pleasure experience I can't describe the emotions involved and to be abbe to contribute at the end man I just wanna do more of this! |
This change resolves #12181
Validation
How did you test these changes?