Bug 245091 - For overlong filenames, tooltip lags cursor when you mouse over multiple files/folders
Summary: For overlong filenames, tooltip lags cursor when you mouse over multiple file...
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.4
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 05:29 UTC by Frank Steinmetzger
Modified: 2018-02-22 13:35 UTC (History)
2 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 Frank Steinmetzger 2010-07-19 05:29:20 UTC
Version:           2.4 (using KDE 4.4.4) 
OS:                Linux

If a file name is too long to be displayed entirely in the main view, an overlay pops up which displays the full name when the mouse hovers over the image.

So far, so good. But what becomes annoying after a short time is that the label is quite slowly lagging behind the mouse pointer when I move around over several images. I’d like to ask for an option to either remove that behavior, or to disable that overlay altogether, because 1) if I want to read what it says, I need to wait for the animation to finish and 2) the moving label distracts the eye from what’s actually important.

Since I know of no other KDE app with that feature, I assume it’s a Gwenview-own functionality.

Thanks for your consideration.

Reproducible: Always
Comment 1 Nate Graham 2017-09-11 04:23:08 UTC
Instead of disabling the animation, it should just display correctly and not lag the cursor.
Comment 2 Huon 2018-02-21 23:18:44 UTC
This was caused by a 500ms delay being added to the fade-out animation every time you hovered over another thumbnail. I've fixed this in the following revision:

https://phabricator.kde.org/D10704
Comment 3 null 2018-02-22 13:35:28 UTC
Git commit aa368aea25ba663a18d6f0cc45e5db89bcc38497 by Henrik Fehlauer, on behalf of Huon Imberger.
Committed on 22/02/2018 at 13:35.
Pushed by rkflx into branch 'Applications/17.12'.

Improve thumbnail tooltip animation

Summary:
This fixes a cosmetic issue where the tooltip got 'stuck' as long as you
kept moving your mouse around. The trade-off is it more often than not
fades out quicker than it did before, but I believe this isn't a problem.

This prevents the tooltip fade-out animation getting the 500ms delay unless the current animation is not running.
Therefore preventing the animation perpetually gaining a delay if moving the mouse over thumbnails fast enough.

## Before:
{F5720935, loop, autoplay}

## After:
{F5720936, loop, autoplay}

Reviewers: #gwenview, rkflx

Reviewed By: #gwenview, rkflx

Subscribers: rkflx

Differential Revision: https://phabricator.kde.org/D10704

M  +3    -1    lib/thumbnailview/previewitemdelegate.cpp

https://commits.kde.org/gwenview/aa368aea25ba663a18d6f0cc45e5db89bcc38497