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 issue where you couldn't select files in columns layout #12124
Fix: Fixed issue where you couldn't select files in columns layout #12124
Conversation
@ferrariofilippo can you target the servicing branch? |
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.
It doesn't work well if looping shortcuts.
2023-04-20.124352.mp4
Do you have double click to open? In that case I know that bug (is the one I mentioned in the description) and I'm working on a fix |
"Open items with a single click" is off, "Open folders with a single click in the Columns Layout" is on. |
Ok, I just understand what you meant. I mentioned that in the Notes
|
Everything should be fine now |
if (relativeIndex is -1) | ||
while (relativeIndex < ColumnHost.ActiveBlades.Count && | ||
(!column.NavPathParam?.Equals(GetWorkingDirOfColumnAt(++relativeIndex)) ?? false)) ; |
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 code is confusing and should not be handled only by the conditional clause of the while loop.
Doesn't this cause an infinite loop when NavPathParam
is null
?
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.
I'll change that but it will not cause an infinite loop because of the first condition
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.
Actually, I'm not sure how to make it more readable. Should I use a do-while
?
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.
File selection appears to work fine.
There is still a little weird behavior with folder selection when columns are looping, but it's a different issue and much better than not being able to open files.
I can't reproduce it. Can you tell me more, please? (single or double click to open?) |
Look at this video. 2023-04-21.155207.mp4 |
I can't reproduce it and, looking at the scrollbar on the bottom, it seems to work. |
Sorry, it is an oversight on my part. It works fine. |
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
@ferrariofilippo @hishitetsu thank you for your work on this fix! |
Resolved / Related Issues
Closes Bug: Can't select some files in column view #12090
Description
Notes
C:\Users\username\Desktop\shortcut_to_Users\username\Desktop\something_else
). In this case, if the user clicks an item inDesktop
, should we always close all columns after the firstDesktop
?Validation
How did you test these changes?
Test 1
Open folders with single click in columns view
Test 2
double click to open
Up/Down arrows
to ensure there's no regression from Fix: Fixed issue where column view jumps from left to right #11986Test 3