[QGIS-Developer] Unabbreviated expression evaluation preview?

Johannes Kröger (WhereGroup) johannes.kroeger at wheregroup.com
Mon Nov 22 06:23:29 PST 2021


Nice, I actually had the same thought of a "copy" icon because a text 
area would look super messy. I'll make two feature request for this 
later: 1) Copy to clipboard and 2) "Show full value" or something to 
open a dialog with the whole mess

Cheers
Hannes

Am 22.11.21 um 15:14 schrieb Andreas Neumann:
> Agreed - I also like the "Copy to Clipboard" idea.
>
> Andreas
>
> On Mon, 22 Nov 2021 at 14:45, Matthias Kuhn <matthias at opengis.ch 
> <mailto:matthias at opengis.ch>> wrote:
>
>     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
>     <mailto: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
>         <mailto:johannes.kroeger at wheregroup.com>
>         www.wheregroup.com <http://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/ <https://where2b-conference.com/>
>         ********************************************
>
>         _______________________________________________
>         QGIS-Developer mailing list
>         QGIS-Developer at lists.osgeo.org
>         <mailto:QGIS-Developer at lists.osgeo.org>
>         List info:
>         https://lists.osgeo.org/mailman/listinfo/qgis-developer
>         <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>         Unsubscribe:
>         https://lists.osgeo.org/mailman/listinfo/qgis-developer
>         <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>
>     _______________________________________________
>     QGIS-Developer mailing list
>     QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>     <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>     Unsubscribe:
>     https://lists.osgeo.org/mailman/listinfo/qgis-developer
>     <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>
>
>
> -- 
>
> --
> Andreas Neumann
> QGIS.ORG <http://QGIS.ORG> board member (treasurer)

-- 
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/
********************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20211122/1f84170f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xBF7B268A77C202D5.asc
Type: application/pgp-keys
Size: 2471 bytes
Desc: OpenPGP public key
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20211122/1f84170f/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20211122/1f84170f/attachment.sig>


More information about the QGIS-Developer mailing list