Bug 426843

Summary: Font icon cannot be seen
Product: [Frameworks and Libraries] kio-extras Reporter: medin <med.medin.2014>
Component: Thumbnails and previewsAssignee: Plasma Bugs List <plasma-bugs>
Status: REPORTED ---    
Severity: normal CC: bugseforuns, kfm-devel, nate
Priority: NOR    
Version First Reported In: 20.08   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Font icon cannot be seen
Font icon problem

Description medin 2020-09-21 22:27:29 UTC
Created attachment 131847 [details]
Font icon cannot be seen

The font icon cannot be seen. See attached image for more info.

Operating System: Manjaro Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.4.64-1-MANJARO
OS Type: 64-bit
Comment 1 Patrick Silva 2021-09-20 15:25:32 UTC
I do not see white font previews with Breeze global theme on Arch Linux. Is it still an issue for you?
Some font previews are missing, but I think this is another bug. See bug 442744.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.90
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Graphics Platform: X11
Comment 2 medin 2021-09-20 20:13:03 UTC
(In reply to Patrick Silva from comment #1)
> I do not see white font previews with Breeze global theme on Arch Linux. Is
> it still an issue for you?
> Some font previews are missing, but I think this is another bug. See bug
> 442744.
> 
> SOFTWARE/OS VERSIONS
> Operating System: Arch Linux
> KDE Plasma Version: 5.22.90
> KDE Frameworks Version: 5.86.0
> Qt Version: 5.15.2
> Graphics Platform: X11

The real problem here is that each theme should have its own icons previews cache: Dark theme should generate white previews and Light theme should generates dark previews, but what happens when you apply any theme is that cache preview is not regenerated so the previous fonts previews remain applied to the new selected theme.
The only solution I found is to remove the content of "~/.cache" folder so the new previews will be forced to be regenerated. See attached video for more info.
Comment 3 medin 2021-09-20 20:15:07 UTC
Created attachment 141748 [details]
Font icon problem