https://bugs.kde.org/show_bug.cgi?id=497116
Bug ID: 497116 Summary: Unable to open font on Wayland Classification: Applications Product: kfontview Version: 6.2.4 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: dantmnf2+kdeb...@gmail.com Target Milestone: --- SUMMARY The kfontview and kcm_fontinst is broken (again) on Wayland STEPS TO REPRODUCE 1. Start a Plasma Wayland session 2. Use kfontview to open a random font OBSERVED RESULT % kfontview /usr/share/fonts/noto/NotoSans-Regular.ttf kf.xmlgui: cannot find .rc file "kfontviewpart.rc" for component "kfontviewpart" kf.kio.core: Url QUrl("file:///usr/share/fonts/noto/NotoSans-Regular.ttf") already represents a local file, cancelling job. X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 139 (RENDER) Minor opcode of failed request: 20 (RenderAddGlyphs) Serial number of failed request: 19 Current serial number in output stream: 374 Similarly, the kcm_fontinst will crash kcmshell or systemsettings: % systemsettings kcm_fontinst Service org.kde.fontinst not registered, starting "/usr/lib/kf6/kauth/fontinst" qml: Page SubCategoryPage_QMLTYPE_130(0x5b61530315b0) is already in the PageRow qml: Pushed pages do not conform to the rules. Please check the documentation. qml: push (file:///usr/lib/qt6/qml/org/kde/kirigami/PageRow.qml:223) onActiveSubCategoryRowChanged (qrc:/qt/qml/org/kde/systemsettings/SubCategoryPage.qml:180) X Error of failed request: BadLength (poly request too large or internal Xlib length error) Major opcode of failed request: 139 (RENDER) Minor opcode of failed request: 20 (RenderAddGlyphs) Serial number of failed request: 19 Current serial number in output stream: 370 EXPECTED RESULT kfontview opens a preview window SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.1 ADDITIONAL INFORMATION With QT_QPA_PLATFORM=xcb, the preview window is correctly shown. -- You are receiving this mail because: You are watching all bug changes.