Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397623 - >=kde-base/kdelibs-4.7.4 shows wrong icons when on nfs or samba share
Summary: >=kde-base/kdelibs-4.7.4 shows wrong icons when on nfs or samba share
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: tracking upstream
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-04 11:38 UTC by Ahmet Inan
Modified: 2012-05-01 17:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
removes all occurrences of isSlow() method (kdelibs-4.7.4-no_isSlow.patch,4.46 KB, patch)
2012-01-04 11:39 UTC, Ahmet Inan
Details | Diff
epatch kdelibs-4.7.4-no_isSlow.patch (kdelibs-4.7.4-r11.ebuild,9.10 KB, text/plain)
2012-01-04 11:41 UTC, Ahmet Inan
Details
make isSlow() always return false (kdelibs-4.8.0_isSlow_return_false.patch,436 bytes, patch)
2012-02-01 09:19 UTC, Ahmet Inan
Details | Diff
use show-correct-icons && epatch kdelibs-4.8.0_isSlow_return_false.patch (kdelibs-4.8.0-show-correct-icons-ebuild.patch,916 bytes, patch)
2012-02-01 09:29 UTC, Ahmet Inan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmet Inan 2012-01-04 11:38:11 UTC
kdelibs has a feature since 4.7.4 that will not update file icons according their content which are on "slow" filesystems like nfs or samba shares, thus only showing a default icon.
This bug should affects every Admin using home on nfs or samba shares, thats why i made this patches until it gets fixed upstream.

Reproducible: Always

Steps to Reproduce:
1. mount nfs or samba share on some mount point
2. browse mount point with dolphin or desktop folder view
3.
Actual Results:  
shows file icons all as default icons

Expected Results:  
show file icons described by their content

more information:
http://forum.kde.org/viewtopic.php?f=18&t=98122&sid=f59390e4fcb8bfefb7c32ccbc836cbdf

introduced since:
https://bugs.kde.org/show_bug.cgi?id=178678
Comment 1 Ahmet Inan 2012-01-04 11:39:54 UTC
Created attachment 297905 [details, diff]
removes all occurrences of isSlow() method
Comment 2 Ahmet Inan 2012-01-04 11:41:16 UTC
Created attachment 297907 [details]
epatch kdelibs-4.7.4-no_isSlow.patch
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2012-01-18 13:32:09 UTC
Please send your patch to upstream via https://git.reviewboard.kde.org/ and let them decide.
Comment 4 Ahmet Inan 2012-01-18 14:03:51 UTC
they already know about this.
this patch is only for us who would like to use an almost stable kde (kde-4.7.4 that is) on nfs until it gets fixed upstream.
Comment 5 Ahmet Inan 2012-02-01 09:19:28 UTC
Created attachment 300593 [details, diff]
make isSlow() always return false

this is a fairly small patch, hopefully enough for >kdelibs-4.8.0
Comment 6 Ahmet Inan 2012-02-01 09:29:46 UTC
Created attachment 300597 [details, diff]
use show-correct-icons && epatch kdelibs-4.8.0_isSlow_return_false.patch

this is a diff against kdelibs-4.8.0-r1.epatch
but works with kdelibs-4.7.4-r11.ebuild as well.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2012-05-01 17:15:51 UTC
While I understand what you want, it makes no sense to patch this. After all, isSlow is introduced to fix a problem... we'll follow upstream with this. You should make your case for a better solution in the KDE bug.