[dolphin] [Bug 498671] New: 'View > Show Previews' setting is no longer persistent

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Jan 14 21:53:23 GMT 2025


https://bugs.kde.org/show_bug.cgi?id=498671

            Bug ID: 498671
           Summary: 'View > Show Previews' setting is no longer persistent
    Classification: Applications
           Product: dolphin
           Version: 24.12.1
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: sortof.optimistic at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
After updating dolphin to version 24.12.0, the 'Show Previews' setting in the
'View' menu reverts back to un-selected for a given folder as soon as you
either navigate away from that folder, or close and re-open dolphin. After a
bit of digging I found bug #322922 which mentions the command 'getfattr -d
<dir>' as a means of viewing the extended attributes directly. Using this I
then performed some tests on a newly-created folder and noticed the following
behavior:

##default x-attributes for the newly-created folder:
user at main:~/test_folder> getfattr -d .
user at main:~/test_folder>


##folder x-attributes after selecting only 'Show Previews':
user at main:~/test_folder> getfattr -d .
user at main:~/test_folder>


##folder x-attributes after selecting only 'Show Hidden Files':
user at main:~/test_folder> getfattr -d .
# file: .
user.kde.fm.viewproperties#1="[Dolphin]\012PreviewsShown=false\012Timestamp=2025,1,14,16,1,21.623\012Version=4\012\012[Settings]\012HiddenFilesShown=true\012"

user at main:~/test_folder>


##folder x-attributes after un-selecting 'Show Hidden Files':
user at main:~/test_folder> getfattr -d .
# file: .
user.kde.fm.viewproperties#1="[Dolphin]\012PreviewsShown=false\012Timestamp=2025,1,14,16,2,14.359\012Version=4\012"

user at main:~/test_folder>


##folder x-attributes after first selecting 'Show Hidden Files', and then
selecting 'Show Previews' also:
user at main:~/test_folder> getfattr -d .
# file: .
user.kde.fm.viewproperties#1="[Dolphin]\012Timestamp=2025,1,14,16,6,33.375\012Version=4\012\012[Settings]\012HiddenFilesShown=true\012"

user at main:~/test_folder>


##folder x-attributes after un-selecting 'Show Hidden Files', but leaving 'Show
Previews' selected:
user at main:~/test_folder> getfattr -d .
user at main:~/test_folder>


It should be noted that the 'Show Previews' setting persists /only/ if the
'Show Hidden Files' setting is selected first, however, if 'Show Hidden Files'
is then un-selected (leaving only 'Show Previews' selected), the extended
attributes for the folder are completely erased.

STEPS TO REPRODUCE
1. create a new folder, then navigate into the folder
2. select only 'Show Previews' within the 'View' menu
3. navigate to a different folder or restart dolphin, then navigate back to the
new folder
4. open the 'View' menu and inspect the 'Show Previews' setting

OBSERVED RESULT
The 'Show Previews' setting reverts back to un-selected as soon as you navigate
away from the selected folder, or close and re-open dolphin.

EXPECTED RESULT
The 'Show Previews' setting should persist once selected, without needing other
settings to be selected first (this was its behavior prior to version 24.12.0).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20250103
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list