[QGIS-Developer] Unabbreviated expression evaluation preview?

Matthias Kuhn matthias at opengis.ch
Mon Nov 22 05:44:47 PST 2021


Hi Hannes,

Good request.
I think it's mainly the way it is for not cluttering the - already heavy -
interface too much. And potential performance problems if someone tries to
put the complete qgis source code into the preview (... that might lead to
other problems too ...)

I'd propose an on-demand popup and integrate a "copy to clipboard" action
at the same time.

That would justify a feature request on github.

Cheers
Matthias

On Mon, Nov 22, 2021 at 2:26 PM Johannes Kröger (WhereGroup) <
johannes.kroeger at wheregroup.com> wrote:

> Hi list,
>
> when developing QGIS expression the preview string output of the
> evaluation at the bottom of the dialog (e. g. Field Calculator) is super
> helpful. But it gets cut off after ~60 characters so for longer returns
> you cannot see them fully.
>
> Is there an important reason for that cutoff or would it theoretically
> be possible to display the whole return value (e. g. in a scrollable
> area if needed)? Maybe that would require a safety limit at a couple of
> thousand characters but it would allow for more insight.
>
> Cheers
> Hannes
>
> --
> Johannes Kröger / GIS-Entwickler/-Berater
> WhereGroup GmbH
> Eifelstraße 7
> 53119 Bonn
> Germany
>
> Tel: +49 (0)228 / 90 90 38 - 36
> Fax: +49 (0)228 / 90 90 38 - 11
>
> johannes.kroeger at wheregroup.com
> www.wheregroup.com
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
> -------------------------------
>
> ********************************************
> Where2B Konferenz 2021
> 16. Dezember 2021
> im Universitätsclub Bonn und online
> https://where2b-conference.com/
> ********************************************
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20211122/3082900e/attachment.html>


More information about the QGIS-Developer mailing list