Bug 510356

Summary: Okular doesn't show emojis in headings
Product: [Applications] okular Reporter: Bengt Gorden <bengan>
Component: markdown backendAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aacid, bengan
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: md file with headings 1-6 and two lines with body text
Actual rendering

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