#1616: WXGUI selecting to render a map and map selection bind to same event in
layer manager
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.2
Keywords: | Platform: MSWindows Vista
Cpu: Unspecified |
-------------------------+--------------------------------------------------
When I click on the checkbox to render/disable map rendering in WXGUI
layer manager, the map is selected. Clicking on the next map's checkbox
will select it too.
Now when I try to get rid of this selection to have only one map selected
by clicking on map name - nothing happens.
When I click outside of checkbox and outside of map name, it gets
unselected, still it also triggers a rendering checkbox value change (i.e.
from "not render" to "render").
The problem comes from the fact, that checkbox and the background of map
layer entry both respond to same single event. Selecting a map to render
or not shouldn't change it's selection and selecting/unselecting map layer
shouldn't change it's rendering status. Current implementation makes
really hard to select and change rendering options for multiple map
layers.
#1616: WXGUI selecting to render a map and map selection bind to same event in
layer manager
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.2
Keywords: | Platform: MSWindows Vista
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by annakrat):
There are more problems. One of them is that layer selection and changing
checkbox state should be independent which was not working properly. This
issue should be fixed in r52913 (grass 7). Please could you test it works
also on Windows? I can then backport it.
Other issue is related more to wxPython/wxWidgets. When you click outside
the layer name it triggers the change of checkbox state. This behaviour is
the same like in wxPython demo. I am not sure if there is some workaround
for this.
#1616: WXGUI selecting to render a map and map selection bind to same event in
layer manager
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.2
Keywords: | Platform: MSWindows Vista
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by annakrat):
Replying to [comment:1 annakrat]:
> Other issue is related more to wxPython/wxWidgets. When you click
outside the layer name it triggers the change of checkbox state. This
behaviour is the same like in wxPython demo. I am not sure if there is
some workaround for this.
>