Genio icon indicating copy to clipboard operation
Genio copied to clipboard

Allow cloning any tab as stand-alone window.

Open humdingerb opened this issue 1 year ago • 2 comments

A bit similar to #157, but more powerful and universal.

Imagine you could make a clone of any tab in Genio by dragging a tab out of its tab view (or with a context menu on the tab) and the tab now lives in a resizable window. "Clone" meaning the original tab stays in its tab view in the main window, its contents being synced with the clone.

For editor tabs, the use is obviously being able to have two or more files side-by-side. For simplicity's sake, it won't have a duplicate of the main window's menu or toolbar. It's main purpose is to view, simple edit and copy&paste code.

While all other tabs should be "window-clonable", the "Search results" is the one with the most potential. While the other tabs in the "Output pane" are OK with the normally small vertical and wide horizontal space in the pane, the "Search results" would make much sense to be in a tall window tiled at the side of the main window. It allows you to quickly jump to all code locations, without much scrolling. Similarly with a "Bookmarks" tab, should that be added in the future.

humdingerb avatar Dec 19 '23 16:12 humdingerb

One day...

jackburton79 avatar Jan 03 '24 15:01 jackburton79

I'm doing some experiments working on various views and tabs. Here I open a secondary window with the SearchResult tab:

https://github.com/Genio-The-Haiku-IDE/Genio/tree/refactor/SearchResultInWindow

In general, before being able to undock views at will, work needs to be done on every custom view.

jackburton79 avatar Sep 24 '24 21:09 jackburton79