Bug 405892 - If Breeze Dark global theme is used, Dolphin renders the preview of a font file in dark on dark color
Summary: If Breeze Dark global theme is used, Dolphin renders the preview of a font fi...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.04.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-26 12:48 UTC by Patrick Silva
Modified: 2023-05-10 20:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (77.46 KB, image/png)
2019-03-26 12:50 UTC, Patrick Silva
Details
font preview with Breeze Dark global theme (248.12 KB, image/png)
2021-09-20 15:05 UTC, Patrick Silva
Details
screenshot of Dolphin 23.04 (395.85 KB, image/png)
2023-05-10 20:10 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-03-26 12:48:49 UTC
STEPS TO REPRODUCE
1. open dolphin
2. hover over a font file
3. 

OBSERVED RESULT
as we can see in my screenshot, the font preview looks badly rendered,
it's barely visible.

EXPECTED RESULT
font preview is rendered correctly in the tooltip

SOFTWARE/OS VERSIONS
Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.0
Comment 1 Patrick Silva 2019-03-26 12:50:21 UTC
Created attachment 119053 [details]
screenshot
Comment 2 Julian Steinmann 2019-03-26 18:53:30 UTC
Can confirm, same system info & versions as Patrick.
Comment 3 Christoph Feck 2019-04-16 19:17:23 UTC
Have yet to investigate, but I guess the font preview is not rendered by dolphin, but by the font thumbnailer.

Is the issue only with Wayland?
Comment 4 Patrick Silva 2019-04-16 19:26:26 UTC
With both X11 and Wayland sessions.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.2
Comment 5 Patrick Silva 2019-05-03 21:07:53 UTC
This bug only occurs when I use breeze look and feel theme.
Font preview looks good with breeze dark.
Comment 6 Patrick Silva 2019-11-27 18:10:21 UTC
This issue persists even if breeze dark global theme is used, but not all fonts are affected.
For example Dolphin correctly shows the preview of NotoSans-BlackItalic.ttf located on /usr/share/fonts/noto/ with both breeze and breeze dark global themes.
However preview of NotoSans-Black.ttf fails with both breeze and breeze dark.

Operating System: Arch Linux 
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2
Comment 7 Patrick Silva 2021-09-20 15:05:22 UTC
Created attachment 141735 [details]
font preview with Breeze Dark global theme

I can't reproduce with Breeze global theme.
But preview rendered in black when Breeze Dark global theme is used does not look good.

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 8 Patrick Silva 2023-05-10 20:10:27 UTC
Created attachment 158841 [details]
screenshot of Dolphin 23.04

1. use Breeze Dark global theme
2. open fonts:/System/ with Dolphin . Or go to /usr/share/fonts/ and open a subfolder with font files.
3. make sure "Show tooltips" option is enabled in "General" section of Dolphin settings
4. hover over fonts

Result: font preview in dark on dark color in the tooltip and in the files view, as we can see in the screenshot attached to this comment. 

Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: Wayland