Bug 125943 (Qt5) - [META] Qt5 VCL backend bugs and enhancements (QPainter rendering only)
Summary: [META] Qt5 VCL backend bugs and enhancements (QPainter rendering only)
Status: RESOLVED FIXED
Alias: Qt5
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 125234 125925 125934 128470 131625 132569 133049 136902 136915 137794 137804 140947 141504 141623 143796 144601 145005 145704 147909 148481 149278 150303 151273 151925 152212 152281 152282 159494
Blocks: Desktop-Environment
  Show dependency treegraph
 
Reported: 2019-06-15 22:10 UTC by Jan-Marek Glogowski
Modified: 2024-08-15 11:18 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Marek Glogowski 2019-06-15 22:10:46 UTC
Description:
The qt5 plugin implements two rendering paths: the default but experimental QPainter based one and the Cairo based one, which is also used by all other Unix plugins. This bug is used to track QPainter based problems. Cairo bugs should be tagged for KDE.

Steps to Reproduce:
-

Actual Results:
-

Expected Results:
-


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Jan-Marek Glogowski 2019-06-15 22:20:21 UTC
You can can run qt5 with cairo by setting SAL_VCL_QT5_USE_CAIRO.
Comment 2 Michael Weghorn 2019-06-15 22:32:05 UTC
(In reply to Jan-Marek Glogowski from comment #0)
> The qt5 plugin implements two rendering paths: the default but experimental
> QPainter based one and the Cairo based one, which is also used by all other
> Unix plugins. This bug is used to track QPainter based problems. Cairo bugs
> should be tagged for KDE.

..., i.e. the KDE meta bug 102495
Comment 3 Michael Weghorn 2024-02-12 22:01:29 UTC Comment hidden (off-topic)
Comment 4 Michael Weghorn 2024-02-12 22:02:15 UTC Comment hidden (off-topic)
Comment 5 Michael Weghorn 2024-08-15 11:18:05 UTC
Since


    commit f9b16330f13d3ad43de6de026206577bfa1ac85d
    Author: Khaled Hosny
    Date:   Sat Jul 8 22:42:12 2023 +0300

        tdf#151273, tdf#151925: Don’t use QFont text layout by default
        
        We were enabling QFont for qt5 VCL plugin by default, but it is buggy
        and some distributions seem to enabled qt5 VCL plugin even if we don't
        recommend it.
        
        Since the QFont code is incomplete and no one is working on it, lets
        make people’s life easier by making it always off by default.
        
        This removed the SAL_VCL_QT5_USE_CAIRO envvar and replaces it with
        SAL_VCL_QT_USE_QFONT that does the reverse. Also SAL_VCL_KF5_USE_QFONT
        is dropped in favor of SAL_VCL_QT_USE_QFONT.

, the qt5 VCL plugin now also uses the Cairo font rendering path by default instead of the experimental QPainter based one.

All bugs currently set as blocking for this one here are marked as resolved.

Therefore, I'm closing this as fixed now. In case the QPainter based rendering path attracts more attention again in the future, I'd suggest to create a new meta bug, as it's not really related to the qt5 VCL plugin per se. (This bug here can then be set as blocking for the new one, so the connection is still there.)

Issues seen with the (now default) Cairo rendering path with the qt5 VCL plugin should be added to the kf5 meta bug (tdf#102495) instead, as was always the case.