[GRASS-dev] [GRASS GIS] #3592: cmd-c (copy on Mac) closes dialog in r.import

#3592: cmd-c (copy on Mac) closes dialog in r.import
----------------------+-------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: unspecified
Keywords: cmd-c | CPU: Unspecified
Platform: MacOSX |
----------------------+-------------------------
Try to copy something like the name of a file and it closes the dialog.
This is a really annoying bug. Probably easy to fix. Related to the still
unfixed bug in [https://trac.osgeo.org/grass/ticket/3008\]

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3592&gt;
GRASS GIS <https://grass.osgeo.org>

#3592: cmd-c (copy on Mac) closes dialog in r.import
--------------------------+-------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone:
Component: wxGUI | Version: 7.2.2
Resolution: | Keywords: cmd-c
       CPU: Unspecified | Platform: MacOSX
--------------------------+-------------------------
Changes (by cmbarton):

* version: unspecified => 7.2.2

Comment:

This still affects all GRASS 7 versions. Fix is probably similar to what
is needed for #3008

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3592#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3592: cmd-c (copy on Mac) closes dialog in r.import
--------------------------+-------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.4
Component: wxGUI | Version: 7.2.2
Resolution: | Keywords: cmd-c
       CPU: Unspecified | Platform: MacOSX
--------------------------+-------------------------
Changes (by cmbarton):

* milestone: => 7.2.4

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3592#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3592: cmd-c (copy on Mac) closes dialog in r.import
--------------------------+-------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.2
Component: wxGUI | Version: 7.2.2
Resolution: | Keywords: cmd-c
       CPU: Unspecified | Platform: MacOSX
--------------------------+-------------------------
Changes (by neteler):

* milestone: 7.2.4 => 7.6.2

Old description:

Try to copy something like the name of a file and it closes the dialog.
This is a really annoying bug. Probably easy to fix. Related to the still
unfixed bug in [https://trac.osgeo.org/grass/ticket/3008\]

New description:

Try to copy something like the name of a file and it closes the dialog.
This is a really annoying bug. Probably easy to fix. Related to the still
unfixed bug in #3008

--

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3592#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#3592: cmd-c (copy on Mac) closes dialog in r.import
--------------------------+-------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.2
Component: wxGUI | Version: 7.2.2
Resolution: | Keywords: cmd-c
       CPU: Unspecified | Platform: MacOSX
--------------------------+-------------------------

Comment (by nila):

This is still an issue with 7.8 branch and master (7.9.dev), with Python
3.8.2 and wxPython 4.0.7.post2.

I can add that this bug also appears with `v.import`.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3592#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>

#3592: cmd-c (copy on Mac) closes dialog in r.import
--------------------------+-------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.2
Component: wxGUI | Version: 7.2.2
Resolution: | Keywords: cmd-c
       CPU: Unspecified | Platform: MacOSX
--------------------------+-------------------------

Comment (by nila):

Most of or all of import/export dialogs based on
`gui/wxpython/modules/import_export.py` (class `ImportDialog()`) is
affected by this bug.

Fix proposed with https://github.com/OSGeo/grass/pull/393.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3592#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>

#3592: cmd-c (copy on Mac) closes dialog in r.import
--------------------------+-------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.2
Component: wxGUI | Version: 7.2.2
Resolution: | Keywords: cmd-c
       CPU: Unspecified | Platform: MacOSX
--------------------------+-------------------------

Comment (by nila):

Fixed with commit
​[https://github.com/OSGeo/grass/commit/69148c8c2adb85233af5d120b990748a2ac81121
69148c8]. This issue may be closed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3592#comment:6&gt;
GRASS GIS <https://grass.osgeo.org>

#3592: cmd-c (copy on Mac) closes dialog in r.import
--------------------------+-------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.6.2
Component: wxGUI | Version: 7.2.2
Resolution: fixed | Keywords: cmd-c
       CPU: Unspecified | Platform: MacOSX
--------------------------+-------------------------
Changes (by annakrat):

* status: new => closed
* resolution: => fixed

Comment:

Thanks!

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3592#comment:7&gt;
GRASS GIS <https://grass.osgeo.org>