Bug 200364 - Cut items become invisible on hover
Summary: Cut items become invisible on hover
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-15 21:38 UTC by Jonathan Thomas
Modified: 2009-07-22 12:23 UTC (History)
6 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 Jonathan Thomas 2009-07-15 21:38:14 UTC
Version:            (using KDE 4.2.96)
OS:                Linux
Installed from:    Ubuntu Packages

To reproduce:
-Select an item in Konqueror or Dolphin
-Hit crtl+x to cut the file


Now each time you hover over the file, the icon will become more transparent and, after enough hovers, turn invisible.
Comment 1 Pete 2009-07-15 21:48:32 UTC
Just to note that if the file has a thumbnail preview (an example would be an image) this doesn't occur.
Comment 2 Dario Andres 2009-07-15 22:55:55 UTC
Here using:

Qt: 4.5.2 (KDE-Qt git commit 46a247a2c9a8c0c4456a02f6a0922d859d88fe76
        Date:   Fri Jun 26 13:45:37 2009 +0200)
KDE: 4.3.60 (KDE 4.3.60 (KDE 4.4 >= 20090706))
kdelibs svn rev. 996016 / kdebase svn rev. 996016
on ArchLinux i686 - Kernel 2.6.30

I can reproduce the described behaviour
Comment 3 FiNeX 2009-07-18 00:57:24 UTC
Reproduced using r998526 too
Comment 4 Frank Reininghaus 2009-07-21 22:14:46 UTC
This seems to be due to the commit

http://websvn.kde.org:80/?view=rev&revision=951613

CC'ing David Nolden who committed it.
Comment 5 David Nolden 2009-07-22 11:13:02 UTC
SVN commit 1000870 by zwabel:

Never apply the 'Cut' effect to the same icon multiple times in row.
The problem is that it uses KDirModel::data(DecorationRole) as base, which may already have the cut-effect applied.
Ways to reproduce: Pushing CTRL+X multiple times, or through the sequence-iteration.
BUG: 200364


 M  +16 -4     kfilepreviewgenerator.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1000870
Comment 6 David Nolden 2009-07-22 12:23:27 UTC
SVN commit 1000917 by zwabel:

Backport r1000870:
Never apply the 'Cut' effect to the same icon multiple times in row.
The problem is that it uses KDirModel::data(DecorationRole) as base, which may already have the cut-effect applied.
Ways to reproduce: Pushing CTRL+X multiple times, or through the sequence-iteration.
BUG: 200364


 M  +16 -4     kfilepreviewgenerator.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1000917