#40: Copy button on wxgrass function forms does not work
---------------------+------------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: default | Version: svn-trunk
Keywords: wxgrass |
---------------------+------------------------------------------------------
Copy to clipboard button on wxgrass function forms, e.g.v.in.ascii, does
not work.
Cannot copy the command.
Current Grass63 svn.
O/S = Ubuntu 7.10
wxpython = 2.8.7.1 Happens
#40: Copy button on wxgrass function forms does not work
---------------------+------------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxgrass
---------------------+------------------------------------------------------
Changes (by martinl):
* component: default => Python
Comment:
Hi,
can you provide more detailed info? I cannot reproduce this behaviour
(Debian GNU/Linux, Python 2.4, wxPython 2.8.7.1). Here copying to
clipboard works. Martin
#40: Copy button on wxgrass function forms does not work
---------------------+------------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxgrass
---------------------+------------------------------------------------------
Comment (by brian):
Hi Martin
Still no copy even with latest builds, i.e the copy button does nothing.
#40: Copy button on wxgrass function forms does not work
---------------------+------------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxgrass
---------------------+------------------------------------------------------
Comment (by brian):
Using Ubuntu Hardy.
Still same error.
Cannot copy to clipboard from any wxpython form.
See attached screen shot:
#40: Copy button on wxgrass function forms does not work
---------------------+------------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxgrass
---------------------+------------------------------------------------------
Comment (by martinl):
Replying to [comment:3 brian]:
> Still same error.
> Cannot copy to clipboard from any wxpython form.
> See attached screen shot:
From attached screenshot I don't see anything strange. I don't fully
understand what is broken.
* launch GUI dialog
* set required parameters
* 'Copy'
* e.g. paste data from clipboard to xterm, works
* close dialog -> clipboard empty
#40: Copy button on wxgrass function forms does not work
---------------------+------------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: wxgrass
---------------------+------------------------------------------------------
Changes (by martinl):
#40: Copy button on wxgrass function forms does not work
---------------------+------------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: wxgrass
---------------------+------------------------------------------------------
Comment (by brian):
Replying to [comment:4 martinl]:
The screenshot shows the form after the copy button is pressed. Although
the bottom of the screenshot shows "copied to clipboard", there is nothing
in the clipboard and no error message.
Brian
> Replying to [comment:3 brian]:
> > Still same error.
> > Cannot copy to clipboard from any wxpython form.
> > See attached screen shot:
>
> From attached screenshot I don't see anything strange. I don't fully
understand what is broken.
>
> * launch GUI dialog
> * set required parameters
> * 'Copy'
> * e.g. paste data from clipboard to xterm, works
> * close dialog -> clipboard empty
>
> ?
>
> Martin
#40: Copy button on wxgrass function forms does not work
--------------------------+-------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: wxgrass
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by msieczka):
* platform: => Unspecified
* cpu: => Unspecified
Comment:
On Debian testing, amd64, python-wxgtk 2.8.8.1 after pressing 'Copy'
button there is also nothing in the clipboard that could be pasted into
e.g. a terminal with "right click > paste", but I can paste with middle
mouse button (both develbranch6 and trunk).
#40: Copy button on wxgrass function forms does not work
--------------------------+-------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: wxgrass
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by glynn):
Replying to [comment:7 msieczka]:
> On Debian testing, amd64, python-wxgtk 2.8.8.1 after pressing 'Copy'
button there is also nothing in the clipboard that could be pasted into
e.g. a terminal with "right click > paste", but I can paste with middle
mouse button (both develbranch6 and trunk).
That's due to the use of {{{wx.TheClipboard.UsePrimarySelection(True)}}}
in {{{mainFrame.OnCopy()}}}.
source:/grass/trunk/gui/wxpython/gui_modules/menuform.py@32365#L817
This causes the data to be copied to the primary selection rather than the
clipboard. An explicit "copy" operation should use the clipboard (this is
how Ctrl-C or Ctrl-Insert normally behave); the primary selection is for
the selection.
#40: Copy button on wxgrass function forms does not work
--------------------------+-------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: wxgrass
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by cmbarton):
Works on Mac in trunk and no changes to copy AFAIK. Is this still an issue
in other contexts?
#40: Copy button on wxgrass function forms does not work
---------------------+------------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: wxgrass
Platform: Linux | Cpu: x86-32
---------------------+------------------------------------------------------
Changes (by brian):
* platform: Unspecified => Linux
* cpu: Unspecified => x86-32
Comment:
Still an issue on Ubuntu 8.04.
Confirm that copy button on form does not copy data to clipboard, however
ctrl-middle mouse button will paste to terminal.
IMHO this should work the same as the tcltk gui and allow paste from
ctrl-v or right click.
#40: Copy button on wxgrass function forms does not work
---------------------+------------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords: wxgrass
Platform: Linux | Cpu: All
---------------------+------------------------------------------------------
Changes (by msieczka):
* version: svn-trunk => svn-develbranch6
* cpu: x86-32 => All
Comment:
Also still an issue on Debian testing amd64 with a recent develbranch6
r33280.
#40: Copy button on wxgrass function forms does not work
-------------------------+--------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: closed
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: worksforme | Keywords: wxgrass
Platform: Linux | Cpu: All
-------------------------+--------------------------------------------------
Changes (by cmbarton):
* status: new => closed
* resolution: => worksforme
Comment:
I commented out the line wx.TheClipboard.UsePrimarySelection(True) in
r35120 (develbranch_6). It works fine on the Mac. Please test to see if it
works OK on Linux now. If so, we can backport to releasebranch and grass
7.
#40: Copy button on wxgrass function forms does not work
-------------------------+--------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: closed
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: worksforme | Keywords: wxgrass
Platform: Linux | Cpu: All
-------------------------+--------------------------------------------------
Comment (by msieczka):
Replying to [comment:12 cmbarton]:
> I commented out the line wx.TheClipboard.UsePrimarySelection(True) in
r35120 (develbranch_6). It works fine on the Mac. Please test to see if it
works OK on Linux now. If so, we can backport to releasebranch and grass
7.
#40: Copy button on wxgrass function forms does not work
-------------------------+--------------------------------------------------
Reporter: brian | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: closed
Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: worksforme | Keywords: wxgrass
Platform: Linux | Cpu: All
-------------------------+--------------------------------------------------
Comment (by cmbarton):