| Summary: | Kate: replace tabbarextension plugin with proper tab bar widget | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Michele Calgaro <michele.calgaro> |
| Component: | tdebase | Assignee: | Michele Calgaro <michele.calgaro> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | bugwatch, michele.calgaro |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
|
Description
Michele Calgaro
2013-12-05 07:44:12 CST
It turns out that in Kate's code there is already support for a proper tab bar widget. The logic is there, but the user interface to create multiple tabs is missing. Work is required to: 1) add GUI support to create/close/navigate tabs from the main menu 2) add a proper tab bar right click menu 3) add an option to allow the user to choose whether to open a file from the Filesystem Browser in a new tab or in the currently active tab 4) add an option to close the current tab with the mouse middle click Once all this is done, the tab bar extension in tdeaddons can be removed. I will work on this bug. I will change the status to ASSIGNED when I actually start working on it. I am planning to do the above work in time for R14.1.0 After further analysis and some preliminary tests, it looks like the existing logic is actually no good. The tabs are actually not linked to open documents, they just add the possibility to have multiple KateViewManager open. This means that when switching between documents, everything happens withing the current view, instead of switching to a different tab (this maybe is the reason why the tab logic is disabled??). So in addition to the list in comment 1, this is also required: 0) move tab logic from "outside" KateViewManager to "inside" KateViewManager, associating each tab to an open document. The result would be that each KateViewManager view can support multiple tabs and when switching to another document, the correct tab (or a new tab) is selected. See TDevelop for a reference behavior. >The logic is there, but the user interface to create multiple tabs is missing.
Actually there is no command in the Kate's menu, but it is still possible to add toolbar icons for "New tab" and other tab's command.
Anyhow what said in previous comments remains valid and the tab logic needs a full rework.
Removed from R14.1.0 |