Bug 477644

Summary: Implement tear-off windows so multiple documents can be visible simultaneously
Product: [Applications] kate Reporter: Dave92f1 <dave.lindbergh>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: REOPENED ---    
Severity: wishlist CC: christoph, loudsquid, waqar.17a
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dave92f1 2023-11-27 22:40:49 UTC
Not much to say. This missing feature is what prevents me from using kate.

 (I'm using gedit instead, which is worse otherwise but has this critical feature.)
Comment 1 Christoph Cullmann 2023-11-27 23:24:12 UTC
You can split views and you can move stuff to new full screen windows.

Either by 'File -> New Window' or right click a tab an use the 'detach' action.
Comment 2 Dave92f1 2023-11-28 17:29:48 UTC
File>New Window would be vastly more usable (and obvious) if it could be performed with a left-click drag from the title of the document (as is done in gedit and Dolphin).

Please put on the wishlist.
Comment 3 Christoph Cullmann 2023-12-09 18:46:26 UTC
You can do that, right click on a tab, detach document.
Comment 4 Dave92f1 2023-12-12 01:57:28 UTC
(In reply to Christoph Cullmann from comment #3)
> You can do that, right click on a tab, detach document.

Thanks. That's better than nothing, but not the preferred UI. Left-drag the tab out of the kate window (as gedit does it) would be better.

For the wishlist, please.
Comment 5 Waqar Ahmed 2024-11-18 08:35:39 UTC
*** Bug 496291 has been marked as a duplicate of this bug. ***
Comment 6 jimbo 2024-11-19 01:56:03 UTC
Kate should have the same tearable tab ability as browsers, drag and dropping a tab from Kate into the space outside of the program should open up the tab in a new instance. Currently Kate seems to want to copy the file instead which is completely unexpected and unintuitive. Dragging and dropping a tab outside of Kate should default to 'detach document' and the reverse will add the tab to Kate. Currently if you pull a tab into Kate, the existing instance of Kate with that tab will stay open... expected behaviour is that it will close automatically. 

This has been the default for tabbed applications for a long long time now, especially for notepad applications. It's such a useful feature and the functionality already exists, I don't see why this hasn't already been added. It's odd that Kate is so feature rich but simple quality of life features like this get completely overlooked or flat out ignored. It feels that the tabs in Kate are only halfway implemented.
Comment 7 Waqar Ahmed 2024-11-19 02:06:42 UTC
What's expected for you may not be expected for someone else.

Patches are welcome to implement this but otherwise it's not a priority for me atm.
Comment 8 jimbo 2024-12-03 05:45:15 UTC
Are you suggesting that the current 'copy file' behaviour is expected by 'someone else'? Be fair and ask yourself, how many other tabbed programs behave like Kate in this regard? Specifically copying out the file on drag and drop of a tab? I'd say that Kate is on it's own which isn't a good thing. If anyone actually requires this functionality on a daily basis then they should comment in the thread. However, tearing a tab and having another instance, yeah... I use that functionality daily (for multiple other programs).

Both this ticket and mine are set as 'wishlist', addressing this issue would be a quality of life improvement in Kate and therefore doesn't require an immediate fix and neither of us expect that. A patch would be welcome as the functionality is there, just switch the copy function on drag and drop to detach document. I hope other users will add their voice to this so that this base functionality is implemented.