Closed tudorbarascu closed 2 years ago
@tudorbarascu just to point out that if you uncheck HTML it does not completely work because there is no way to go back to NULL once you have typed something in the text edit.
@tudorbarascu just to point out that if you uncheck HTML it does not completely work because there is no way to go back to NULL once you have typed something in the text edit.
Thanks for the info. That's ok.
What is the bug or the crash?
Using Drag & Drop Designer Control visibility by expression Doesn't work when is based on a
html_field IS NOT NULL
expression and thehtml_field
widget is configured with theHTML
checked like in the image. I've attached a test project. If I untick theHTML
option then the rule works as it should and the Bug Group is hidden.Steps to reproduce the issue
Download the attached project visibility_by_expression_bug.zip
Open the form of the point and you shouldn't see the Bug group as the expression should have hidden it.
If you untick the
HTML
box in the textedit widget it works.Tried also with master build from source just now.
Versions
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
QGIS version | 3.22.3-Białowieża | QGIS code revision | 22ecf35491 -- | -- | -- | -- Qt version | 5.15.2 Python version | 3.9.2 GDAL/OGR version | 3.4.1 PROJ version | 7.2.1 EPSG Registry database version | v10.008 (2020-12-16) GEOS version | 3.10.2-CAPI-1.16.0 SQLite version | 3.34.1 PDAL version | 2.2.0 PostgreSQL client version | 14.2 (Debian 14.2-1.pgdg110+1) SpatiaLite version | 5.0.1 QWT version | 6.1.4 QScintilla2 version | 2.11.6 OS version | Debian GNU/Linux 11 (bullseye) | | | Active Python plugins pluginbuilder3 | 3.2.1 wps | 3.0.0 slyr_community | 3.2.1 Discovery | 2.5.7 mask | 1.10.1 project_export_inspire | 1.0.0 pg_history_viewer | 2.2 QNEAT3 | 1.0.4 LAStools | 1.4 qgis_resource_sharing | 0.16.0 water_topology_plugin | 0.1 water_analytics | 0.1 QGIS_Dashboard-master | 0.1 plugin_reloader | 0.9.1 qtibia_docs_py3 | 0.1 scriptrunner3 | 3.0.5 QuickWKT | 3.1 searchlayers | 3.0.5 trackable_project_files | v1.2.2 db_manager | 0.1.20 sagaprovider | 2.12.99 processing | 2.12.99 grassprovider | 2.12.99 QGIS version 3.22.3-Białowieża QGIS code revision [22ecf35491](https://github.com/qgis/QGIS/commit/22ecf35491) Qt version 5.15.2 Python version 3.9.2 GDAL/OGR version 3.4.1 PROJ version 7.2.1 EPSG Registry database version v10.008 (2020-12-16) GEOS version 3.10.2-CAPI-1.16.0 SQLite version 3.34.1 PDAL version 2.2.0 PostgreSQL client version 14.2 (Debian 14.2-1.pgdg110+1) SpatiaLite version 5.0.1 QWT version 6.1.4 QScintilla2 version 2.11.6 OS version Debian GNU/Linux 11 (bullseye) Active Python plugins pluginbuilder3 3.2.1 wps 3.0.0 slyr_community 3.2.1 Discovery 2.5.7 mask 1.10.1 project_export_inspire 1.0.0 pg_history_viewer 2.2 QNEAT3 1.0.4 LAStools 1.4 qgis_resource_sharing 0.16.0 water_topology_plugin 0.1 water_analytics 0.1 QGIS_Dashboard-master 0.1 plugin_reloader 0.9.1 qtibia_docs_py3 0.1 scriptrunner3 3.0.5 QuickWKT 3.1 searchlayers 3.0.5 trackable_project_files v1.2.2 db_manager 0.1.20 sagaprovider 2.12.99 processing 2.12.99 grassprovider 2.12.99 ### Supported QGIS version - [X] I'm running a supported QGIS version according to the roadmap. ### New profile - [X] I tried with a new QGIS profile ### Additional context _No response_