Flow-Launcher / Flow.Launcher

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

Search window won't show if hotkey pressed during startup #2854

Open 1208nn opened 1 month ago

1208nn commented 1 month ago

Checks

Problem Description

UI not show and won't show if flow is being started and not finished started and at this process i pressed alt+space.

in task manager, you can see flow's search window is active but you can't see the window.

this happens when i was using wox, too.

this specially happens on slow devices.

To Reproduce

just start flow and immediately press your flow hotkey

Screenshots

No response

Flow Launcher Version

all (at now)

Windows Build Number

at least from 10.1803 to 10.23H2

Error Log

no related

deefrawley commented 1 month ago

Hi. What are the specs of your device? Can you please post the logs so we can see how long sartup is taking?

1208nn commented 1 month ago

Some of my out-dated devices always happens.

My other devices seldom or never happen.

Logs

``` 08:33:02.4182+08:00 - INFO - App.OnStartup - Begin Flow Launcher startup ---------------------------------------------------- 08:33:02.4273+08:00 - INFO - App.OnStartup - Runtime info: Flow Launcher version: 1.18.0 OS Version: 19045.4713 IntPtr Length: 8 x64: True 08:33:04.6441+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <38ms> 08:33:04.6926+08:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://fastly.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 08:33:04.7468+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <134ms> 08:33:04.7468+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <12ms> 08:33:04.8467+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <288ms> 08:33:04.8555+08:00 - INFO - Flow.Launcher.Plugin.Program.Main - Preload programs cost <38ms> 08:33:04.8555+08:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload win32 programs <213> 08:33:04.8555+08:00 - INFO - Flow.Launcher.Plugin.Program.Main - Number of preload uwps <29> 08:33:04.8555+08:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://gcore.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 08:33:04.8555+08:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://cdn.jsdelivr.net/gh/Flow-Launcher/Flow.Launcher.PluginsManifest@plugin_api_v2/plugins.json 08:33:04.8555+08:00 - INFO - CommunityPluginSource.FetchAsync - Loading plugins from https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json 08:33:04.8848+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <57ms> 08:33:04.8848+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <13ms> 08:33:04.8848+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <90ms> 08:33:04.9689+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <258ms> 08:33:04.9886+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <31ms> 08:33:04.9978+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <113ms> 08:33:05.0168+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <29ms> 08:33:05.0514+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <120ms> 08:33:05.0514+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <13ms> 08:33:05.0514+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <12ms> 08:33:05.0752+08:00 - INFO - ClipboardR.Init - Settings( CacheImages: False KeepText: False KeepTextHours: 0 KeepImage: False KeepImageHours: 0 KeepFile: False KeepFileHours: 0 MaxDataCount: 10000 DbPath: ClipboardR.db OrderBy: 0 ClearKeyword: clear ImageFormat: yyyy-MM-dd-hhmmss-{app} IconColor: #3b82f6 ) 08:33:05.2682+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <648ms> 08:33:05.2682+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <13ms> 08:33:05.2946+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <267ms> 08:33:05.4176+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <170ms> 08:33:05.5191+08:00 - WARN - ClipboardR.RestoreRecordsFromDb - Restore records successfully 08:33:05.5191+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <690ms> 08:33:05.6472+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <254ms> 08:33:05.6965+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <193ms> 08:33:05.7816+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <470ms> 08:33:05.7816+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <34ms> 08:33:05.7901+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <21ms> 08:33:05.7901+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <5ms> 08:33:05.8927+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <212ms> 08:33:05.8927+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <99ms> 08:33:05.8927+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <196ms> 08:33:05.9005+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <8ms> 08:33:05.9005+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <15ms> 08:33:05.9005+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <17ms> 08:33:07.2931+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <2661ms> 08:33:08.4056+08:00 - INFO - PluginManager.InitializePlugins - Total init cost for is <3401ms> 08:33:10.1191+08:00 - INFO - App.OnStartup - Dependencies Info: Python Path: D:\Profile\Programs\Python\Python312\pythonw.exe Node Path: D:\Program Files\nodejs\node.exe ```
VictoriousRaptor commented 1 month ago

I've noticed it on my old laptop too, which always take about 2 minutes for all auto startup programs. I guess maybe it's because we register the hotkey before the app is fully ready?

deefrawley commented 1 month ago

Is this a bug or should we change it to a performance 'enhancement'?

jjw24 commented 1 month ago

Bug for now I suppose.

@1208nn does it make a difference if you just start flow with only the default plugins and none of the plugins from the store?

1208nn commented 1 month ago

Tried. It's only quicker to load.

VictoriousRaptor commented 1 month ago

Is this a bug or should we change it to a performance 'enhancement'?

BUG inherited from Wox I suppose. If you press alt+space during startup it will never show again.