Bug 461630

Summary: When kwrite max tabs is set to 1 it should not be possible to edit multiple files
Product: [Applications] kate Reporter: Neil S <kde>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: christoph
Priority: NOR    
Version: 22.08.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Neil S 2022-11-09 11:05:45 UTC
STEPS TO REPRODUCE
1. open a text file in kwrite (not kate)
2. settings -> configure -> behaviour -> set 'limit number of tabs' to '1' -> ok
3. file -> new

OBSERVED RESULT
a new empty document is started in the same window and the old document disappears. But is still open.

EXPECTED RESULT
With max tabs set to '1' I expect a new kwrite window to be opened.


SOFTWARE/OS VERSIONS
KDE neon 5.26
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.2
Qt Version: 5.15.7
Comment 1 Christoph Cullmann 2022-11-09 19:30:48 UTC
This setting works as intended but I see the point that it would make sense to be able to configure some SDI like behavior.
Comment 2 Christoph Cullmann 2022-11-09 19:32:41 UTC

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