zzag added a comment.
Restricted Application edited projects, added KWin; removed Plasma.


  In https://phabricator.kde.org/D9638#196145, @graesslin wrote:
  
  > > Docks are drawn above all windows by the following code:
  > > 
  > >   for (EffectWindow* w : windows) {
  > >       if (! w->isDock()) {
  > >           continue;
  > >       }
  > >       WindowPaintData dockData(w);
  > >       int dockMask = mask
  > >           | (w->hasAlpha() ? PAINT_WINDOW_TRANSLUCENT
  > >                            : PAINT_WINDOW_OPAQUE);
  > >       effects->drawWindow(w, dockMask, infiniteRegion(), dockData);
  > >   }
  > >    
  > > 
  > > (`WindowForceBackgroundContrastRole` and `WindowForceBlurRole` are set at 
the beginning of the slide animation)
  > > 
  > > Am I missing something?
  >
  > I have an idea: the problem might be how you create the WindowPaintData. 
The ctor you use creates the WindowPaintData with an identity 
screenProjectionMatrix. This might be wrong in this case. The blur effect seems 
to use it.
  
  
  Maybe just elevate docks? E.g. at the beginning for each dock call 
`effects->setElevatedWindow(w, true)` and paint docks with the last visible 
virtual desktop?

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D9638

To: zzag, #vdg, #kwin, #plasma
Cc: mart, graesslin, abetts, ngraham, plasma-devel, kwin, iodelay, bwowk, 
ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, sebas, 
apol

Reply via email to