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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
Alex Nemeth
2018-05-31 12:44:40 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391819

Alex Nemeth <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED

--- Comment #15 from Alex Nemeth <***@gmail.com> ---
This has been fixed for animations and effects that do not modify the shape of
the window:
- Slideback: https://phabricator.kde.org/D12625
- Maximize: https://phabricator.kde.org/D12623
- Desktop grid: https://phabricator.kde.org/D12620
- Present windows: https://phabricator.kde.org/D12619
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-02 08:28:58 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #16 from ***@free.fr ---
I can confirm on Plasma
beta !
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-02 08:29:29 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #17 from ***@free.fr ---
Plasma 5.13 beta
--
You are receiving this mail because:
You are watching all bug changes.
Alex Nemeth
2018-06-02 11:54:59 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #18 from Alex Nemeth <***@gmail.com> ---
(In reply to tromzy from comment #16)
Post by b***@kde.org
I can confirm on Plasma
beta !
By this you mean that you confirm that it is fixed, right?
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-04 07:23:45 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #19 from ***@free.fr ---
Yes, I can confirm it is fixed on Plasma 5.13 beta.
--
You are receiving this mail because:
You are watching all bug changes.
Vlad Zagorodniy
2018-06-16 15:38:27 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391819

Vlad Zagorodniy <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #20 from Vlad Zagorodniy <***@gmail.com> ---
*** Bug 395494 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-25 10:45:33 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #21 from ***@free.fr ---
I noticed an animation where the blur effect can be added :

When alt-tabbing between applications, there are several animation effects to
chose from, the first one (which is "défilement circulaire" in french, I don't
know in english) could be tweaked to add blur effect.
--
You are receiving this mail because:
You are watching all bug changes.
Alex Nemeth
2018-06-25 17:40:36 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #22 from Alex Nemeth <***@gmail.com> ---
Created attachment 113562
--> https://bugs.kde.org/attachment.cgi?id=113562&action=edit
flip_switch

I assume you mean "flip switch".
This is a bit more difficult since the window shape is not really rectangular.
I currently have no intention to implement non-rectangular blur areas.
--
You are receiving this mail because:
You are watching all bug changes.
b***@kde.org
2018-06-25 19:35:16 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #23 from ***@free.fr ---
I'm talking about this effect : Loading Image...

It is not rectangular ?
--
You are receiving this mail because:
You are watching all bug changes.
Alex Nemeth
2018-06-25 20:14:17 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391819

--- Comment #24 from Alex Nemeth <***@gmail.com> ---
(In reply to tromzy from comment #23)
Post by b***@kde.org
I'm talking about this effect : https://i.imgur.com/0EQYf0n.png
It is not rectangular ?
If the window is in the middle then it is rectangular, but if the blurred
window would be on the left or right side then it wouldn't be, and not to speak
of the reflections under the windows...
Having only the middle window blurred would be annoying too.
We can only hope someone with a brave soul will implement it.
--
You are receiving this mail because:
You are watching all bug changes.
Loading...