Bug 243414 - View modes not working properly, when the 'browsed' fs is mounted as VFAT
Summary: View modes not working properly, when the 'browsed' fs is mounted as VFAT
Status: RESOLVED DUPLICATE of bug 182177
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 10:39 UTC by abcdefz
Modified: 2011-05-29 00:38 UTC (History)
5 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 abcdefz 2010-07-02 10:39:03 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

Hey there!  I'm having trouble with view modes too, but I've narrowed it down, view modes seem to act funny when you're working with a VFAT filesystem.  It can't remember a folders view mode even within the SAME SESSION.  No matter how many times you click "View">>"View Mode">>"Icons", (and it DOES redraw the screen properly, at first), if you leave that directory and come back to it IMMEDIATELY, the thing has reverted to Detail Mode.

It's a pain.

Reproducible: Always

Steps to Reproduce:
On a VFAT mounted fs, while using Dolphin to rove around, no matter how many times you click "View">>"View Mode">>"Icons", (and it DOES redraw the screen properly, at first), if you leave that directory and come back to it IMMEDIATELY, the thing has reverted to Detail Mode.

Actual Results:  
See "Steps to Reproduce"

Expected Results:  
See "Steps to Reproduce"

OS: Linux (i686) release 2.6.32.14-127.fc12.i686.PAE
Compiler: gcc
Comment 1 abcdefz 2010-07-02 10:55:09 UTC
The exact same thing seems to happen in Konqueror 4.4.4...
Comment 2 Peter Penz 2010-07-02 10:57:34 UTC
@David: Dolphin tries to remember the view properties in the folder for local writable folders (see constructor of http://websvn.kde.org/trunk/KDE/kdebase/apps/dolphin/src/viewproperties.cpp?view=markup).

Might it be that with VFAT the following code:
    if (url.isLocalFile()) {
        m_filePath = url.toLocalFile();
        const QFileInfo info(m_filePath);
        if (!info.isWritable()) {
            m_filePath = destinationDir("local") + m_filePath;
        }
    }

indicates that the folder is local + writeable, but saving with
    KStandardDirs::makeDir(m_filePath);
    m_node->writeConfig();
fails?

Hmm, I've a kind of deja-vu - didn't we discuss this already once? ;-)
Comment 3 Anselmo L. S. Melo (anselmolsm) 2010-08-01 18:11:31 UTC
Reproduced with KDE SC 4 svn r1157874 (KDE 4.5.62 (KDE 4.6 >=20100729))
Comment 4 Matthias Fuchs 2011-05-29 00:38:38 UTC

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