Bug 149278 - qt/qfont: Squares instead of actual text in Impress in slides with Content
Summary: qt/qfont: Squares instead of actual text in Impress in slides with Content
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Qt5
  Show dependency treegraph
 
Reported: 2022-05-25 08:26 UTC by Michael Weghorn
Modified: 2023-07-08 19:32 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample doc (13.36 KB, application/vnd.oasis.opendocument.presentation)
2022-05-25 08:26 UTC, Michael Weghorn
Details
Screenshot (45.55 KB, image/png)
2022-05-25 08:26 UTC, Michael Weghorn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weghorn 2022-05-25 08:26:00 UTC
Created attachment 180362 [details]
Sample doc

0) start Impress with qt5 VCL plugin on Linux:
   SAL_USE_VCLPLUGIN ./instdir/program/soffice.bin --impress
1) open attached sample document "sample.odp"
2) look how it's displayed

Actual result:
Instead of the actual title placeholder on the first slide, there are only "rectangles", i.e. the text is rendered incorrectly

Expected result:
The title placeholder "Click to add Title" should be shown.

Further information:

* This only happens with the qt5/qt6 VCL plugin with qfont rendering, i.e. not in kf5 by default, and not when setting SAL_VCL_QT5_USE_CAIRO=1 explicitly
* The problem remains when typing actual text, e.g. "test" for the title.
* This seems to be related to the font "Source Sans Pro Black" used for the title, which is not installed on my system. When switching to another font, the text is displayed just fine.
* This might be how Qt handles this, so maybe "Works as designed" (NOTOURBUG) from LO perspective?

Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: 27fb97fbfe3da858cefb830614c90a496dfe3ad6
CPU threads: 12; OS: Linux 5.17; UI render: default; VCL: qt5 (qfont+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 1 Michael Weghorn 2022-05-25 08:26:24 UTC
Created attachment 180363 [details]
Screenshot
Comment 2 Timur 2022-06-02 14:43:39 UTC
I guess I reproduced. Except, not on 1st slide title but on 2nd slide text for "Title, Content" and any slide with Content. 
I don't see relation to that font, same if changed.
Comment 3 ⁨خالد حسني⁩ 2023-07-08 19:32:46 UTC
The qt5/qt6 VCL plugins are never enabled automatically, we never advertised them, and the text handling is known to be incomplete and buggy.

Unless one is also volunteering to fix these issue, there is no point in reporting them.