Bug 287360

Summary: Dolphin does not remember preview settings
Product: [Unmaintained] kde-windows Reporter: Aqeel Zafar <aqeel>
Component: generalAssignee: KDE-Windows <kde-windows>
Status: RESOLVED FIXED    
Severity: normal CC: asenlekoff, dev+kde, ps_ml
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Aqeel Zafar 2011-11-23 10:31:28 UTC
Version:           4.7.0 (using KDE 4.7.0) 
OS:                MS Windows

Dolphin does not remember preview settings of directories.

Reproducible: Always

Steps to Reproduce:
1. Enter any directory
2. Click on preview button to see file previews.
3. Change directory.
4. Return to the directory in which preview was enabled.

Actual Results:  
Preview is disabled, have to click on preview again to see files preview.

Expected Results:  
Preview should be enabled.
Comment 1 Asen Lekov 2011-11-25 18:27:09 UTC
May be a OS related, i have no problem on linux os...
Comment 2 Aqeel Zafar 2011-12-01 07:38:58 UTC
(In reply to comment #1)
> May be a OS related, i have no problem on linux os...

I don't have any problem on Linux either, it only happens in Windows, maybe I should add [kde-windows] to window specific bugs?
Comment 3 Patrick Spendrin 2011-12-01 12:11:12 UTC
@Aqeel: it is already windows specific (see assigned to: KDE-Windows).

Also the bug is not as easy:
If I do this on the Home directory it works (click Preview in the home dir, click on C: to switch to that dir, click on Home button to go back - the Preview is still enabled.) If I do this instead on C:\kde (I have to enter that in the location bar), it doesn't work anymore.
Comment 4 Aqeel Zafar 2011-12-01 15:43:34 UTC
@Patrick Actually I was just commenting on Asen's comment.

Is there anything I can do to help with narrowing down the problem?
Comment 5 Aqeel Zafar 2012-02-08 07:13:55 UTC
Problem still exists in KDE 4.8 with Dolphin 2.0.

I tried changing directory view, it also doesn't work anywhere except for Home directory, is it possible that dolphin is not applying view setting for any directory outside home?
Comment 6 Frank Steinmetzger 2012-03-16 23:54:00 UTC
I too encountered this in a fresh Windows install of 4.8. I thought it might be a problem with permissions (because my first install attempt failed durung unpacking), so I gave the user full access to c:\Program Files\KDE where KDE was installed. After that, Dolphin behaved as expected.
Comment 7 Patrick Spendrin 2012-03-17 18:18:25 UTC
review request has been posted with the fix: https://git.reviewboard.kde.org/r/104313/
Comment 8 Patrick Spendrin 2012-03-18 11:57:27 UTC
Git commit 0bf2e7c29aced29450a2ecb87a94e2d31b35f320 by Patrick Spendrin.
Committed on 18/03/2012 at 12:49.
Pushed by sengels into branch 'KDE/4.8'.

remove the : on windows to have a valid path name

M  +4    -0    dolphin/src/views/viewproperties.cpp

http://commits.kde.org/kde-baseapps/0bf2e7c29aced29450a2ecb87a94e2d31b35f320
Comment 9 Patrick Spendrin 2012-03-18 11:57:27 UTC
Git commit 264996b0e7441e8578c989ad450cf9142507b7d9 by Patrick Spendrin.
Committed on 18/03/2012 at 12:49.
Pushed by sengels into branch 'master'.

remove the : on windows to have a valid path name
(cherry picked from commit 0bf2e7c29aced29450a2ecb87a94e2d31b35f320)

M  +4    -0    dolphin/src/views/viewproperties.cpp

http://commits.kde.org/kde-baseapps/264996b0e7441e8578c989ad450cf9142507b7d9
Comment 10 Patrick Spendrin 2012-03-18 11:58:50 UTC
the fix will be included in the next Windows release.