Bug 341933 - Tooltip animation glitchy
Summary: Tooltip animation glitchy
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-16 01:50 UTC by enoopt.adams
Modified: 2015-01-27 13:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description enoopt.adams 2014-12-16 01:50:07 UTC
Mousing over the systemtray for example causes the tooltip to appear to the right and slide over into place, the tooltip then disappears before the user can read it.

Reproducible: Always
Comment 1 Hrvoje Senjan 2014-12-16 23:24:01 UTC
this might be a Qt issue, as i had it also, but can no longer reproduce with latest Qt 5.4 branch + KF5 + Plasma master
Comment 2 enoopt.adams 2014-12-17 00:40:29 UTC
Still present on my system with Qt 5.4 and a build of everything from git last week. I was going to do a fresh build tonight, so I'll report back if the issue is gone. On another note, I don't suppose an option could be added to disable the slide animation on plasma tooltips? I find it kind of annoying.
Comment 3 Hrvoje Senjan 2014-12-17 18:20:47 UTC
maybe it is a matter of drivers also...
i've noticed that i have QSG_RENDER_LOOP=threaded exported, that might also make a difference
Comment 4 Marco Martin 2014-12-18 11:40:41 UTC
can't reproduce either with 5.3 and 5.4 here.
sure is a recent master and not 5.1?
Comment 5 enoopt.adams 2014-12-19 00:40:15 UTC
Qt 5.4, just build everything from git last night. I'm still having this issue.
Comment 6 Antonis G. 2015-01-15 19:19:32 UTC
I can reproduce. Video: http://youtu.be/YVz9HDgzdMs Archlinux packages build from git master
Comment 7 Marco Martin 2015-01-16 17:11:58 UTC
Git commit 05cea81fdd17157a184fb34b22d1ce076d5c28a6 by Marco Martin.
Committed on 16/01/2015 at 17:01.
Pushed by mart into branch 'master'.

make sure animation is disabled the first time

make sure the animation is disabled when the tooltip appears
for the first time.
since the correct implicitsizes can be calculated only when the
tooltip window is visible, we need to show the tooltip window
then calculate the final size and position, and last move it
*without animations*

Change-Id: I2d0f653e860104f17a62203565d5002a16d0dfae
reviewed-by: David Edmundson <kde@davidedmundson.co.uk>

M  +3    -1    src/declarativeimports/core/tooltip.cpp
M  +14   -3    src/declarativeimports/core/tooltipdialog.cpp
M  +4    -0    src/declarativeimports/core/tooltipdialog.h

http://commits.kde.org/plasma-framework/05cea81fdd17157a184fb34b22d1ce076d5c28a6
Comment 8 enoopt.adams 2015-01-16 19:47:49 UTC
Still seems to happen on latest build from master.
Comment 9 Antonis G. 2015-01-18 19:03:49 UTC
Yes still happens as you can see: http://youtu.be/RfW9bw57S2Y 
plasma-framework-git 05cea81
Comment 10 Antonis G. 2015-01-27 13:24:13 UTC
Tooltips are quite broken. Sometimes they appear at the top left of the screen.