Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

BUG: Program plugin loads only UWP apps

Open vasekbrychta opened this issue 1 year ago • 12 comments

Checks

  • [X] I have checked that this issue has not already been reported.

  • [X] I am using the latest version of Flow Launcher.

Problem Description

In Program plugin I have all index sources and all default file types enabled, I've added two custom directories, but the plugin indexes only UWP apps. It's not possible for me to get other apps there - I've tried reindexing multiple times and running Flow under Administrator. There is no error in logs.

To Reproduce

  1. Install Program plugin
  2. Enable "UWP Apps", "Start Menu", "Registry", "PATH"
  3. Enable "appref-ms", "exe", "lnk" in File Type dialog
  4. Reindex
  5. Try searching for any standard application (non-UWP App) -> no result

Screenshots

2024-04-01_00-36-10 2024-04-01_00-54-54

Flow Launcher Version

1.17.2

Windows Build Number

10.0.19045.4170

Error Log

2024-04-01.txt

vasekbrychta avatar Mar 31 '24 23:03 vasekbrychta

What is the "mount" and "bin" at the top of the screensht list? Those don't look like UWP apps?? If you remove UWP apps does anything get indexed?

deefrawley avatar Mar 31 '24 23:03 deefrawley

Those are directories I added manually (hoping the plugin will index their content). When I remove UWP apps nothing shows up.

vasekbrychta avatar Mar 31 '24 23:03 vasekbrychta

Oh, when I remove the "mount" manual entry, it indexes regular apps again!

I was fiddling with the directory and I might have found the problematic case: There is a mounted disk to "C:/mount/disk" path and the disk is BitLocker protected. When I reindex with the disk unlocked everything works correctly. But when the disk is locked when reindexing, no app is actually indexed as though the whole process was interrupted.

vasekbrychta avatar Apr 01 '24 00:04 vasekbrychta

I guess the error thrown stopped the indexing, which makes it return an empty result.

taooceros avatar Apr 01 '24 07:04 taooceros

Probably we should have better error handling.

taooceros avatar Apr 01 '24 07:04 taooceros

Should have been fixed by #2625.

VictoriousRaptor avatar Apr 01 '24 07:04 VictoriousRaptor

Should have been fixed by #2625.

I believe it is a different issue as he has tried reindex.

taooceros avatar Apr 01 '24 08:04 taooceros

Should have been fixed by #2625.

I believe it is a different issue as he has tried reindex.

Sorry, I didn't see that.

VictoriousRaptor avatar Apr 01 '24 11:04 VictoriousRaptor

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

github-actions[bot] avatar Jun 01 '24 01:06 github-actions[bot]

This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.

github-actions[bot] avatar Jun 09 '24 01:06 github-actions[bot]

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

github-actions[bot] avatar Aug 09 '24 01:08 github-actions[bot]