Files icon indicating copy to clipboard operation
Files copied to clipboard

Bug: Can't open items when search is started from Columns View

Open Lukiluc29 opened this issue 1 year ago • 13 comments

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

  1. Set folder location to use Columns View
  2. Initiate a search
  3. 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

Capture d'écran 2023-09-01 180611 Capture d'écran 2023-09-01 180955

Lukiluc29 avatar Sep 01 '23 16:09 Lukiluc29

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.

yaira2 avatar Sep 01 '23 16:09 yaira2

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.

Lukiluc29 avatar Sep 01 '23 16:09 Lukiluc29

Is this still an issue with #13307?

yaira2 avatar Sep 04 '23 21:09 yaira2

Sorry for the delayed response. This is still an issue on my end. Capture d'écran 2023-09-27 183531

Lukiluc29 avatar Sep 27 '23 16:09 Lukiluc29

@Lukiluc29 I'm having trouble reproducing this one, can you share a screen recording?

yaira2 avatar Sep 27 '23 16:09 yaira2

I just ran some tests on my side, but it turns out it's when I initiate a search while in column mode.

Lukiluc29 avatar Sep 27 '23 16:09 Lukiluc29

Does this affect files and folders?

yaira2 avatar Sep 27 '23 22:09 yaira2

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.

Lukiluc29 avatar Oct 25 '23 18:10 Lukiluc29

What about folders?

yaira2 avatar Oct 25 '23 20:10 yaira2

I wanted to write elements

Lukiluc29 avatar Oct 25 '23 21:10 Lukiluc29

Related to #14058

yaira2 avatar Jan 24 '24 15:01 yaira2

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?

BernardoSousa03 avatar Apr 03 '24 16:04 BernardoSousa03

IsExecutable is set by each action separately.

yaira2 avatar Apr 03 '24 20:04 yaira2

Related to #14058

It's the same problem

Lukiluc29 avatar Sep 06 '24 16:09 Lukiluc29