-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML frame doesn't show content #58975
Comments
@dsanjurjo, the HTML frame item is based on QtWebkit and it looks like that in both the openSUSE and the Flatpack builds of QGIS the use of QtWebkit is disabled. See #58491, https://forums.opensuse.org/t/what-happened-to-libqt5-qtwebkit/148414, https://build.opensuse.org/projects/openSUSE:Factory/packages/qgis/files/qgis.spec, https://github.com/flathub/org.qgis.qgis/blob/9c0ec8ed22265ed68124fc3795dcf59e4aa87aa5/org.qgis.qgis.json#L72 |
So can I download WebKit (including dev libraries), Qgis srpm, and then recompile and rebuild the rpm for Qgis including WebKit support, or is it more complicated than this? Or is there a repository where I can download qgis for openSuse with WebKit support (and to realize my wet dreams, a gdal library with ECW support too*)? *I know (and did) how to rebuild gdal rpm with ECW support, but it is always easier if you find it done. |
@dsanjurjo, QGIS distributed by Conda-forge has the QtWebkit support enabled. |
Thanks, @agiudiceandrea . I'll give it a try. |
We should show a user - visible warning when this functionality is disabled. The current approach definitely isn't user friendly! |
When a layout is shown in the designer dialog which contains a html item, but qgis was built without webkit support, show a user- friendly warning in the item instead of rendering it blank Fixes qgis#58975
When webkit is not available Fixes qgis#58975
When a layout is shown in the designer dialog which contains a html item, but qgis was built without webkit support, show a user- friendly warning in the item instead of rendering it blank Fixes #58975
When webkit is not available Fixes #58975
What is the bug or the crash?
In composer, when adding a HTML Frame, it doesn't show any content, neither by url or source.
I've tried in diferent versions (including a flatpak install), and none works.
I've a openSUSE system. First I tried with Tumbleweed, and then with Leap 15.6 (fresh install).
Launching Qgis from console, I get this log:
Creating a new Print Layout:
src/app/layout/qgslayoutdesignerdialog.cpp:4074 : (restoreWindowState) [17174ms] restore of layout UI geometry failed
And creating, filling (source) and refresing a new HTML Frame, no logs, but no content rendered neither.
I've deleted previous profile too.
Steps to reproduce the issue
Open Qgis
Create a new Print Layout
Create a new HTML Frame.
Fill source or select a URL
Press "Refresh HTML"
HTML Frame stays empty
Versions
This copy of QGIS writes debugging output.
Active Python plugins
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
The text was updated successfully, but these errors were encountered: