pop-os / cosmic-applets

WIP applets for cosmic-panel
GNU General Public License v3.0
207 stars 76 forks source link

[App List] Feature request: allow only showing open windows from the current workspace #339

Open jacobgkau opened 5 months ago

jacobgkau commented 5 months ago

See https://github.com/pop-os/desktop-widget/pull/105. This feature (or at least its GUI toggle) has been intentionally held back from Pop!_OS 22.04 and is not required for the 24.04 release, but I'm again fighting the dock not having it, so I wanted to file it as a request for later.

Windows, KDE Plasma, and the GNOME Dash to Dock extension all allow only showing running apps/open windows that are in the current workspace (this is the default behavior in Windows and KDE Plasma). This makes workspaces more useful by not requiring the user to sift through open windows from other workspaces when working on a project in a single workspace.

ryanabx commented 5 months ago

This functionality sounds fine to me, with the stipulation that it isn't the default behavior of the app-list. I do think this could be a useful config option for whenever applet configurations become a thing.

git-f0x commented 5 months ago

One question, since I don't have 2 displays to test: is the App List currently per output (i.e. active applications aren't shared between displays)? That should probably be the default behavior (if it isn't already), since it would be weird clicking an app on one monitor, and it focuses an app on another.

leviport commented 5 months ago

Since it would be showing open windows from the current workspace, I'd imagine that that would depend whether workspaces are set to span displays, or workspaces are set per-display. Making it match that paradigm seems natural to me.

wash2 commented 4 months ago

There is actually an existing config option for filtering the active windows to be only from the current workspace, or the configured output for the applet, but I haven't gotten around to implementing it. I'll try to implement it soon :)