Bug 482692 - "Close Other Documents" should maybe just apply to current window
Summary: "Close Other Documents" should maybe just apply to current window
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-07 11:32 UTC by Ellie
Modified: 2024-03-15 18:04 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 Ellie 2024-03-07 11:32:59 UTC
SUMMARY

I would like to suggest "Close Other Documents" should just apply to current window, in my humble opinion. Or does anyone actually expect this to apply to tabs on tab bars they didn't even click on and don't have in their view? (= in other kate windows?) I sure found it surprising. Since I tend to open one project per kate window and navigate each separately, it also severely hampers the use of "Close Other Documents" since right now this breaks that separation and makes me basically not want to ever use it. Maybe it's just me, but I feel like maybe it's not.

STEPS TO REPRODUCE

1. Open kate
2.  Use File > New Window to open 2nd window
3.  Use File > Open Folder in both windows to open separate folders in each
4. Open various files from the file tree in both windows separately
5. In one window, right-click any of the multiple file tabs and click "Close Other Documents"

OBSERVED RESULT

Tabs in the other window I'm not even dealing with right now suddenly close.

EXPECTED RESULT

Effect of this action is limited to current kate window and only the tab bar I actually used it on.

SOFTWARE/OS VERSIONS

Windows: 
macOS: 
Linux/KDE Plasma:  openSUSE Slowroll 20240213
(available in About System)
KDE Plasma Version: plasmashell 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version:  5.15.11 (kate built against 5.15.11)

ADDITIONAL INFORMATION
Comment 1 Christoph Cullmann 2024-03-15 18:04:43 UTC
Is a good idea, patches welcome.

https://kate-editor.org/join-us/