-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
don't use d-bus activation #53
Conversation
in addition, we need to remove the exit-on-idle thing... |
How the behavior is changed after this (in both MATE and other desktop environments)? |
If you apply both patch (https://github.com/rezso/mate-notification-daemon/commit/ee632d85217591611143088d94cf032e3079c016 and https://github.com/rezso/mate-notification-daemon/commit/9dd47e22f8e40afaa076662ec257810ba50ed0e7) it works as expected in mate session, but doesn't starts in other desktop environments. |
Just to remind past discussions about this |
I don't saw the past discussion, but this means, that this is an old problem, so I think we need a proper solution to prevent conflicts between different daemons... |
Yes, its an old problem which the specs haven't taken into account (until recently, e.g. the MIME Apps spec). #10 is the proper solution to this problem. |
In the past i saw some crashes of m-n-d which happend in other DEs at redhat bugzilla. |
I'm not sure that it's meant to fix any crashes... |
But it fix crashes if m-n-d starts in the wrong desktop enviroment |
In a VM with mate and gnome-flashback installed.
I'm really tired about that m-n-d starts in other desktops. PS: same happens in xfce session |
After testing this a bit i'm not shure anymore if this is progress.
|
Weird. Never crashed for me. |
@NiceandGently: does it crash only after applying this PR? |
I mostly tested it with gtk3 on my main box, and a bit in gtk2 VM. |
Yes, that's an interesting question - should we bother to change the behavior of our notification daemon when there are other ones which didn't do the same yet? |
For reference: No comments 😄 |
Imo, a better solution is to go the way how gnome or kde implement their notifications to be independent from freedesktop notification-daemon. |
Well, libmatenotify is just an old fork of libnotify... what would it give us? Anyway, even if we change it one way or another, there's still a question... Imagine that user installs some other notification daemon which is dbus-activated. Now which daemon will receive the command to display notification? 😄 |
@monsta : „https://bugzilla.xfce.org/show_bug.cgi?id=7950 - wontfix” |
We can add m-n-d to required-components, same we did for docks with 1.11. |
I have been suffering because of this for ages now. Skype locks up, cause no notification daemon is running. nm-applet (NetworkManager) locks up, cause there is no notification daemon running. Etc. I finally found the cause, and I'm utterly disappointed that it hasn't been fixed yet. I cant even fix it manually by starting the mate-notification-daemon on login, cause it exits after some idle time. Ha ha, this must be some kind of joke. Yes, I have two desktop environments installed (MATE and kde-plasma) but that shouldn't result in a pain in the butt. I'm mentioning that cause the kde-plasma's /usr/share/dbus-1/services/org.kde.plasma.Notifications.service apparently prevents mate-notification-daemon from auto-starting. Remove the code for exit on idle, please. Or at least add some kind of command line option to disable it. |
Me too, we have MATE, Plasma and Xmonad installed so our users can choose. |
Just got bitten by this again. Seems to be somewhat random which notify-impl is selected. |
Issue keeps on biting in 2021 as well... trying out wayland with sway and mako, going back to MATE and notification daemon does not work. |
if I have mate and xfce, both mate-notification-daemon and xfce4-notifyd works, because both starts via d-bus.
based on
https://git.gnome.org/browse/notification-daemon/commit/?id=1ad20d22098bc7718614a8a87744a2c22d5438d0
https://git.gnome.org/browse/notification-daemon/commit/?id=e05ae7cdc663ce2ea635c11fe78e9c07d2e1c9af
https://git.gnome.org/browse/notification-daemon/commit/?id=219b0af927346c0f29f60c79881a847f5351a6e6
https://git.gnome.org/browse/notification-daemon/commit/?id=fee6ff0cf33ce5bd4c0ac0280cf9dfffcec4b94b