qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.51k stars 2.99k forks source link

HTML frame not rendering text #58491

Closed hwanderer28 closed 1 month ago

hwanderer28 commented 1 month ago

What is the bug or the crash?

when creating a HTML frame either within the print layout or report section, the entered text (whether it is directly entered source code or via embedded file/link) will not be rendered on the page.

however adding a label item and rendering it as HTML works.

I have also tried downgrading to the current LTR - same issue. then I tried on my office machine today - also LTR - but windows OS and it worked there.

Steps to reproduce the issue

image

Versions

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

QGIS version | 3.38.1-Grenoble | QGIS code branch | Release 3.38 -- | -- | -- | -- Qt version | 5.15.14 Python version | 3.12.4 GDAL/OGR version | 3.9.1 PROJ version | 9.4.1 EPSG Registry database version | v11.006 (2024-03-13) GEOS version | 3.12.2-CAPI-1.18.2 Compiled against SQLite | 3.46.0 | Running against SQLite | 3.46.1 PDAL version | 2.7.2 PostgreSQL client version | 16.3 SpatiaLite version | 5.1.0 QWT version | 6.3.0 QScintilla2 version | 2.14.1 OS version | Arch Linux   |   |   |   Active Python plugins ViewshedAnalysis | 1.9 slyr_community | 5.0.0 SentinelHub | 2.0.2 quick_map_services | 0.19.34 QuickOSM | 2.2.3 qgis_hub_plugin | 0.1.2 processing_saga_nextgen | 1.0.0 QNEAT3 | 1.0.5 qfieldsync | v4.10.1 qgis-maptiler-plugin | 3.3.2 MetaSearch | 0.3.6 db_manager | 0.1.20 grassprovider | 2.12.99 processing | 2.12.99

Supported QGIS version

New profile

Additional context

No response

agiudiceandrea commented 1 month ago

@hwanderer28 have you clicked on "Refresh HTML" after the text was added in the Source text box?

hwanderer28 commented 1 month ago

@hwanderer28 have you clicked on "Refresh HTML" after the text was added in the Source text box?

yes I did, pardon me for not mentioning it.

agiudiceandrea commented 1 month ago

I think this may be an ArchLinux issue only.

nyalldawson commented 1 month ago

Probably the arch build has disabled Qt webkit support. In which case there's nothing we can do, HTML support will be disabled in that build.

Suggest we close as a downstream issue only.

agiudiceandrea commented 1 month ago

Confirmed as a downstream issue: https://github.com/archlinux/svntogit-community/commit/783d52696588264257eed9d32c9fd212d0fdeace https://gitlab.archlinux.org/archlinux/packaging/packages/qgis/-/commit/a13bdd70c2579e2b16878d3278235f3c90e08b05 https://gitlab.archlinux.org/archlinux/packaging/packages/qgis/-/blob/main/PKGBUILD?ref_type=heads#L41 https://lists.archlinux.org/hyperkitty/list/arch-dev-public@lists.archlinux.org/thread/Z3YJQFKJT3AXDTI33SBU52C6JK75GL5X/

@nyalldawson would't be the case to make the HTML frame item not available if qtwebkit is disabled?