Bug 172759

Summary: Custom directory icon does not update when graphic changed
Product: [Frameworks and Libraries] frameworks-kio Reporter: Charles Phoenix <phoenixreads>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: andresbajotierra, crawlzone, kdelibs-bugs-null, markg85, nate
Priority: NOR    
Version First Reported In: 5.47.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Charles Phoenix 2008-10-13 23:44:21 UTC
Version:           1.1 (using 4.1.2 (KDE 4.1.2), Kubuntu packages)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.24-19-generic

The .directory file contains the following
[Desktop Entry]
Icon=./cover.png

[Dolphin]
AdditionalInfo=7
Timestamp=2008,10,13,17,37,5

[Settings]
ShowDotFiles=true

-----------------
As  part of a test, related to another bug, I copied a different cover.png from another directory and pressed reload. (Refresh works in kde3.) Nothing, the first thumbnail remains.

Even deleting cover.png does not change the original thumbnail.
Comment 1 Dario Andres 2008-10-29 01:12:56 UTC
I can reproduce this bug (see bug 172760 comment 3)
Comment 2 Dario Andres 2008-12-14 18:24:49 UTC
I can still reproduce this bug using:

KDE 4.1.3 

or 

KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2))
kdelibs svn rev. 896844 / kdebase svn rev. 896844

with Qt: 4.4.3 on ArchLinux x86_64

Can anyone else confirm this ?
Comment 3 Ray 2010-04-03 18:09:59 UTC
This bug is still there in 4.3.5.

Some additional details:

This only happens when in the Preview mode. Pulling up Properties on the affected folder shows the correct icon on the custom icon button, and moving away from the Preview mode also shows the correct icon in the folder's location. But as soon as Preview mode is active again, the icon reverts back to the previous one, even though that PNG file no longer exists on the system.
Comment 4 Mark 2010-09-19 03:29:55 UTC
Hi,

Please confirm that this issue is still present in that latest stable KDE version.

Thanx,
Mark
Comment 5 Ray 2010-09-19 04:25:44 UTC
As of two weeks ago before my HD died, it had improved. The png still did
not update immediately. I could switch from Preview to Icon and back again -
the Icon view would have the updated png, but the Preview icon was still the
old png. However, after at least one re-start of Dolphin (sometimes several
re-starts) the Preview icon would finally switch to the new png.


Ray

On Sat, Sep 18, 2010 at 6:29 PM, Mark <markg85@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=172759
>
>
> Mark <markg85@gmail.com> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                 CC|                            |markg85@gmail.com
>
>
>
>
> --- Comment #4 from Mark <markg85 gmail com>  2010-09-19 03:29:55 ---
> Hi,
>
> Please confirm that this issue is still present in that latest stable KDE
> version.
>
> Thanx,
> Mark
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
Comment 6 Charles Phoenix 2010-09-25 18:59:07 UTC
Qt: 4.6.3
KDE Development Platform: 4.5.1 (KDE 4.5.1)
Dolphin: 1.5

Short answer no


test one (details view)
	create directory
	copy custom .directory file into directory
	copy cover.png into directory

result
	no icon in details view; icon in icons view
	reload no effect

test two (details view)
	create directory
	copy cover.png into directory
	copy custom .directory file into directory

result
	icon in both views

test three (details view)
	repeat test two
	copy DIFFERENT cover.png into directory

result
	icon remains unchanged in details view
	icon changes in icons view
	reload has no effect

test four (icons view)
	create directory
	d&d .directory file into directory
	d&d cover.png into directory

result: no update
	reload updates icon
	note: if I reload BEFORE moving cover.png the icon stays blank

test five (icons view)
	repeat test four
	d&d new cover.png into directory

result: no update
	reload does NOT update icon


Note that if I move or copy, everything is updates correctly.
The result is the same if using a predefined system icon.