Bug 453235

Summary: Folders showing previews don't regenerate them as soon as the color scheme changes, so their background color is wrong for a little while
Product: [Applications] dolphin Reporter: Viorel-Cătălin Răpițeanu <rapiteanu.catalin>
Component: view-engine: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, felixernst, firlaevhans.fiete, kde, kfm-devel, meven29, nate, uhhadd
Priority: NOR    
Version: 22.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Default1.png - Dolphin before color change
Default1.png - Dolphin before appling the color change
Default3.png - Dolphin after appling the color change

Description Viorel-Cătălin Răpițeanu 2022-04-30 16:23:05 UTC
SUMMARY
After changing the overlay color, the folders with icons overlay-ed on them as well as a folder description panel (F11 in dolphin) are not refreshed.

STEPS TO REPRODUCE
1. Select 'Accent color from wallpaper' in Settings
2. Open Dolphin and go to a location where you have a folder with icons overlay-ed on it
3. Select 'Accent color from theme' in Settings

OBSERVED RESULT
All folders are changing their colors except for the ones with icons overlay-ed on them. Also, the file/folder description is not affected by the change (until the directory is changed)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Plasma master (Wayland session)
KDE Plasma Version: 5.24.90 master
KDE Frameworks Version: 5.93 master
Qt Version: 5.15

ADDITIONAL INFORMATION
This bug is also described in part in: https://bugs.kde.org/show_bug.cgi?id=453164
Comment 1 Viorel-Cătălin Răpițeanu 2022-04-30 16:25:12 UTC
Created attachment 148477 [details]
Default1.png - Dolphin before color change
Comment 2 Viorel-Cătălin Răpițeanu 2022-04-30 16:25:34 UTC
Created attachment 148478 [details]
Default1.png - Dolphin before appling the color change
Comment 3 Viorel-Cătălin Răpițeanu 2022-04-30 16:25:57 UTC
Created attachment 148479 [details]
Default3.png - Dolphin after appling the color change
Comment 4 Nate Graham 2022-05-03 15:00:52 UTC
Yeah the problem here is that icons with previews need to have their previews regenerated when the color changes, and this currently happens only when the directory is changed or refreshed, not immediately.
Comment 5 Patrick Silva 2022-05-20 13:18:40 UTC
*** Bug 454049 has been marked as a duplicate of this bug. ***
Comment 6 Patrick Silva 2022-05-20 13:29:24 UTC
duplicate of bug 414097?
Comment 7 Nate Graham 2022-05-23 14:42:08 UTC
Yeah looks like it!

*** This bug has been marked as a duplicate of bug 414097 ***