Bug 509259 - Have to cancel closing a file twice from the Documents sidebar
Summary: Have to cancel closing a file twice from the Documents sidebar
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: 25.08.0
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-08 06:14 UTC by Grósz Dániel
Modified: 2025-09-28 03:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grósz Dániel 2025-09-08 06:14:35 UTC
SUMMARY
If a file is modified, and I click its Close button in the Documents sidebar, and then I cancel the dialog that appears, the dialog appears a second time and I have to cancel it again for it to go away.

It doesn't happen when trying to close a file in another way, like the Close button in the tab, or even in the context menu in the Documents sidebar. 

STEPS TO REPRODUCE
1. Change a document (either a new file or an existing one).
2. In the Documents sidebar, click the Close button that appears when hovering the mouse over file.
3. In the Close Document dialog (Save/Discard/Cancel), click Cancel (or press Esc or close the window).

OBSERVED RESULT
The same Close Document dialog appears again, and you have to click Cancel a second time. Then it doesn't appear again.

EXPECTED RESULT
It gets the message the first time.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250905
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.14.6-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Similar to Bug 415414, but I can't reproduce that one anymore (that one was in KWrite, before it was eaten by Kate).
Comment 1 Christoph Cullmann 2025-09-13 18:47:06 UTC
Mhh, can't reproduce that.
Comment 2 Waqar Ahmed 2025-09-13 20:06:43 UTC
Same, can't reproduce it
Comment 3 Christoph Cullmann 2025-09-13 20:10:03 UTC
Guess we need more info then.
Comment 4 Bug Janitor Service 2025-09-28 03:46:19 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!