Bug 482545 - Multiple "Close Document" dialogs when closing Kate
Summary: Multiple "Close Document" dialogs when closing Kate
Status: RESOLVED DUPLICATE of bug 469690
Alias: None
Product: kate
Classification: Applications
Component: sessions (show other bugs)
Version: 23.08.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-06 14:24 UTC by Florine W. Dekker
Modified: 2024-03-06 18:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florine W. Dekker 2024-03-06 14:24:17 UTC
SUMMARY
If I close Kate while a single "Untitled" document exists, I get two dialogs asking me if I want to save changes.

STEPS TO REPRODUCE
Tested in a fresh install of Debian Testing. Default Kate settings.

1. Open Kate.
2. Select "New File". An empty tab "Untitled" opens.
3. Write something in the tab.
4. Exit Kate (e.g. "Ctrl + Q").
5. In the close confirmation dialog, press "Cancel".

OBSERVED RESULT
In step 4, a dialog with title "Close Document - Kate" and text "The document "Untitled" has been modified. Do you want to save your changes or discard them?" is shown. If you select "Cancel", the same dialog is shown again. If I select "Cancel" in the second dialog, Kate finally quits.

(The dialogs are actually not _completely_ identical. Only the second is resizable, and only the first has a newline between the two sentences.)

EXPECTED RESULT
The dialog should be shown only once.

SOFTWARE/OS VERSIONS
Linux Kernel: 6.6.15-amd64 (64-bit)
KDE Plasma: 5.27.10
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Graphics Platform: Wayland
Comment 1 Waqar Ahmed 2024-03-06 18:28:37 UTC

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