Opened 10 years ago

Closed 9 years ago

#2454 closed defect (fixed)

wxgui: list of db columns only becomes available after entering layer number by hand

Reported by: mlennert Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: wxGUI Version: unspecified
Keywords: columns list Cc:
CPU: Unspecified Platform: Linux

Description

  • 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

Change History (6)

comment:1 by annakrat, 10 years ago

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

comment:2 by annakrat, 9 years ago

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.

in reply to:  2 ; comment:3 by martinl, 9 years ago

Replying to 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

in reply to:  3 ; comment:4 by annakrat, 9 years ago

Replying to martinl:

Replying to 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.

in reply to:  4 comment:5 by martinl, 9 years ago

Replying to annakrat:

Thanks, it should be fixed in r63199.

confirmed. Thanks for quick fix!

comment:6 by mlennert, 9 years ago

Resolution: fixed
Status: newclosed

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

Closing this ticket.

Moritz

Note: See TracTickets for help on using tickets.