Summary
The global shortcut currently opens/focuses the full PopOut dashboard, while a left-click on the tray icon toggles the dedicated tray flyout. It would be more consistent for the shortcut to perform the same action as the tray-icon left-click.
Current behavior
In apps/desktop-tauri/src-tauri/src/shortcut_bridge.rs, the shortcut handler calls:
shell::reopen_to_target(
app,
crate::surface::SurfaceMode::PopOut,
crate::surface_target::SurfaceTarget::Dashboard,
None,
)
This opens the main PopOut window.
Expected behavior
Pressing the configured global shortcut should toggle the dedicated tray flyout using the same path as the tray-icon left-click:
shell::flyout_window::toggle_with_blur_consume(app, None);
That would provide the following behavior:
- First press opens the tray flyout.
- Second press closes it.
- Positioning and blur-dismiss behavior stay consistent with tray-icon interaction.
- The full window remains available from Show Window.
Affected areas
- Global shortcut
- Tray flyout
- Startup/background behavior
Suggested validation
- Configure a global shortcut in Settings.
- Press it while the flyout is closed; verify the tray flyout opens.
- Press it again; verify the flyout closes.
- Verify tray-icon left-click still behaves identically.
- Verify click-outside dismissal and the Show Window menu action are unchanged.
Tested/reproduced conceptually against the current main implementation and Win-CodexBar v0.42.0 on Windows.
Summary
The global shortcut currently opens/focuses the full PopOut dashboard, while a left-click on the tray icon toggles the dedicated tray flyout. It would be more consistent for the shortcut to perform the same action as the tray-icon left-click.
Current behavior
In
apps/desktop-tauri/src-tauri/src/shortcut_bridge.rs, the shortcut handler calls:This opens the main PopOut window.
Expected behavior
Pressing the configured global shortcut should toggle the dedicated tray flyout using the same path as the tray-icon left-click:
That would provide the following behavior:
Affected areas
Suggested validation
Tested/reproduced conceptually against the current
mainimplementation and Win-CodexBar v0.42.0 on Windows.