Closed quintinm-dev closed 3 years ago
Thanks for the feedback and interest! Looking forward to the next release.
Actually, it seems like there is a bug where all workspaces are sometimes shown on system startup. The workaround is to click on the active workspace but I'm looking into it.
The issue is with the workspaces-only-on-primary true
support. Dragging a window from a secondary to the primary monitor seems to add it to all workspaces. The workaround is to switch to any other workspace.
I did not dig into whether this is specific to my system state, but it seems to come from 2 potential issues with Mutter:
1) dragging a window from a secondary monitor to a primary triggers the window-removed event on every workspace.
2) following 1), the dragged window is listed on workspace.list_windows()
for every workspace
Let me know if you don't want to include this option given the bug. Personally I will still be using it as I don't move windows from secondary to primary that often.
The issue is with the
workspaces-only-on-primary true
support. Dragging a window from a secondary to the primary monitor seems to add it to all workspaces. The workaround is to switch to any other workspace. issue.mp4I did not dig into whether this is specific to my system state, but it seems to come from 2 potential issues with Mutter:
1. dragging a window from a secondary monitor to a primary triggers the window-removed event on every workspace. 2. following 1), the dragged window is listed on `workspace.list_windows()` for every workspace
Let me know if you don't want to include this option given the bug. Personally I will still be using it as I don't move windows from secondary to primary that often.
My suggestion would be that we split this PR into two - one for the workspaces-only-on-primary
and the other for the skip-taskbars
option. That way, we can dig into the bug a bit more without delaying the skip-taskbars
feature.
From what you explained, the bug seems solvable with some more time and investigation
Yeah sounds good! Removed the workspaces-only-on-primary
stuff to follow-up on in another PR.
going to run this locally for about a day or so and then I'll upload a new release :)
Hi Michael, thanks for this extension, it's really nice.
Fixes
This should fix issue https://github.com/MichaelAquilina/improved-workspace-indicator/issues/3 re: in-use workspaces with DING. DING creates a window on each monitor with is_skip_taskbar set to true. I am hopeful that this is a general fix for other apps/extensions, but if not, non-standard windows are also identifiable through their
window_type
.It also adds the option to ignore windows outside the non-primary monitor, which is useful if you haveorg.gnome.mutter workspaces-only-on-primary
set to true.Notes
EDIT: picture outdated, bottom option moved to a separate PR