Adding a margin around the desktop containment

Aaron J. Seigo aseigo at kde.org
Thu Apr 2 00:43:10 CEST 2009


On Wednesday 01 April 2009, Chani wrote:
> > > anyways, I quickly added some struts to the desktop; it basically
> > > works but there is a problem : when a popup menu like Kickoff, the
> > > menu from grouped tasks in the taskbar or the panel toolbar is showed,
> > > it respect the struts and is not attached to the panel anymore...
> >
> > that would be kwin being helpful and keeping all windows inside the
> > struts.
> >
> > an "ignore struts" window hint would be nice in this case, and we could
> > just set that on all of plasma's popups.
>
> that reminds me, struts and autohide panels don't always get along...
> when I plug in a usb drive or something, the device notifier pops up half
> an inch below the top of my screen, even though I never unhid the panel.
> why's it respecting a strut that doesn't exist?

it's not actually the strut, but popupPosition that would be wrong here. 
hiding panels never reserve struts at all.

> and when I have grouped tasks and move my mouse into a group, the panel
> hides and leaves me with this floating tasklist... well, that one's really
> just a taskbar/panel bug, I guess.

we have a way to detect popups in PanelView to inhibit hiding, but the API 
described would probably make it a lot easier for the tasks widget to get it 
right, too.

> I've seen funny things with regular panels and the dashboard, too - ideally
> we should ignore all struts when we call up the dashboard.

you mean that you can't drag widgets into the space where panels are? that 
would be because the DefaultDesktop layout manager takes those into 
consideration ... which makes sense, unless you have a dashboard-specific 
containment in which case it probably doesn't.

hm.. maybe we should have a Dashboard containment? it wouldn't support 
wallpapers (doesn't need to ... if you don't have composite, you can just use 
the follows-desktop mode) and wouldn't do anything funky with widgets to keep 
them laid out.

that way we could put those off with panels somewhere and let people select 
one of them to use as their dashboard (along with "show desktop contents")?

thoughts?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090401/e11264aa/attachment.sig 


More information about the Plasma-devel mailing list