-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
add option to define position, size and offset of new windows (not specific to which window it is) #182
Comments
Thanks! I don't have any Chromium development experience, but I think this is reasonably within scope for TF (or a plug-in, once the TF plug-in system is designed and implemented). |
I made a stab at the window size & position problem.
I also tried to look into adding an option where the last recently used window's size would be the default new window position, but I couldn't come up with a good reliable solution. Let me know if you have any comments or questions... |
@csabag Thanks for the work and PR! I'll take a look! |
@csabag |
mis-click. Didn't mean to close issue |
That'd be great. I've been using WindowManager to handle windows placements. It doesn't work for multiple windows of the same browser, because they all use the same program exe and their title is current tab's title. It'd be awesome if TabFern was able to place its remembered windows on their proper position and size, which would need to be set. In that case, don't forget multi monitor and negative positions! An even better solution is to set each window's title as its TabFern name. I have no idea if chromium allows extensions to set windows titles. If that's possible, then WindowManager would be able to find each of them and place them accordingly. |
@HikariWS Do you mean saving and restoring each window's position and size individually? If so, please open a new issue for that (I don't see one open already). Thanks! |
Currently opening a new window in tabfern seems to use the position and size of the last window closed, with an offset.
If the last window closed had an unusual position or size, the new window will open at that usual and likely unwanted position and size, with an offset.
(Issue #18 gives a workaround to correct a weird position and size, but always gives an offset on new windows)
By explicitly defining the preferred position, size, and offset, unwanted locations are readily avoided.
In my case it would be preferred that all windows open in exactly the same position and size, with no offset. Excepting of course the tabfern window, which if always left open, will guard its' position and size.
Users generally have one or more bars listing open applications, which allows switching between overlaid open windows, as well as using the tabfern window.
My system : Mageia (Linux) with Maté desktop.
Such an option should work with all graphic systems, including Linux, MsWindows, and Apple ios.
It might be preferable to add this option in the Chromium code, but failing that, putting it in tabfern would fully satisfy my needs.
The text was updated successfully, but these errors were encountered: