Review Request 115859: Force-allow background contrast while sliding desktops
Thomas Lübking
thomas.luebking at gmail.com
Tue Feb 18 15:57:31 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115859/#review50159
-----------------------------------------------------------
kwin/effects/slide/slide.h
<https://git.reviewboard.kde.org/r/115859/#comment35261>
why do you now use a hash? the hash value for a legit key is always "true", isn't?
kwin/effects/slide/slide.cpp
<https://git.reviewboard.kde.org/r/115859/#comment35259>
w->data()->isValid() - "isNull" has different meaning
kwin/effects/slide/slide.cpp
<https://git.reviewboard.kde.org/r/115859/#comment35258>
three hash lookups for one (use QHash::iterator)
kwin/effects/slidingpopups/slidingpopups.cpp
<https://git.reviewboard.kde.org/r/115859/#comment35257>
unrelated?
- Thomas Lübking
On Feb. 18, 2014, 3:46 p.m., Sebastian Kügler wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115859/
> -----------------------------------------------------------
>
> (Updated Feb. 18, 2014, 3:46 p.m.)
>
>
> Review request for kwin and Plasma.
>
>
> Repository: kde-workspace
>
>
> Description
> -------
>
> Force-allow background contrast while sliding
>
> When the sliding effect is active, the background blur of the panel
> would be disabled unless forced with WindowForceBackgroundContrastRole,
> which is actually what we want: during sliding, the backgroundcontrast
> effect would otherwise be disabled, leading to the panel and popups
> flickering between contrast enabled and disabled.
>
> With this patch, the panel keeps its coloring during desktop changes.
>
>
> Diffs
> -----
>
> kwin/effects/slidingpopups/slidingpopups.cpp fd697f0
> kwin/effects/slide/slide.cpp 8ecb2a6
> kwin/effects/slide/slide.h c8e0a84
>
> Diff: https://git.reviewboard.kde.org/r/115859/diff/
>
>
> Testing
> -------
>
> Switched desktops, panel keeps color, fullscreen video player doesn't seem to be affected negatively, everything still works as expected, except that the flickering in Plasma Dialogs is gone.
>
>
> Thanks,
>
> Sebastian Kügler
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140218/d5bbe38f/attachment-0001.html>
More information about the Plasma-devel
mailing list