Skip to content

Add workspace-scoped window switcher activation modes#432

Open
erik-balfe wants to merge 5 commits into
pop-os:masterfrom
erik-balfe:feature/workspace-scoped-window-switcher
Open

Add workspace-scoped window switcher activation modes#432
erik-balfe wants to merge 5 commits into
pop-os:masterfrom
erik-balfe:feature/workspace-scoped-window-switcher

Conversation

@erik-balfe

@erik-balfe erik-balfe commented Jun 7, 2026

Copy link
Copy Markdown

Summary

Adds workspace-scoped window switcher activation modes for COSMIC.

  • New CLI/dbus actions: alt-tab-workspace, alt-tab-all (and shift variants)
  • request_search() routes alt-tab through SearchFiltered
  • WindowSwitcher cosmic-config with default_scope: all
  • Fixes Super launcher search / Input dbus activation regressions

Stacked dependency: pop-os/launcher#290. Uses temporary git dep on erik-balfe/launcher#feature/workspace-filtered-window-search for review; switch to pop-os/launcher rev before merge.

Testing

  • alt-tab-workspace / alt-tab-all on multiple workspaces
  • Super launcher search filters when typing

Checklist

  • AI-assisted; reviewed locally with CodeRabbit CLI + manual testing on COSMIC

erik and others added 4 commits June 10, 2026 16:49
Introduce alt-tab-workspace and alt-tab-all CLI/dbus actions that send
SearchFiltered requests with the appropriate WorkspaceFilter. Route
window-switcher searches through request_search so alt-tab mode keeps
using SearchFiltered across startup, fill, and escape handling.

Add WindowSwitcher cosmic-config defaults and ship the default config
file. Path dependencies on pop-launcher are for stacked local review;
switch to a pop-os/launcher git rev before merge once the launcher PR
lands.

Assisted by an AI coding agent; changes were reviewed, tested on COSMIC
with multiple workspaces, and validated with CodeRabbit CLI review.
Parse dbus action names with args so panel Input activation works,
route typed queries through request_search instead of raw Search,
and clear alt_tab when opening the app launcher so filtering uses
desktop entries rather than the window switcher path.
Clamp focused index after result updates, avoid cycling focus when the
workspace filter changes, and do not auto-hide workspace-scoped alt-tab
while waiting for deferred window metadata.

Switch pop-launcher deps to the fork branch for stacked review, log
window switcher config load failures, and reset workspace filter state
on hide.
@erik-balfe erik-balfe force-pushed the feature/workspace-scoped-window-switcher branch from 10de7be to 5037b7f Compare June 10, 2026 10:49
Clear launcher items immediately when issuing a workspace-filtered
alt-tab search so stale windows are not shown while results load.
Trim widget IDs when the result list shrinks. Fix window switcher
config loading for current cosmic-config API.

Assisted by an AI coding agent; changes were reviewed and tested.
@erik-balfe erik-balfe force-pushed the feature/workspace-scoped-window-switcher branch from 5037b7f to 670eaf8 Compare June 10, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant