-
Notifications
You must be signed in to change notification settings - Fork 145
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
Feature request: add "Center" action #1511
Comments
I don't know if this is your case, but you could define a "center" region and snap windows to it. This is mine:
than:
|
Thanks, I'm aware of this but it changes window sizes, I'd like to have all qarma windows centered for example. |
I guess we could
Or potentially both, something like @ahesford thoughts about that? |
I forgot to mention that we have already |
I called it "AutoPlace" and forced the "automatic" placement policy originally because "MoveToCursor" already exists, and I didn't think at the time that re-centering windows would be a particularly interesting action. Respecting a policy argument and defaulting to |
Or a window rule like BTW, automatic placement is a very nice feature. It's just that the user may like to put some windows at the center, like they were under X11 — for example, all parentless Qt dialogs are positioned at the center under X11 (dialogs with parents are centered with respect to their parents). |
With latest Qt6 and layershell this could be quite important now, to be able to set some configuration windows at center screen, as on left and bottom panel they are aligned to screenborder. |
Done in #1785 |
There is already
I'm using "cursor" as default placement method and it would be nice to have a window rule or shortcut to center windows.
The text was updated successfully, but these errors were encountered: