Files
Files copied to clipboard
Bug: Can't open items when search is started from Columns View
Description
I've encountered an issue where, when I start a search for an item, once the search is complete, I am unable to open any of the items.
Steps To Reproduce
- Set folder location to use Columns View
- Initiate a search
- The results will be displayed using the Details View (as expected) but double clicking an item won't do anything
Requirements
Investigate and fix any issues preventing the opening of search results.
Files Version
5.5.25.0
Windows Version
22H2 22621.1992
Log File
Identify the cause of the layout switch during searches
The layout change is intentional for search results, as for opening items, this looks like a bug.
The layout change is intentional for search results, as for opening items, this looks like a bug.
I also thought it must have been intentional. I'm going to remove it.
Is this still an issue with #13307?
Sorry for the delayed response. This is still an issue on my end.
@Lukiluc29 I'm having trouble reproducing this one, can you share a screen recording?
I just ran some tests on my side, but it turns out it's when I initiate a search while in column mode.
Does this affect files and folders?
Does this affect files and folders?
No, it doesn't affect anything; it's just that there's no option to open a file from the search.
What about folders?
I wanted to write elements
Related to #14058
Hello @yaira2, i'm trying to figure out what is the source of this problem and found out that the CommandManager.ActionCommand.IsExecutable is set to False. In other cases where the bug doesn't happen, it's set to True, letting the code open the element (file/folder). Could you give me some guidance as to find out why it's set to False? Also it's set to false for every single element. When is CommandManager created/updated?
IsExecutable
is set by each action separately.
Related to #14058
It's the same problem