:beetle: Description:
App icon is not removed from a panel when using more than one workspace.
Details:
"notify::state" signal is not being sent because there are opened app windows in other workspaces.
Steps to reproduce:
Open an unpinned app window in the first workspace. For example open a terminal window in the first worskpace.
Switch to the second workspace: Ctrl+Alt+→
Open a terminal window in the second workspace.
Close the terminal window in the second workspace.
Actual result:
Terminal icon remains on a panel in the second workspace.
Expected result:
Terminal icon is removed from a panel in the second workspace.
Solution:
Connect "windows-changed" signal.
A signal handler is called when app window is opened or closed.
Remove app icon from a panel if there is no app window in the workspace.
:beetle: Description: App icon is not removed from a panel when using more than one workspace.
Details: "notify::state" signal is not being sent because there are opened app windows in other workspaces.
Steps to reproduce:
Actual result: Terminal icon remains on a panel in the second workspace.
Expected result: Terminal icon is removed from a panel in the second workspace.
Solution: Connect "windows-changed" signal. A signal handler is called when app window is opened or closed. Remove app icon from a panel if there is no app window in the workspace.