Bug report #12433
Expression builder dialog becomes too wide because of preview string
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Windows 8.1||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||20604|
When you enter an expression that has a very long result (eg.
geomToWKT( $geometry ) with complex geometries ), the expression builder dialog gets extremely wide (way beyond the screen) because the text doesn't wrap and is displayed completely.
It's annoying because you can't see the OK/Cancel buttons anymore.
Tested under Windows 8.1 and QGIS nightly.
I think the result should be limited to maybe 100 characters ?
Truncate expression preview result in builder widget if too long
Prevents window from resizing to extreme widths (fix #12433)