[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Is it possible for a plasmoid to overlap the panel?
From:       Martin Graesslin <mgraesslin () kde ! org>
Date:       2016-07-21 8:42:27
Message-ID: 6247870.0kyznn5tWh () martin-desktop
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Thursday, July 21, 2016 11:25:21 AM CEST Michail Vοurlakos wrote:
> Στις  έμπτη, 21 Ιουλίου 2016 7:31:20  .Μ. EEST Martin \
> Graesslin έγραψε:
> > On Wednesday, July 20, 2016 8:53:03 PM CEST Marco Martin wrote:
> > > On Wednesday 20 July 2016 21:15:33 Michail Vοurlakos wrote:
> > > > Hello,
> > > > 
> > > > I am trying to implement a plasmoid task manager that behaves
> > > > like the Mac or the Plank one..
> > > > the code can be found here:
> > > > https://github.com/psifidotos/plasmaqmldock[1]
> > > > it is in a very early stage but the animation is there and showing
> > > > and hiding windows also...
> > > 
> > > I tought about an use case like that in the past...
> > > 
> > > you would need to have a very big panel, mostly completely \
> > > transparent (so
> > > it means you couldn't use always visible mode, and you depend from
> > > having
> > > composite)
> > > but for 3rd party things may be ok-ish.
> > > 
> > > what the panel on our side would need to do, is not to draw its
> > > background
> > > in that case, basically just respect the background hints, just like
> > > applets do. I am thinking to add that never the less in 5.8, wouldn't
> > > change for the default one, but could be a little fun quirky \
> > > possibility for kdelook stuff
> > 
> > Not drawing the background won't be enough: we also need to look at the
> > window manager story, which gets interesting for panels:
> > * background need to be input shaped
> > * strut must not be set on the whole window
> > 
> > Whether KWin would support that - I do not know. I could assume it \
> > would still adjust the windows to the size of the panel.
> > 
> > Cheers
> > Martin
> 
> Do you think that if instead of not drawing the background of the panel, \
> we were drawing a completely transparent background but disable blurring \
> and shadows for It, the same problems arise?

yes that's all just visuals. If KWin starts to snap windows against it, it 
uses the geometry. Shadow, blurring etc. are ignored.

> 
> I use it currently in the panel, and actually it is almost doing its \
> job... If you wanna give it a go, it is in:
> https://github.com/psifidotos/plasmaqmldock[1]
> 
> And this is a screenshot for the panel that has NowDock plasmoid in it,
> I loaded a full transparent desktop theme and disabled the blur effect.
> http://imgur.com/KuiKcQD[2]

Give it a try: move a window towards the dock. At some point it will start \
to  snap against it.

Cheers
Martin


["signature.asc" (application/pgp-signature)]
[Attachment #6 (text/plain)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic