mate-desktop / mate-notification-daemon

Daemon to display passive pop-up notifications
https://mate-desktop.org
GNU General Public License v2.0
30 stars 26 forks source link

Daemon needs to be decouple from mate-screensaver for wayland session #216

Closed raveit65 closed 11 months ago

raveit65 commented 1 year ago

Expected behaviour

No dbus call from m-n-d to mate-screensaver after suspend-to-ram/disk when running in wayland compositor.

Actual behaviour

Aug 20 20:23:29 mother.mother.loc dbus-daemon[85005]: [session uid=1004 pid=85003] Activating service name='org.mate.ScreenSaver' requested by ':1.2' (uid=1004 pid=85036 comm="/usr/libexec/mate-notification-daemon")
Aug 20 20:23:29 mother.mother.loc mate-screensave[85962]: gdk_x11_window_get_xid: assertion 'GDK_IS_X11_WINDOW (window)' failed
Aug 20 20:23:29 mother.mother.loc systemd-coredump[85969]: [🡕] Process 85962 (mate-screensave) of user 1004 dumped core.

Backtrace of mate-screensaver isn't important because it's clear that it doesn't run under wayland.

Steps to reproduce the behaviour

  1. log activities in terminal with journalctl --user -b0 -f --no-tail (b0=current boot, -f = follow journal, --no-tail =show full log)
  2. suspend/hibernate wayfire/wayland session with wlogout
  3. after suspend you will find coredump in journal

MATE general version

master 1.27

Package version

master 1.27

Linux Distribution

Fedora or any other

Link to bugreport of your Distribution (requirement)

wayland ready packages are not released

raveit65 commented 11 months ago

https://github.com/mate-desktop/mate-notification-daemon/pull/217 is merged.