kylecorry31 / gnome-shell-extension-do-not-disturb

Enable or disable do not disturb mode on Pop!_OS
MIT License
17 stars 5 forks source link

dot next to date: false positive #21

Closed jorp closed 5 years ago

jorp commented 5 years ago

It seems that almost randomly, the dot is appearing/disappearing at 5-15 minute intervals. When the dot does appear, it disappears almost immediately. I've clicked the clock to view notifications a few times, but have never noticed a notification appearing/disappearing that would trigger this behavior.

I've also turned off do not disturb mode (while the extension was still enabled), and there were no notifications being received that were maybe only appearing briefly.

On Fedora 29, GNOME 3.30.1

kylecorry31 commented 5 years ago

Hello,

What are your settings for Do Not Disturb? Do you have the "show indicator dot" enabled?

The extension does not control the showing of the indicator dot (it will hide it if the show indicator dot is disabled though), that is a build in feature in GNOME.

Could you also post a log so I can see if there are any errors from the extension? (journalctl -f | grep kylecorry31)

jorp commented 5 years ago

Not sure if this is related, but I've found this:

Nov 12 09:13:22 localhost journal[2998]: gsignal.c:2641: instance '0x563905eb00e0' has no handler with id '6765'
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x56390ab49260 StBoxLayout ("Do not disturb")] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x563909f57c10 StBoxLayout.popup-menu-item do-not-disturb:last-child first-child ("Do not disturb")] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x56390ab49260 StBoxLayout ("Do not disturb")] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x563909f57c10 StBoxLayout.popup-menu-item do-not-disturb:last-child first-child ("Do not disturb")] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x56390a146860 StBin:first-child] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x56390ab49260 StBoxLayout ("Do not disturb")] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x563909f57c10 StBoxLayout.popup-menu-item do-not-disturb:last-child first-child ("Do not disturb")] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x56390a146860 StBin:first-child] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x563909225860 StBin.toggle-switch toggle-switch-us:last-child first-child] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x56390ab49260 StBoxLayout ("Do not disturb")] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x563909f57c10 StBoxLayout.popup-menu-item do-not-disturb:last-child first-child ("Do not disturb")] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: st_widget_get_theme_node called on the widget [0x56390a47a470 StLabel:last-child ("Do not disturb")] which is not in the stage.
Nov 12 09:13:22 localhost journal[2998]: clutter_actor_remove_child: assertion 'child->priv->parent != NULL' failed
jorp commented 5 years ago

Along with this while trying to open the preferences for do not disturb in gnome-tweaks:

ImportError: No JS module 'util' found in search path

Stack trace:
  @/home/xxx/.local/share/gnome-shell/extensions/donotdisturb@kylecorry31.github.io/settings.js:5:7
  @/home/xxx/.local/share/gnome-shell/extensions/donotdisturb@kylecorry31.github.io/prefs.js:8:7
  _getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:67:13
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:82:31
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:235:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:389:5
  @<main>:1:43 
kylecorry31 commented 5 years ago

I am unable to replicate this issue - I fixed the issue with util and gnome-tweaks (should roll out in a few days on the extension store).

Are you still having this problem?