https://bugs.kde.org/show_bug.cgi?id=519779

David <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #8 from David <[email protected]> ---
Reported with LLM help

Reliable reproducer on Ubuntu 26.04: Dolphin 25.12.3, Frameworks 6.24,
Qt 6.10.2, FreeType 2.14.2, Wayland, 150% display scale, subpixel RGB,
default Noto Sans.

Any file or folder whose name contains U+FDFD ﷽ crashes Dolphin as soon
as it is drawn:

  mkdir -p /tmp/t && touch '/tmp/t/﷽.txt'
  dolphin /tmp/t

Console output before the crash:

  render glyph failed err=62 face=..., glyph=158

Backtrace:

  #6  convertRGBToARGB, src=0x0, width=142, height=16, qfontengine_ft.cpp:787
  #7  QFontEngineFT::loadGlyph, glyph=158, format=Format_A32
  #8  QFontEngineFT::loadGlyphFor
  #9  QFontEngineFT::glyphData
  #10 QRasterPaintEngine::drawCachedGlyphs
  #13 KStandardItemListWidget::paint

Glyph 158 is uniFDFD in NotoSansArabicUI-Regular.ttf, which is about
7.2 em wide. It does not crash at 100% scale, so it depends on the
rendered glyph size. That probably explains why reproduction has been
inconsistent.

FT_Render_Glyph fails and Qt then reads from a null bitmap. This matches
QTBUG-145310, fixed in qtbase commit 1b4f4b1797bc "freetype: Handle
failing glyph rendering". It is a Qt bug rather than a Dolphin one.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to