[kwin] [Bug 361987] Morphing popups: When morphing to a bigger tooltip the old content is streched.

2018-08-09 Thread Vlad Zagorodniy
https://bugs.kde.org/show_bug.cgi?id=361987

Vlad Zagorodniy  changed:

   What|Removed |Added

 CC||vladz...@gmail.com
 Resolution|--- |WONTFIX
 Status|UNCONFIRMED |RESOLVED

--- Comment #8 from Vlad Zagorodniy  ---
(In reply to Artur O. from comment #6)
> Transform/Morph the container but not the contents. The demo would be jquery
> / webb since i dont have any knoledge in qml/qt/kde dev. Or since you don't
> use kwin anymore maybe try to record the situation when it happens.

As Thomas said, we can't do that because the Morphing Popups effect doesn't
know anything about content, so the only viable option is to scale content.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 361987] Morphing popups: When morphing to a bigger tooltip the old content is streched.

2016-04-20 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361987

--- Comment #7 from Thomas Lübking  ---
(In reply to Artur O. from comment #6)

> Transform/Morph the container but not the contents.

That's not possible. The window is opaque to the compositor. (ie. there is no
"content" - the window is one block of random pixels)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 361987] Morphing popups: When morphing to a bigger tooltip the old content is streched.

2016-04-20 Thread Artur O . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361987

--- Comment #6 from Artur O.  ---
(In reply to Thomas Lübking from comment #5)
> > Well i would say morph only the tooltip window and keep the size or 
> > constrain the resize to some % of the contents
> 
> That does obviously not work - I guess what you mean is to not transform the
> size (and not crossfade the content) but switch to new tooltip size &
> content directly and transform only the position.
> 
> There're already some filters to prevent "small™" and "large™" translations
> - matter of taste and values I guess.
> 
> I can't try your demo because I don't use KWin anymore.

Transform/Morph the container but not the contents. The demo would be jquery /
webb since i dont have any knoledge in qml/qt/kde dev. Or since you don't use
kwin anymore maybe try to record the situation when it happens.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 361987] Morphing popups: When morphing to a bigger tooltip the old content is streched.

2016-04-20 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361987

--- Comment #5 from Thomas Lübking  ---
> Well i would say morph only the tooltip window and keep the size or constrain 
> the resize to some % of the contents

That does obviously not work - I guess what you mean is to not transform the
size (and not crossfade the content) but switch to new tooltip size & content
directly and transform only the position.

There're already some filters to prevent "small™" and "large™" translations -
matter of taste and values I guess.

I can't try your demo because I don't use KWin anymore.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 361987] Morphing popups: When morphing to a bigger tooltip the old content is streched.

2016-04-20 Thread Artur O . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361987

--- Comment #4 from Artur O.  ---
(In reply to Thomas Lübking from comment #3)
> > Hide the old contents before starting the morph?
> And show what instead? The downsqueezed new content would be better?
> 
> There should be a crossfade from one to the other - does this not take place
> on your side?

Well i would say morph only the tooltip window and keep the size or constrain
the resize to some % of the contents final/original size so you don't stretch
for example one line elements across multiple lines, making it look like you
stretched something in ms paint.

I can see if i can get some js/jquery demo to demostrate my point. But you can
see on that website i linked how it currently looks when it strectches one line
element to 5+ rows during the morph. Just feels like the texture resize effect
when you resize a window. Looks good for minor adjustments but when you start
moving double size or more makes it just odd and lack for better word; ugly.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 361987] Morphing popups: When morphing to a bigger tooltip the old content is streched.

2016-04-20 Thread Thomas Lübking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361987

--- Comment #3 from Thomas Lübking  ---
> Hide the old contents before starting the morph?
And show what instead? The downsqueezed new content would be better?

There should be a crossfade from one to the other - does this not take place on
your side?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 361987] Morphing popups: When morphing to a bigger tooltip the old content is streched.

2016-04-20 Thread Artur O . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361987

--- Comment #2 from Artur O.  ---
If you need something easy case to test with;
https://www.epicgames.com/unrealtournament/forums/forumdisplay.php?57-Linux
atleast with chromium you can hover on _thread name_ and _thread op_ in the
forum to quickly see the morph doing its work.

Systemload (if you have many cores) and some smaller tooltop morphing from (big
-> small) shows that it morphs to the smaller one but content for the new
tooltip shows up during that time stretching it.

Again its polish thing and thanks for this effect, really gave KDE/Plasma a
more smooth feeling.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kwin] [Bug 361987] Morphing popups: When morphing to a bigger tooltip the old content is streched.

2016-04-19 Thread Artur O . via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361987

Artur O.  changed:

   What|Removed |Added

Summary|Morphing popups: When   |Morphing popups: When
   |morphing to a bigger one|morphing to a bigger
   |the old content is  |tooltip the old content is
   |streched.   |streched.

-- 
You are receiving this mail because:
You are watching all bug changes.