You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i3 does not correctly set _NET_DESKTOP_NAMES, _NET_NUMBER_OF_DESKTOPS and _NET_WM_DESKTOP atoms if the last window of the inactive workspace is closed. Here are the steps to reproduce the error:
Go to the empty workspace #1 and open a terminal on it.
Do the same thing with the empty workspace #3.
Then go to the empty workspace #2 and open a terminal again. Type in it: sleep 5; exit
Switch to the workspace #1 and wait until the workspace #2 disappears from the status line.
Now switch to the workspace #3 and do xprop | grep _NET_WM_DESKTOP with the terminal window #3 itself. It will log 2, while we are in the second existent workspace (value 1 is expected in this case).
I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)
Thanks for reporting! The fix should be pretty simple, we just have to call the corresponding ewmh_update_* functions in some place we missed so far, apparently (for anyone reading who wants to take a shot here – it's a good bug to get started with!)
@op8867555's commit fixed the issue partly, but when I have a sticky floating window opened, the issue persists.
Im using i3 version 4.16.1-169-g60a6d149, for reference.
i3 does not correctly set
_NET_DESKTOP_NAMES
,_NET_NUMBER_OF_DESKTOPS
and_NET_WM_DESKTOP
atoms if the last window of the inactive workspace is closed. Here are the steps to reproduce the error:#1
and open a terminal on it.#3
.#2
and open a terminal again. Type in it:sleep 5; exit
#1
and wait until the workspace#2
disappears from the status line.#1
and#3
. Expected values are:#3
and doxprop | grep _NET_WM_DESKTOP
with the terminal window#3
itself. It will log2
, while we are in the second existent workspace (value1
is expected in this case).Output of
i3 --moreversion 2>&- || i3 --version
:The text was updated successfully, but these errors were encountered: