Running inside KDE4.10, when I try to log out from the desktop session and Trojita is running, not minimized into systray and systray is enabled, the logout process aborts with a message that Trojita aborted that. I suspect that this shall be fixed by overriding QApplication::commitData and adding appropriate code to the MainWindow::closeEvent. Volunteers welcome, especially those whose aim is "desktop integration" :).
https://git.reviewboard.kde.org/r/114188/
Can confirm issue (still) exsists with latset trojita-0.7 release running on plasma-5.10.x (fedora 26)
(In reply to Rex Dieter from comment #2) > Can confirm issue (still) exsists with latset trojita-0.7 release running on > plasma-5.10.x (fedora 26) Reproducible here with Fedora 25 as well. Jan, what do you think about the patch proposed in comment #1? I as the maintainter of the trojita package in Fedora tend to add this patch instead of disabling the systray icon by default (for an autostart option in session settings).
Another option might be to adopt a fix for and older vlc and qt4 (thanks to Rex): http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?p=vlc/vlc-1.1.git;a=blobdiff;f=modules/gui/qt4/main_interface.cpp;h=4a85795a7658a251b9d89bfb87bf8652c7f14aad;hp=32f6c496f2935f9a97ee18e8da319121b51bdaba;hb=c85aa861334a2693ee404301541a64d8941dd9eb;hpb=483e293e09ed24065ff0b9ebce93825e717354a7
> Jan, what do you think about the patch proposed in comment #1? I as the > maintainter of the trojita package in Fedora tend to add this patch instead > of disabling the systray icon by default (for an autostart option in session > settings). That patch does not work; please do not apply it. Yes, the bug is still there. Once we have something which fixes this issue properly, this bugreport will be marked as solved :).
Trojitá is no longer maintained, please switch to a maintained alternative like https://apps.kde.org/kmail2/ Sorry for the inconveniences.