Bug 410664 - File dialog doesn't save preview setting
Summary: File dialog doesn't save preview setting
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (show other bugs)
Version: 5.60.0
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-06 17:56 UTC by TYY331
Modified: 2019-08-08 11:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TYY331 2019-08-06 17:56:57 UTC
SUMMARY
activating previews in the file dialog isn't remembered across instances, even setting previews to true in kdeglobals file gets rewritten when the file dialog is opened again

STEPS TO REPRODUCE
1. open a file dialog instance
2. activate previews
3. close the file dialog and open another one

OBSERVED RESULT
preview settings is always set to false regardless of user configuration

EXPECTED RESULT
preview settings are remembered across instances

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.60
Qt Version: 5.13.0

ADDITIONAL INFORMATION
setting icon/detail/compact view works
setting bookmarks works
setting icon size works
setting preview panel works
setting sort order works
Comment 1 TYY331 2019-08-06 19:17:48 UTC
i managed to fix it, turns out kdeglobals's file dialog section was corrupted, I recreated the file and checked that it worked, it probably was a legacy option that messed up the parsing, anyhow next are the two version of the section, if someone stumbles upon this bug you have to delete the section and it will be recreated automatically with a correct configuration.
produces bug
[KFileDialog Settings]
Allow Expansion=true
Automatically select filename extension=true
Breadcrumb Navigation=true
Decoration position=2
LocationCombo Completionmode=5
PathCombo Completionmode=5
Preview Width=235
Show Bookmarks=false
Show Full Path=false
Show Inline Previews=false
Show Preview=false
Show Speedbar=true
Show hidden files=false
Sort by=Date
Sort directories first=true
Sort reversed=true
Speedbar Width=156
View Style=Simple
listViewIconSize=72

correct configuration
[KFileDialog Settings]
Allow Expansion=false
Automatically select filename extension=true
Breadcrumb Navigation=true
Decoration position=2
LocationCombo Completionmode=5
PathCombo Completionmode=5
Show Bookmarks=false
Show Full Path=false
Show Inline Previews=true
Show Preview=false
Show Speedbar=true
Show hidden files=false
Sort by=Date
Sort directories first=true
Sort reversed=true
Speedbar Width=152
View Style=Simple