Bug 343070

Summary: File > Quit > Cancel issue
Product: [Applications] krita Reporter: mvowada <freebox64>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Severity: minor CC: pevzi23, raghu
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: "Cancel" button requires to be clicked 4 times before responding - Video

Description mvowada 2015-01-20 08:49:51 UTC
Minor issue. With an unsaved document, quit the program: the cancel button requires to be clicked 4 times before to respond (Krita 2.9 Beta 2, on Ubuntu 14.04 Unity)

Reproducible: Always

Steps to Reproduce:
1. Open a document and do some modifications
2. File > Quit > Cancel

Actual Results:  
"Cancel" button requires to be clicked 4 times before responding.
Comment 1 mvowada 2015-01-20 08:52:43 UTC
Created attachment 90539 [details]
"Cancel" button requires to be clicked 4 times before responding - Video
Comment 2 Raghavendra kamath 2015-01-21 15:00:57 UTC
I have encountered this bug
Comment 3 Mikhail Sidorov 2015-01-23 12:09:50 UTC
Also, if you try to close the main window instead of quitting Krita through File->Quit then the Cancel button requires to be clicked "only" two times.
Comment 4 Dmitry Kazakov 2015-01-28 10:01:00 UTC
Git commit beec34411aca1d139c09af34343f85cac6e45605 by Dmitry Kazakov.
Committed on 28/01/2015 at 09:59.
Pushed by dkazakov into branch 'calligra/2.9'.

Remove duplicated queryClose() methods

It resulted in the necessity to press Cancel button
multiple times when closing Krita window.

M  +7    -85   krita/ui/KisDocument.cpp
M  +0    -3    krita/ui/KisDocument.h
M  +4    -48   krita/ui/KisMainWindow.cpp
M  +0    -5    krita/ui/KisMainWindow.h
M  +1    -2    krita/ui/KisView.h

Comment 5 mvowada 2015-01-28 20:13:19 UTC
Hi and thank you. I've just rechecked with Krita 2.9 Beta 2 (git fc73166) but it seems you still need to click multiple times "Cancel" before quit the program (now it's 3 times...)