Bug 434912

Summary: File selector remembers last thumbnail previewed in last selected path
Product: [Frameworks and Libraries] frameworks-kio Reporter: medin <med.medin.2014>
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: a.samirh78, kdelibs-bugs, nate, plasma-bugs
Priority: NOR    
Version: 5.80.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=247268
Latest Commit: Version Fixed In: 5.96
Attachments: File selector remembers last thumbnail previewed in last selected path

Description medin 2021-03-25 00:02:05 UTC
Created attachment 137043 [details]
File selector remembers last thumbnail previewed in last selected path

See attached video for more info.

Operating System: Manjaro Linux
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.4.105-1-MANJARO
OS Type: 64-bit
Graphics Platform: X11
Comment 1 Nate Graham 2021-03-25 21:07:46 UTC
Can confirm.
Comment 2 Nate Graham 2021-03-25 21:08:15 UTC
Reminds me of Bug 247268.
Comment 4 Ahmad Samir 2022-07-06 00:36:17 UTC
Git commit a5b354b9cf350043e106ecd041de595d4fe7ed27 by Ahmad Samir.
Committed on 06/07/2022 at 00:21.
Pushed by ahmadsamir into branch 'master'.

KImageFilePreview: if no current preview, don't show last one on resize

Test plan:
- using e.g. the kfilewidgettest_gui app, show the preview panel, and
  select some image or text file, so that a preview is shown
- unselect the file, the preview panel should be blank
- resize the preview panel
FIXED-IN: 5.96

M  +5    -0    src/filewidgets/kimagefilepreview.cpp

https://invent.kde.org/frameworks/kio/commit/a5b354b9cf350043e106ecd041de595d4fe7ed27