Bug 291174

Summary: icons in .directory file not processed.
Product: [Applications] dolphin Reporter: Stef Bon <stefbon>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cfeck, der.ole.becker
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Folder with custom icon in folder view and with properties dialog.

Description Stef Bon 2012-01-10 14:56:41 UTC
Version:           Git (using Devel) 
OS:                Linux

Hi,

I've got a fuse filesystem mounted under /media, which offers access to harddisks, usb sticks, cd's, network services like smb shares, and internet services like owncloud. 

Now since the latest kde versions, dolphin does nothing with the .directory file it provides, well at least nothing with the icon which is specified.

The .directory does exist:

:> cat /media/computer/23-SAMSUNG_SP2504C/.directory
[Desktop Entry]
Icon=/var/lib/mount.md5key/icons/drive-harddisk.png

and I see in the logfile of my fuse fs that a lookup has been done and completed successfully.

Stef


Reproducible: Always

Steps to Reproduce:
Hard since my fuse fs is not common yet.

Actual Results:  
Directory not shown as pictogram.

Expected Results:  
Directory shown as pictogram.
Comment 1 Stef Bon 2012-01-10 15:52:12 UTC
Strange enough, directories where the opendir call is denied, (EACCES), the .directory file is processed like it should.

(directories like this in my fuse fs is the directory representing the cdrom device, containing no media, so no contents, that's why I let the opendir call deny).
Comment 2 Oliver Becker 2012-02-01 17:32:54 UTC
Created attachment 68408 [details]
Folder with custom icon in folder view and with properties dialog.
Comment 3 Oliver Becker 2012-02-01 17:33:55 UTC
I have the same behaviour here with my Gentoo box.
No custom icon of an folder is shown.
The strange thing is, that in the properties dialog the custom icon is shown normally.
Comment 4 Stef Bon 2012-02-01 17:50:46 UTC
Hi Oliver,

it's "good" to know that you have the same problem.

Is there maybe an undocumented dependency to some graphics format (svg, png, mng) introduced with kde 4.8?? I'm thinking about that since you have a "compiled from sources" distro like me, linuxfromscratch??

Stef
Comment 5 Oliver Becker 2012-02-01 17:58:26 UTC
I don't think so. I already had this problem in 4.7.4 and I think it was introduced in this version.
Besides I don't think that KDE now needs an whole new graphics library which isn't installed on my system already.
Comment 6 Oliver Becker 2012-02-01 18:15:48 UTC
This Bug seems to be an duplicate of https://bugs.kde.org/show_bug.cgi?id=288824
Comment 7 Stef Bon 2012-02-01 18:45:12 UTC
Yes that's the same issue.
Comment 8 Peter Penz 2012-02-02 10:07:24 UTC

*** This bug has been marked as a duplicate of bug 288824 ***