[GRASS-dev] [GRASS GIS] #2454: wxgui: list of db columns only becomes available after entering layer number by hand

#2454: wxgui: list of db columns only becomes available after entering layer
number by hand
--------------------------+-------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: columns list | Platform: Linux
      Cpu: Unspecified |
--------------------------+-------------------------------------------------
* Load a vector map with attribute table
  * In the d.vect dialogue go to the Labels section
  * Click on the widget for the list of attribute columns

=> empty (in trunk) or you cannot even open the list (grass64release)

  * Go into the layer number text field, erase the layer number (1) and
write the same layer number (1)

=> list is filled with available columns

You can also go into the Selection section and select first -1 as layer
number, then back to 1.

This is on Debian testing with wx 2.8.

Moritz

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

#2454: wxgui: list of db columns only becomes available after entering layer
number by hand
--------------------------+-------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: columns list | Platform: Linux
      Cpu: Unspecified |
--------------------------+-------------------------------------------------

Comment(by annakrat):

Weird, I have no problem, I can see the columns (latest trunk and release
branch, Ubuntu, wxPython 2.8). Anyone else can test?

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

#2454: wxgui: list of db columns only becomes available after entering layer
number by hand
--------------------------+-------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: columns list | Platform: Linux
      Cpu: Unspecified |
--------------------------+-------------------------------------------------

Comment(by annakrat):

Could you try r63173? I tried to fix this problem for wxPython 3. But I
didn't have the problem for 2.8, so I still don't know why it's not
working for you.

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

#2454: wxgui: list of db columns only becomes available after entering layer
number by hand
--------------------------+-------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: columns list | Platform: Linux
      Cpu: Unspecified |
--------------------------+-------------------------------------------------

Comment(by martinl):

Replying to [comment:2 annakrat]:
> Could you try r63173? I tried to fix this problem for wxPython 3. But I
didn't have the problem for 2.8, so I still don't know why it's not
working for you.

This commit seems to have a bad effect in 2.8. When I try to add raster
map from GUI, the `d.rast` doesn't react when you choose raster map from
the selection widget.

{{{
>>> wx.version()
'2.8.12.1 (gtk2-unicode)'
}}}

Can anybody confirm it? Martin

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

#2454: wxgui: list of db columns only becomes available after entering layer
number by hand
--------------------------+-------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: columns list | Platform: Linux
      Cpu: Unspecified |
--------------------------+-------------------------------------------------

Comment(by annakrat):

Replying to [comment:3 martinl]:
> Replying to [comment:2 annakrat]:
> > Could you try r63173? I tried to fix this problem for wxPython 3. But
I didn't have the problem for 2.8, so I still don't know why it's not
working for you.
>
> This commit seems to have a bad effect in 2.8. When I try to add raster
map from GUI, the `d.rast` doesn't react when you choose raster map from
the selection widget.
>
> {{{
> >>> wx.version()
> '2.8.12.1 (gtk2-unicode)'
> }}}
>
> Can anybody confirm it? Martin

Thanks, it should be fixed in r63199.

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

#2454: wxgui: list of db columns only becomes available after entering layer
number by hand
--------------------------+-------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: columns list | Platform: Linux
      Cpu: Unspecified |
--------------------------+-------------------------------------------------

Comment(by martinl):

Replying to [comment:4 annakrat]:

> Thanks, it should be fixed in r63199.

confirmed. Thanks for quick fix!

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

#2454: wxgui: list of db columns only becomes available after entering layer
number by hand
-----------------------+----------------------------------------------------
  Reporter: mlennert | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Resolution: fixed | Keywords: columns list
  Platform: Linux | Cpu: Unspecified
-----------------------+----------------------------------------------------
Changes (by mlennert):

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

Comment:

Works perfectly for me now as well. Thanks a lot !

Closing this ticket.

Moritz

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