Discussion:
[kwin] [Bug 391819] New: The blur effect should work during animations.
(too old to reply)
b***@kde.org
2018-03-13 14:43:20 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

Bug ID: 391819
Summary: The blur effect should work during animations.
Product: kwin
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: effects-various
Assignee: kwin-bugs-***@kde.org
Reporter: ***@free.fr
Target Milestone: ---

I love Kwin's blur effect, especially the new one in Plasma 5.13. The only bad
thing is that the blur effect does not work during window animations
(supposedly one has a special window decoration that has transparency, so that
blur is enabled within the window). For example, with the "Slide back" effect,
a transparent window loses its nice blur effect during the whole slide back
animation. Same thing for the "Magic lamp" effect. Would it be difficult to
modify Kwin so that the blur effect occurs even during animations ?
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-03-13 17:53:26 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com,
| |***@kde.org,
| |***@gmail.com
--
You are receiving this mail because:
You are watching all bug changes.
Martin Flöser
2018-03-13 18:16:22 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #1 from Martin Flöser <***@kde.org> ---
It depends. In some animations it might be possible. E.g. for slideback I
imagine it could be possible, for magic lamp on the other hand it's probably
not possible as the windows are distorted. Also for some animations it is
enabled.
--
You are receiving this mail because:
You are watching all bug changes.
Vlad Zagorodniy
2018-03-13 18:36:21 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #2 from Vlad Zagorodniy <***@gmail.com> ---
As far as I remember, effects like Blur or Background contrast tend to do
nothing for transformed windows. Unless some special roles are set.

So, with Magic Lamp it is expected to not have blur behind transformed windows.
I think forcing blur for Magic Lamp would produce really bad results.

Yet, forcing blur for Slide back could be ok. I think it's doing only
translation and scaling.
--
You are receiving this mail because:
You are watching all bug changes.
Vlad Zagorodniy
2018-03-13 18:38:49 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #3 from Vlad Zagorodniy <***@gmail.com> ---
Oh, Martin already answered. :D
--
You are receiving this mail because:
You are watching all bug changes.
Martin Flöser
2018-03-13 18:40:59 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #4 from Martin Flöser <***@kde.org> ---
(In reply to Vlad Zagorodniy from comment #3)
Post by Vlad Zagorodniy
Oh, Martin already answered. :D
and we are consistent in the answer :-)
--
You are receiving this mail because:
You are watching all bug changes.
Vlad Zagorodniy
2018-03-13 18:51:37 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #5 from Vlad Zagorodniy <***@gmail.com> ---
In addition to the blur and slide back effect, it seems like maximize effect
has also the same problem.
--
You are receiving this mail because:
You are watching all bug changes.
Vlad Zagorodniy
2018-03-13 18:54:01 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #6 from Vlad Zagorodniy <***@gmail.com> ---
*In addition to the magic lamp and slide back effect
--
You are receiving this mail because:
You are watching all bug changes.
Alex Nemeth
2018-03-13 19:04:52 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #7 from Alex Nemeth <***@gmail.com> ---
The problem is that the blur works with rectangular regions only, transformed
windows won't work properly.
I'll upload a few videos as attachments that demonstrate this.
For maximize and slide back it can be done (see attachments) with a simple fix,
but this would also enable blur for wobbly windows and magic lamp, I don't know
how to differentiate between these animation types.
--
You are receiving this mail because:
You are watching all bug changes.
Alex Nemeth
2018-03-13 19:06:06 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #8 from Alex Nemeth <***@gmail.com> ---
Created attachment 111378
--> https://bugs.kde.org/attachment.cgi?id=111378&action=edit
Wobbly windows with blur
--
You are receiving this mail because:
You are watching all bug changes.
Alex Nemeth
2018-03-13 19:07:45 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #9 from Alex Nemeth <***@gmail.com> ---
Created attachment 111380
--> https://bugs.kde.org/attachment.cgi?id=111380&action=edit
Maximize window currently
--
You are receiving this mail because:
You are watching all bug changes.
Alex Nemeth
2018-03-13 19:09:17 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #10 from Alex Nemeth <***@gmail.com> ---
Created attachment 111381
--> https://bugs.kde.org/attachment.cgi?id=111381&action=edit
Maximize window patched
--
You are receiving this mail because:
You are watching all bug changes.
Alex Nemeth
2018-03-13 19:10:27 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #11 from Alex Nemeth <***@gmail.com> ---
Created attachment 111382
--> https://bugs.kde.org/attachment.cgi?id=111382&action=edit
Slide back currently
--
You are receiving this mail because:
You are watching all bug changes.
Alex Nemeth
2018-03-13 19:11:41 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #12 from Alex Nemeth <***@gmail.com> ---
Created attachment 111383
--> https://bugs.kde.org/attachment.cgi?id=111383&action=edit
Slide back patched
--
You are receiving this mail because:
You are watching all bug changes.
Alex Nemeth
2018-03-13 19:12:52 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #13 from Alex Nemeth <***@gmail.com> ---
As you can see, as long as the blur area is rectangular then it's not a
problem, and can be easily patched.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-03-14 08:37:47 UTC
Permalink
Raw Message
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #14 from ***@free.fr ---
Thanks for all the answers, and the patches ! Yeah I disabled wobbly windows
(one of my favorites effects) because of the lack of blur during moving
windows. And it is true that the problem occurs in the Maximized efffect too. I
think it's really cool if some of the effects can already be patched (slide
back and maximized). For now I can't think of any other effect that needs
blurring.
--
You are receiving this mail because:
You are watching all bug changes.
Loading...