-
-
Notifications
You must be signed in to change notification settings - Fork 198
Cancel on Quit not work when editor is hidden #342
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
Comments
Exotic workflow :) I'll have a look at it. |
Can't reproduce this neither. First I try to quit when application is open, dialog pops up, I cancel, ksnip is open and image unsaved. |
Tried with OpenSUSE 15.0 Plasma Wayland, seems to be working. |
Maybe is a configuration, this are my configuration file: [Application] [ImageGrabber] [KImageAnnotator] [MainWindow] |
Have you tested this on another machine? |
Doing more tests, is the same issue with several options in tray icon:
The problem is not related with unsaved captures, is only some options in tray icon when the editor is hidden. When the editor is displayed all options works fine and ksnip remains active. looking the messages, before ksnip closes appears two messages: 2020-06-16T20:10:06.847841-04:00 localhost gnome-shell[2165]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x220000d specified for 0x240004a. maybe some issue in communications between tray and the editor? I will look for this kind of messages on the net... |
How do you enable tray icon on GNOME? When I close ksnip it seems to be still running according to console output but I neither see the application nor the tray icon. |
You must to install an extension, I use https://extensions.gnome.org/extension/1031/topicons/ |
Can you check if this is working with a different Extension for TrayIcon? The GitHub Page for the Extensions says:
Can you quickly write down the steps that are required to install an extension? |
Ok, had to restart but can reproduce now. |
This seems to be an issue in the Qt Component. If you call show just after showing the message box, everything works. So far I have been able to track it down to I don't think that this makes much sense hunting down further. We will wait for new Qt version check if the issue persists. |
Does this issue still happen for you? |
Hi.. All works fine now, I tested all posible combinations and all are good. The bug is fixed. Version: 1.8.1-continuous Using: |
Nice, thanks for testing. |
I found a bug...(I think)
Steps:
1.- Take a capture and keep it "unsave".
2.- When the editor is open, right click on the tray icon and choose "Quit", then, ksnip ask for confirmation, "The capture "" has been modified. Do you want to save it?" choose "Cancel", then the confirmation dialog closes and the editor remains.
3.- Close the editor. The capture still is in memory and unsaved.
4.- Now right click on the tray icon and choose "Quit", then, ksnip ask for confirmation again, select "Cancel", then the confirmation dialog closes and too the application, "Cancel" not work. Now we loose the unsaved capture.
Version: 1.7.0-continuous
Build: 1212-7bf4d18
Using:
Qt5
X11
KDE Wayland
Gnome Wayland
The text was updated successfully, but these errors were encountered: