Bug 477173

Summary: "Close Document" warning shows twice
Product: [Applications] kate Reporter: Kwok Guy <kwokjuy>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: popov895
Priority: NOR    
Version First Reported In: 23.08.3   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: "Close Document" warning shows twice

Description Kwok Guy 2023-11-18 06:41:55 UTC
SUMMARY
"Close Document" warning shows twice if the user is going to exit Kate.

STEPS TO REPRODUCE
1. Open Kate.
2. Input anything.
3. Exit Kate.
4. For the first "Close Document" warning dialog, select "Cancel".

OBSERVED RESULT
"Close Document" warning shows again.

EXPECTED RESULT
"Close Document" warning should not appear for the second time.

SOFTWARE/OS VERSIONS
Windows: 10 22H2 19045.3693

ADDITIONAL INFORMATION
By the way, if there are more than one documents, when kate is being closed, it will ask separately for all documents, and if the user selects "Cancel", it will then  show a "Save documents" dialog. Maybe we only need the "Save documents" dialog?
Comment 1 Kwok Guy 2023-11-18 06:42:35 UTC
Created attachment 163257 [details]
"Close Document" warning shows twice
Comment 2 popov895 2023-11-27 13:17:04 UTC

*** This bug has been marked as a duplicate of bug 469690 ***