[GRASS-dev] [GRASS GIS] #1897: grass7 wxgui query: allow copying individual elements from query results
GRASS GIS
trac at osgeo.org
Tue Feb 26 00:53:09 PST 2013
#1897: grass7 wxgui query: allow copying individual elements from query results
-------------------------+--------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: query | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by mlennert):
Replying to [comment:1 annakrat]:
> Replying to [ticket:1897 mlennert]:
> > In the current implementation of map querying in the grass7 wxgui,
when you click on the display a dedicated window ("Query results") opens
with the r/v.what results. One can copy the complete window contents to
the clipboard, but not individual elements.
>
> This is a limitation of wxPython. There are a few possibilities what to
do:
>
> * on right click show context menu with 'copy selected value'
Does this allow to select several lines of output and copy those, or would
this imply copying each element separately ? If the former, then I think
this would be a nice solution.
> * add checkbox 'show query results also in command console'
> * let the user choose in preferences if to use the dialog or not (use
command console)
I think this will lead to more confusion. Let's stick to one place.
>
> > Linked to that one might also question the need of the dedicated
display window. Why not simply continue to use the console output ?
>
> The dialog has some advantages:
>
> * dialog is more natural for new and not advanced users
I can see the idea (although I'm not sure that this is true for everyone),
but at the same time there are some that criticize the window inflation in
GRASS. Having one place (command console) for output reduces that
inflation and IMO makes usage more consistent.
> * the results are better organized, for example the output of raster
querying for more maps is a mess (but I understand that this argument is
more about the formatting than using dialog)
I do think that this can be solved by better formatting.
> * dialog uses tree structure, so you can hide some results
I agree that this is a nice feature, but not indispensable.
In summary, I won't make a religion out of the choice of dedicated window
vs console, but I do think that the query results have to be "copyable".
Also to echo an earlier debate [1], I still think that having the option
to access editable attributes without having to activate map feature
editing would be a plus.
Moritz
[http://lists.osgeo.org/pipermail/grass-dev/2013-February/062148.html 1]
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1897#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list