Bug 510356 - Okular doesn't show emojis in headings
Summary: Okular doesn't show emojis in headings
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: markdown backend (other bugs)
Version First Reported In: 25.08.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-07 18:36 UTC by Bengt Gorden
Modified: 2025-10-09 10:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
md file with headings 1-6 and two lines with body text (364 bytes, text/markdown)
2025-10-07 18:36 UTC, Bengt Gorden
Details
Actual rendering (35.77 KB, image/png)
2025-10-07 18:38 UTC, Bengt Gorden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bengt Gorden 2025-10-07 18:36:33 UTC
Created attachment 185581 [details]
md file with headings 1-6 and two lines with body text

SUMMARY
As the title says

STEPS TO REPRODUCE
1. Open attached md file in okular

OBSERVED RESULT
Two question sign where the emoji should be

EXPECTED RESULT
Should show emoji

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Opensuse Tumbleweed
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
Comment 1 Bengt Gorden 2025-10-07 18:38:36 UTC
Created attachment 185582 [details]
Actual rendering
Comment 2 Albert Astals Cid 2025-10-08 23:17:06 UTC
Unfortunately it is a bug in Qt.

Nothing we can really do in Okular to fix it.
Comment 3 Bengt Gorden 2025-10-09 07:38:41 UTC
Okay. What part of Qt would that be? Is there a bug report upstream to Qt for this?
Comment 4 Albert Astals Cid 2025-10-09 08:16:12 UTC
https://bugreports.qt.io/browse/QTBUG-140929
Comment 5 Bengt Gorden 2025-10-09 10:05:32 UTC
(In reply to Albert Astals Cid from comment #4)
> https://bugreports.qt.io/browse/QTBUG-140929

Thanks. When I did some quick tests this morning, I noticed that it seems to be the space between the # and the emoji that is being misinterpreted. If I do that, the emoji renders correctly.

# Test 🧭 Main points in summary