[Bug 688816] Re: Don't create windows over the panel

2011-01-25 Thread Sam SmSpillaz Spilsbury
So really what can be done here is that unityshell.cpp can wrap CompWindow::place (eg by implementing a UnityWindow::place (CompPoint p) {} function) and that can check if the window overlaps the launcher area and instead places it just outside the panel. It is relatively bitesized. -- You

[Bug 688816] Re: Don't create windows over the panel

2011-01-21 Thread seeker5528
The launcher would set a soft strut that would encourage initial window placement outside of the strut, but not be a strict enforcement as in the panel case. There is a secondary issue. There should be a sticky spot at the edge of the panel so you can easily drag a window up next to the panel and

[Bug 688816] Re: Don't create windows over the panel

2010-12-12 Thread kyleabaker
I also noticed that a few windows (such as Chromium on first open) were positioned such that the Title bar of the unmaximized window was behind and above the top panel. You might factor a top boundary into this as well since most people would not know how to move a window like this via Alt+Click

[Bug 688816] Re: Don't create windows over the panel

2010-12-12 Thread Jason Smith
setting the struts is not the proper solution here. There is nothing in terms of freedesktop wm spec that covers something like the intellihide case. Struts effect both maximized windows and placement. We wish only to restrain initial placement. We should be proposing something along the lines of

[Bug 688816] Re: Don't create windows over the panel

2010-12-11 Thread Omer Akram
this is something i would have reported if you had not ;) ** Also affects: unity Importance: Undecided Status: New ** Changed in: unity (Ubuntu) Status: New = Confirmed ** Changed in: unity Status: New = Confirmed -- You received this bug notification because you are a

[Bug 688816] Re: Don't create windows over the panel

2010-12-11 Thread Hernando Torque
Workaround: start ccsm Place Windows plugin set Placement Mode to Centered. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/688816 Title: Don't create windows over the panel -- ubuntu-bugs

[Bug 688816] Re: Don't create windows over the panel

2010-12-11 Thread Sam SmSpillaz Spilsbury
On Sat, Dec 11, 2010 at 6:10 PM, Hernando Torque 688...@bugs.launchpad.net wrote: Workaround: start ccsm Place Windows plugin set Placement Mode to Centered. -- You received this bug notification because you are a member of Unity Team, which is subscribed to unity in ubuntu.

Re: [Bug 688816] Re: Don't create windows over the panel

2010-12-11 Thread Mark Shuttleworth
We need to talk about placement :-) First, when we open a new window which can easily fit in the space with the launcher, we should definitely avoid the launcher space. Coming up underneath the overlay launcher just feels like a mistake. Second, we should try to find the space we can cover the