avoid covering the dock when spawning windows

Bug #1007978 reported by Danielle Foré
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Gala
Invalid
Wishlist
Unassigned

Bug Description

When spawning new windows, avoid placing windows over the dock.

Many windows are small enough to be placed on screen without covering the dock.

Revision history for this message
Harvey Cabaguio (harveycabaguio) wrote :

Don't you just want windows to be centered?

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Right now the dock is 24px taller than the panel, so there's a 24px gap between the app filling the vertical space on top and bottom. This is an issue because the dock covers the unlucky bottom (up to) 24px of the app.

Revision history for this message
Danielle Foré (danrabbit) wrote :

I'm pretty sure it's more than 24px taller. More like 30-32px taller. But yes that means that absolute vertical centering doesn't mean centering between the dock and panel (which is what I expect) and can lead to the bottom of the app covering the dock unnecessarily.

Changed in gala:
importance: Undecided → Wishlist
Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Ooh, I was about to come report this and found it was already here. xD

Gala should place windows on center, with "center" being defined as the available area not taken up by docks or panels. Ideally this would mean it could detect a dock on the left or right side of the display as well.

Changed in gala:
status: New → Confirmed
milestone: none → luna-beta1
Revision history for this message
Tom Beckmann (tombeckmann) wrote :

So ANY toplevel window should spawn at the center?

Changed in gala:
milestone: luna-beta1 → none
Revision history for this message
KVG (kvgkvg) wrote :

I think that newly-spawn windows shouldn't overlap with docks, panels AND other windows on the screen (if possible, of course).

Revision history for this message
Aditya Bhargava (rightaditya) wrote :

I'll second KVG's suggestion above. I frequently open multiple terminals and they seem to always open with the new one overlapping the old one. This is nonsensical especially when that's all I have open in a particular workspace.

Revision history for this message
Danielle Foré (danrabbit) wrote :

This is probably better solved in Mutter tbh. Mutter currently spawns in the "Center". Unsure if that respects struts or not, but marking as "invalid" for Gala since everything seems to be working out.

Changed in gala:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.