Bug 431655 - KFileDialog is not showing Inline Previews even though the option is set.
Summary: KFileDialog is not showing Inline Previews even though the option is set.
Status: REPORTED
Alias: None
Product: kdialog
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Brad Hards
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-15 20:31 UTC by Raymond Nicholson
Modified: 2021-01-17 17:38 UTC (History)
1 user (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 Raymond Nicholson 2021-01-15 20:31:24 UTC
SUMMARY

kdialog 20.12.1

STEPS TO REPRODUCE
1. Use chromium browser to upload a file, or kdialog --getopenfilename to open the KFileDialog picker
2. Click Show Preview to see thumbnails.
3. Click OK or Cancel, does not matter which.
4. Open the file picker again.

OBSERVED RESULT

Notice that the thumbnail previews are not showing up, and "Show Preview" must be clicked again.

EXPECTED RESULT

It should save the option to show previews.

SOFTWARE/OS VERSIONS
Linux: Arch Linux 5.10.6-arch1-1
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

grep -i 'preview' ~/.config/kdeglobals

Show Inline Previews=true
Show Preview=true

These options are set to true. If I disable previews by clicking it twice and then closing the dialog the Inline Previews option changes to false.

This tells me that kdialog is using these options but not respecting them.
Comment 1 Justin Zobel 2021-01-17 06:33:15 UTC
I can't reproduce this, I've opened kdialog as you mentioned and I can toggle off or on previews and the file changes. kdialog then respects that choice next time it's opened.

grep -i 'preview' ~/.config/kdeglobals
Show Inline Previews=true
Comment 2 Raymond Nicholson 2021-01-17 17:38:14 UTC
Thank you for looking into this. Strange that the bug is not occurring in your case. I would note that I do see the inline previews switch to true or false depending on which setting I leave the dialog in - but when opening it does not seem to take into account the setting.