Flow-Launcher / Flow.Launcher

:mag: Quick file search & app launcher for Windows with community-made plugins
https://flowlauncher.com
MIT License
7.53k stars 297 forks source link

BUG: Program plugin loads only UWP apps #2626

Open vasekbrychta opened 4 months ago

vasekbrychta commented 4 months ago

Checks

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

deefrawley commented 4 months ago

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?

vasekbrychta commented 4 months ago

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

vasekbrychta commented 4 months ago

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.

taooceros commented 4 months ago

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

taooceros commented 4 months ago

Probably we should have better error handling.

VictoriousRaptor commented 4 months ago

Should have been fixed by #2625.

taooceros commented 4 months ago

Should have been fixed by #2625.

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

VictoriousRaptor commented 4 months ago

Should have been fixed by #2625.

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

Sorry, I didn't see that.

github-actions[bot] commented 2 months ago

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] commented 2 months ago

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] commented 2 weeks ago

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