Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined conceal behavior of notification pop-up #16

Open
ghost opened this issue May 16, 2018 · 3 comments
Open

Undefined conceal behavior of notification pop-up #16

ghost opened this issue May 16, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented May 16, 2018

Issue: Whenever a command completes in my terminal, a notification is popped-up which sometimes conceals after five seconds or I have to manually click on the 'cross' icon. This behavior is undefined for a specific notification.

Expected Output: The notification pop-up should be concealed after five seconds everytime.

@kaustubhhiware
Copy link
Owner

This really depends on what notification module / package you're using.

  • What's the package for notifications in your case? How do I recreate this error?
  • Could you tell if notify-send "hi"'s popup disappears after 5 seconds?

@ghost
Copy link
Author

ghost commented May 16, 2018

  1. I'm using notify-send 0.7.7
    I don't know how to recreate it but it is impossible for me to have the exact thing twice. As if I'm compiling my code that takes say 5 minutes, and when the task completes the notification pops-up and it remains there. But the next time I compile the same code, the pop-up window after the execution will come and go or will be there - can't say.
    Same if I'm done with editing a file with vim or any other command that takes a second to a few minutes to execute.

  2. Yes notify-send "hi" disappears after 5 seconds. But in the case of notifyre, it is different. I think anyone who uses it on daily basis would experience it somewhere.

@kaustubhhiware
Copy link
Owner

Thanks for informing this. However, I don't see anything actionable that might fix this.
If you have a look at this line in notifyre.sh, you'll see notify-send is being used only, no other library.

Some of the possible causes I can identify is:
i) the timer variable could be causing issue, but that usually causes the notification to popup a bit later, not make the notification persist.
ii) A sound is played to indicate the execution completion of a command. Could it be that the root partition access is taking longer in your case? This could be due to some issues in your hard disk. To investigate this, you could just comment out the sound paplay line, and let me know if the issue persists.

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

No branches or pull requests

1 participant