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

Tomboy "Not responding" when logging-out of Mate Desktop #32

Closed
acrothoi2 opened this issue Dec 19, 2016 · 9 comments
Closed

Tomboy "Not responding" when logging-out of Mate Desktop #32

acrothoi2 opened this issue Dec 19, 2016 · 9 comments

Comments

@acrothoi2
Copy link

acrothoi2 commented Dec 19, 2016

when logging-out of the Mate Desktop, I get the following message:
not-responding

After clicking "Log Out Anyway", it takes several seconds (~30) before I finally get logged-out.

this issue did not exist in Fedora 21 (final updates) with Mate Desktop 1.10.2 and Tomboy 1.15.4
this issue did not exist in Fedora 22 (initial release) with Mate Desktop 1.10.0 and Tomboy 1.15.4

this issue exists in Fedora 22 (initial release) with Tomboy 1.15.4 after running:
dnf update mate*
(list of package updates resulting: http://pastebin.com/cmN907mM)

This issue still exists with Tomboy 1.15.6 in Fedora 24 with Mate Desktop 1.16.1

@alex-ter
Copy link
Member

That Tomboy 1.15.6 on Fedora 24, is it self-compiled? Do you by chance have config.log from the compilation?

@acrothoi2
Copy link
Author

acrothoi2 commented Dec 19, 2016

i didn't compile it; "thm" compiled the package for the fedora repos.

does this provide the information you need? (build.log, maybe?):
https://koji.fedoraproject.org/koji/buildinfo?buildID=824760

It looks like "thm" is Thomas Moschny (his e-mail is listed at the above link, so you may be able to get further information from him, if need be).

@alex-ter
Copy link
Member

Oh, I see, yes, that's good enough, thanks

@j-4
Copy link
Member

j-4 commented Dec 22, 2016

Same is true on my Gnome, Fedora 24 setup. When trying to logout, gnome waits for tomboy to quit, which can take forever. Sometimes there is a notification, if you want to kill tomboy. If i close tomboy first (and therefore remove it from the notification area) and then log out, its really fast.

@alex-ter
Copy link
Member

Thanks folks, I'm going to look into this in the next several days' timeframe. It's very nice to see that the latest version made it into a distro that fast, so I'm keen on helping the momentum

@alex-ter
Copy link
Member

So the immediate reason for this behavior is that Tomboy, while being a registered DBus client (for the Remote Control functionality), does not implement the QueryEndSession DBus signal handler, which apparently was not a requirement by gnome-/mate-session-manager previously.

I'm not that much into DBus yet,so it would take me some time to get through the documents, but I think I at least have all the necessary information available and we know the reason at least 😄

@alex-ter
Copy link
Member

alex-ter commented Dec 26, 2016

Correction - actually the necessary callback implementations are there, but apparently not being called properly, even though at the first glance they are still ok. Looking further into this, stay tuned.

@alex-ter
Copy link
Member

At the end of the day it turned out the Tomboy itself is okay - we are implementing necessary signal handlers for quite a while. It's the dbus-sharp package in Fedora, which was not updated in ages (version 0.7.0) and has a certain bug, which was fixed later than that and which causes the signals not to be propagated to the application.

Specific commits are:

  1. mono/dbus-sharp@608328b
  2. mono/dbus-sharp@76f43e6

I've submitted a bug for that package in RedHat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1408969 and that's I'm afraid all I can help with here as it's outside of Tomboy.

Debian and Ubuntu, for instance, have backported those commits (https://bugs.launchpad.net/ubuntu/+source/dbus-sharp/+bug/816950) and in general have kept the package updated, but in Fedora for whatever reason that seems to have fallen through the cracks (even though my usual experience with fix backporting/package updates is typically the opposite between those distros).

@alex-ter
Copy link
Member

As a follow-up - Fedora team has updated dbus-sharp package version in Fedora 26 recently released and per my tests this "stalled logout" problem no longer occurs with Mate desktop. Enjoy! :)

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

No branches or pull requests

3 participants