-
Notifications
You must be signed in to change notification settings - Fork 29
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
Linux: duplicate "Quit" entry in system tray icon menu #44
Comments
The one generated by the system (the lower entry with icon) quits the program correctly. But it causes issue #45. The one generated by QT-SESAM (the upper entry without icon) only closes the main window. |
As far as I can tell from the source code, the main menu entry The system generated entry on the system tray icon menu causes this dialog: which I can't find in the source code. So I assume this is a "force application" dialog from the system. IMHO a real "exit" is missing in the Qt-SESAM code |
ah damn... wrong button. This is NOT closed :-( |
If |
I checked the documentation: your mainwindow code looks correct. Except maybe the I even connected the So my assumption is that the problem is in |
Regarding the extra "Quit" tray item: It doesn't appear on every Linux desktop. So it leads to nothing to |
Obviously some Linux desktops add a quit button by themselves. Won't do anything about it. Thus closing this issue. |
On my Fedora 22 box with KDE Plasma 5 the system tray icon menu looks like this
As you can see there is a duplicate "Quit" entry at the end. This is not generated by Qt-SESAM, but automatically by the system (it's translation changes when I switch languages).
I'm not sure how to solve this. If this is the case for every Linux user, but not Windows user, then I would suggest to flag the generation of the "Quit" entry with #ifdef WIN32 in the code.
The text was updated successfully, but these errors were encountered: