-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for multiple windows #463
Comments
Agreed. This is my number-two productivity issue with Zeal. (number-one being slow searching since I search far more often than I middle-click) I lose so much time and motivation from having to open a new tab, manually search up the page I was already on, and then click the link I wanted to middle-click. |
@ssokolow Since version 0.2.0 Zeal does support middle-clicking a link to open it in a new tab. Ctrl+Click has the same effect. Implementing support for multiple windows is tricky, mostly because of architectural problems. |
Not quite. I'm on 0.2.1 and what trips me up is that I keep trying to middle-click things in the left pane because...
|
|
For 2, I'm saying that, because I can't easily open a new tab from the left pane and "new tab" doesn't clone its state, my only way to preserve the tree expand/collapse state is to search up the current right pane's contents in the new tab, disconnecting it from its true history in the process. |
This is an old issue, that I think was more or less addressed. I don't see much value in supporting multiple windows, when nowadays we have a much better tab management, than we used to. Duplicate tab feature (#524) was implemented, and ability to synchronize left pane with the contents of the webview is tracked under #131. |
While I would personally be satisfied with better tab management, I should play devil's advocate by saying that tab-switching isn't always a sufficient substitute for multiple windows. For example, in GIMP, it frustrates me me that I can't use single-window mode, but tear off tabs into their own windows. (I have three monitors and it'd be nice to not have tab-switch or zoom as every second action for the kinds of workflows I'm using there.) The en vogue solution for that sort of "extremely parallel use of views" is support for splitting the window vertically or horizontally, and that is superior to multiple windows when you want to work inside a single monitor without using a tiling window manager, but it's worse with multi-monitor setups where the user wants to spread the application across multiple monitors which may not be uniformly sized. (eg. a laptop with an external monitor or two.) TL;DR: Before considering this completely solved, it'd be a good idea to solicit feedback on whether anyone has "view things in parallel" needs not satisfied by tab-switching. |
I see your point, but I honestly can't imagine that having multiple windows with docs would be a popular use case. Also, how should plugin integration work in a such scenario? When a search gets invoked from an IDE, which window should pop up, and show the results? |
There are two ways which come to mind:
As for navigating an existing tab vs. opening a new one, why not do it in a manner similar to how browsers handle |
Currently external requests never create new tabs. There's a ticket to make this behavior configurable (#845), but I haven't thought about automatically figuring out what to do. I don't think there's a reliable way, perhaps better add an optional parameter for plugins to tell Zeal how to handle a request. |
And you are right, it is possible to add a setting option to control which window should be chosen. Something like:
Where the first window becomes primary by default, and then just have a checkable menu entry to change that later. |
In that case, I advise making the Back and Forward buttons middle-clickable (and cloning the history to the created tab) and the tabs drag-reorderable, so It's easy to overrule plugins that decide to hard-code the behaviour to something I don't want. |
Make possibility to open doc link in new window by pressing middle mouse button like in web browsers.
The text was updated successfully, but these errors were encountered: