fthx / dock-from-dash

GNU General Public License v3.0
97 stars 20 forks source link

Existing shown icons sometimes suddenly disappear / stop showing #97

Closed nekohayo closed 5 months ago

nekohayo commented 8 months ago

Sometimes, existing favorited and "already launched" applications' icons disappear, but their slot and dots remain, and they are still interactive. When launching a new non-favorited application in that state, its icon appears normally, as you can see in that screenshot with the Kooha and GNOME Settings icons appearing:

Screenshot from 2024-03-09 11-43-43

I am unsure when and how this happens (I'm not even suspending/resuming my computer or reloading the extension, or doing particular actions), it just randomly happens "sometimes" after a while, with GNOME Shell 45.4 running on Wayland on Fedora 39.

In addition to the regular invalid work ID errors seen in #93 in journalctl, in this specific case it seems there also are some slightly different, more detailed errors:

gnome-shell[3339]: Invalid work id 22: Error: Invalid work id 22

Stack trace:
  queueDeferredWork@resource:///org/gnome/shell/ui/main.js:985:18
  _queueRedisplay@resource:///org/gnome/shell/ui/dash.js:489:14
  _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
  _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
  _onFavsChanged@resource:///org/gnome/shell/ui/appFavorites.js:87:14
  createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:730:46
  _addFavorite@resource:///org/gnome/shell/ui/appFavorites.js:157:25
  addFavoriteAtPos@resource:///org/gnome/shell/ui/appFavorites.js:162:19
  addFavorite@resource:///org/gnome/shell/ui/appFavorites.js:175:14
  AppMenu/this._toggleFavoriteItem<@resource:///org/gnome/shell/ui/appMenu.js:81:36
  addAction/<@resource:///org/gnome/shell/ui/popupMenu.js:569:21
  activate@resource:///org/gnome/shell/ui/popupMenu.js:194:14
  _init/<@resource:///org/gnome/shell/ui/popupMenu.js:111:24
  @resource:///org/gnome/shell/ui/init.js:21:20
nekohayo commented 8 months ago

Also, when this happens: if you press the Super key, the icons in the Overview's dash are fine; it's just this extension's icons that disappear.

Turning the extension Off and On again™ works around the issue.

fthx commented 8 months ago

Hi, I never experienced this. I've no idea what's happening here.