I’m having this issue with my KDE Neon install, where the first logout attempt is ALWAYS canceled by Seafile applet. I get the pop up warning, and the logout attempt gets ignored. If I try a second time, then it works.
No one else is using KDE? I believe this issue should happen to any KDE user…There are a few annoying apps that do this (one being Steam), but I hate the other one giving me headaches is Seafile. This should be an easy fix to implement so it plays nicely with KDE.
This is a very common problem with KDE. Multiple people have logged bug reports for it with the KDE developers. It spans many different programs. I’ve not looked into it deeply, but I would suspect it has something to do with programs that run as daemons in a desktop environment.
I feel this is a Seafile bug not playing nicely with KDE desktop. Whenever this bug has arisen in other apps, in the end they released a patched version that wouldn’t continue running when KDE wanted to shut down. I believe the devs should look into this, shouldn’t be much of an issue to catch the KDE shutdown intent and just close Seafile as requested.
OK, so if it happens with several different DEs, then I’d say it’s more likely it’s the app and not all the DEs. It still looks to me that when the OS is sending the shutdown signal, Seafile app fails to catch it and ignores the shutdown. Then the OS shutdown halts due to an app running.
The issue happens to several different programs. It’s one of the major reasons I stopped using desktop environments and opted for Windows or Mac environments for GUI purposes. If I can recall correctly, it’s usually due to a program running as a daemon.
My point being, this IS an issue WITH seafile, a bug that needs fixing. Please check what’s wrong to catch the shutdown signal with certain desktop environments, as it seems Seafile client really is ignoring them.
EDIT: The VLC submit is very clear on what might be the issue:
Qt4: accept close event on main interface (fix #4606)
If the event is ignored, the Qt4-X11 will reject the quit ICCM request.
This annoyingly caused VLC to inhibit logging out.
But there is already a fix wit pull request as marked above. You just have to check if the CI doesn’t fail, you can merge it and deliver it with the new version. If the fix break things and doesn’t work, I will write a fix that works.