-
Notifications
You must be signed in to change notification settings - Fork 341
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
do not display notifications when screensaver/lock is on or when app is in full screen mode #553
Comments
oh, just found the closed issues about this. do you know if the state querying with |
could you give us please some more information? like some related issues, or some more details about the bad behavior. |
ah yeah, sorry about that. #77 (comment) says that xscreensaver does not use X11 extensions for setting the screensaver state. i was wondering if i3lock does that and whether dunst respects that. |
Well, #77 is so old, I wouldn't bother to read it 😉 Do you experience problems? Because usually these type of problems are solved in i3lock. |
yeah, when i3lock is on, dunst still shows notifications over it. |
Tell me more. Which i3lock version? Reproducible behavior? desktop i3wm? |
@gnowxilef Can you try building from master? dffe1e1 is an attempt to improve the situation but hasn't been in a release yet. |
sure, i can do both. i3lock version: |
@gnowxilef And does building dunst from master and running it help you, like @tsipinakis said? git clone https://github.com/dunst-project/dunst.git
cd dunst
make all test
killall dunst
./dunst |
the latest master seems to fix the issue for fullscreen mode, but still displays over |
Sorry, I can't reproduce it. I've tested it in my Ubuntu 18.04 VM, installed i3, i3lock and dunst. The notification does flicker shortly. But i3lock takes control (it probably receives an The whole thing happens in less than 50ms. I can't reproduce it. Could you please deliver a reproducer? Otherwise, I can't help you. |
what do you mean by "deliver a reproducer"? what do you want specifically? |
I just need some kind of information how I can reliably reproduce it on my system. |
It seems that i3lock doesn't redraw on top of the notifications if a composition manager like compton is active (at least in glx mode, I did not try xrender). I never noticed that since I pause dunst notifications with SIGUSR1/2. My steps were: Start an i3 session, start compton, start i3lock, sleep a bit and send a notification. |
@progandy Yeah, I can reproduce it now! Thank you very much! The question is now: Is it dunst's or i3lock's issue? |
ah yes, i use compton as well. |
That is probably i3lock. For some reason it doesn't raise itself if a compositor is enabled. Try this:
|
Well, I think i3/i3lock#130 is quite related. Interestingly, they claim to have it fixed in 2.10. |
The readme and code from xsecurelock make for intersting reading. To hide notifications with a compositor, i3lock probably needs proper compositing support and not that half-baked thing that was reverted. |
Is the fullscreen behaviour configurable though? While I agree it makes sense to hide notifications when |
@WhyNotHugo The fullscreen behavior is something completely different. But it's implemented in #472 and on current master. Search for |
@bebehei Thanks for the clarification! |
So guys, can somebody please go on and upstream this to the correct repository? |
As far as I can see, i3lock will just close the issue unless you come with a complete fix in a pull request. |
Well, I've upstreamed it now with fairly easy reproduction instructions. I'm going to close this. We can't fix it in this repo. |
This issue is fixed by enabling |
So far it works, thanks! Does this have any side effects? I'm not sure I get the docstring for the option: Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows. Known to cause flickering when redirecting/unredirecting windows, and the last sentence sounds a bit concerning. Thanks! |
@deescuderoo as far as I have seen, it does not have any side effects apart from losing out on the transitions for lock/unlock. The flickering issue happens only on certain older versions of NVIDIA drivers, and shouldn't be an issue for most users. |
this might be expected behavior (or possibly configurable?), but it would be great to support this
Installation info
Dunst - A customizable and lightweight notification-daemon 1.3.0 (2018-01-05)
package
ubuntu 18.04.1 LTS
The text was updated successfully, but these errors were encountered: