Skip to content
This repository has been archived by the owner on Aug 12, 2018. It is now read-only.

quick and dirty fix for #8 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthewwo
Copy link

Fixed issue by looping the enable function every 1 second. Not a perfect way, but a quick workaround.

@tuxor1337
Copy link
Owner

I don't like that solution. Why is it necessary?

@matthewwo
Copy link
Author

@tuxor1337 as mentioned in #8, insensitive message tray is not always working on some versions of Gnome (3.14 for me). I have to manually disable and re-enabling the extension in tweak tools to make it work again.

I also realize that this solution is not good at all. Would you have any suggestions to fix the issue? Thanks!

@tuxor1337
Copy link
Owner

Can't you do some debugging to determine the moment when the enable function's changes are reverted?

I don't want to set up GNOME 3.14 just for this (currently, I'm on 3.18.3).

@matthewwo
Copy link
Author

Sure @tuxor1337! Thanks for the suggestion. Will do indeed. One quick question, do you know how to log from the extension itself? I've been looking all over the places but they didn't help.

@tuxor1337
Copy link
Owner

You can log with global.log and it might be helpful to include the name of the extension as well as a timestamp into the log:

global.log(Date().substr(16,8) + " [insensitive-message-tray]: " + message);

You can watch the logs with journalctl /usr/bin/gnome-shell -f -o cat.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants