jaszhix / icingtaskmanager

Window list with app grouping and thumbnails for Cinnamon
https://cinnamon-spices.linuxmint.com/applets/view/269
GNU General Public License v2.0
61 stars 12 forks source link

Opened windows counter misfunctions (counting already closed apps/instances) #205

Closed jayypluss closed 6 years ago

jayypluss commented 6 years ago

Sometimes the opened windows count happens to misfunction, counting windows from apps that are not even opened anymore. For instance, in this case it says 5 instances of Spotify are running, but there aren't any instance actually opened. (I've openend it and closed it a few times tho).

jaszhix commented 6 years ago

Hi Jonathan, I'm having trouble reproducing the last stack trace in your log.

(cinnamon:885): Cjs-WARNING **: 09:08:51.900: JS ERROR: Exception in callback for signal: open-state-changed: TypeError: metaWindowActor is null
_populateMenu@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/specialMenus.js:300:1
_onToggled@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/specialMenus.js:374:5
anonymous/AppMenuButtonRightClickMenu/<@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/specialMenus.js:38:83
_emit@resource:///org/cinnamon/cjs/modules/signals.js:142:27
PopupMenu.prototype.open@/usr/share/cinnamon/js/ui/popupMenu.js:2366:9
anonymous/_onAppButtonRelease/</<@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/appGroup.js:756:13
_closeAllHoverMenus@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/appList.js:78:7
anonymous/AppList/<._closeAllHoverMenus@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/appList.js:23:36
trigger@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/store.js:215:45
anonymous/_onAppButtonRelease/<@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/appGroup.js:755:11
_closeAllRightClickMenus@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/appList.js:90:7
anonymous/AppList/<._closeAllRightClickMenus@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/appList.js:22:41
trigger@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/store.js:215:45
_onAppButtonRelease@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/appGroup.js:754:9
anonymous/AppGroup/<@/home/jonathanfk/.local/share/cinnamon/applets/IcingTaskManager@json/3.8/appGroup.js:185:100

What version of Spotify are you using? (Check in Settings > Scroll to bottom -> About Spotify) I've had to make specific workarounds for Spotify in the past, but think they're removed because I thought I settled on a better solution. I'm currently testing with version 1.0.80.480.g51b03ac3.