Opened 10 years ago
Closed 9 years ago
#2313 closed enhancement (fixed)
display commands: add copy button to GUI
Reported by: | mlennert | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | wxGUI | Version: | svn-trunk |
Keywords: | display, d.* commands | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
I have a vague notion that this has been discussed before, but cannot find the discussion, so noting it here: All GRASS command GUI windows in the wxgui have a "Copy" button allowing to copy the command line created by the GUI. The display commands do not have such a button.
Why is this so ?
I think a Copy button would also be helpful in the display command GUI windows.
Moritz
Attachments (1)
Change History (8)
follow-up: 2 comment:1 by , 10 years ago
Keywords: | display d.* commands added |
---|
comment:2 by , 10 years ago
Replying to wenzeslaus:
However,
d.*
commands works in GUI (at least the ones available from GUI), i.e. are usable in GUI command line, so "Copy" could be quite advantageous for advanced users and also for saving (and sharing) commands and perhaps even writing scripts.
It's also useful for the terminal command line (yes, some of the old people around here do use that ! ;-) )
Moritz
comment:3 by , 10 years ago
/grass/trunk/gui/wxpython/gui_core/forms.py changed to let the Copy button omnipresent in forms
Source attached (full forms.py) Tested and still testing on Trunk 7.1 seems to be ok.
by , 10 years ago
full forms.py making copy omnipresent... trying to make diff or whatever...
comment:7 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I agree.
I think the idea behind not having the "Copy" button there is that you are not expected to use
d.*
commands in GUI and that novice users might be confused by seeing command behind "adding of the layer".However,
d.*
commands works in GUI (at least the ones available from GUI), i.e. are usable in GUI command line, so "Copy" could be quite advantageous for advanced users and also for saving (and sharing) commands and perhaps even writing scripts.