[GRASS-dev] [GRASS GIS] #3503: Map Display control button highlights do not reflect active mode

#3503: Map Display control button highlights do not reflect active mode
-----------------------------------------------+-------------------------
Reporter: balagates | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: 7.4.0
Keywords: map display zoom button highlight | CPU: OSX/Intel
Platform: MacOSX |
-----------------------------------------------+-------------------------
The active mode highlights for a number of button controls do not reflect
the actual state. The highlights for Pointer, Select Vector Features,
Query, Pan, Zoom In, Zoom Out seem to toggle individually each time a
button is pressed. I believe that pressing one of these buttons should
un-highlight all others in the group.

A simple example is first press the Zoom out then the Zoom in buttons. On
my installation both buttons are now highlighted. If I switch screens and
come back I cannot be certain which mode is active.

The workaround is every time you are uncertain what mode is active just
press the button again.

This problem existed in 7.2.2 also.

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

#3503: Map Display control button highlights do not reflect active mode
------------------------+-----------------------------------------------
  Reporter: balagates | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone:
Component: wxGUI | Version: 7.4.0
Resolution: | Keywords: map display zoom button highlight
       CPU: OSX/Intel | Platform: MacOSX
------------------------+-----------------------------------------------
Changes (by balagates):

* component: Default => wxGUI

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

#3503: Map Display control button highlights do not reflect active mode
------------------------+-----------------------------------------------
  Reporter: balagates | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.4
Component: wxGUI | Version: 7.4.0
Resolution: | Keywords: map display zoom button highlight
       CPU: OSX/Intel | Platform: MacOSX
------------------------+-----------------------------------------------

Comment (by balagates):

I now have access to Grass 7.4.0 with wxPython 3.0.2.0 on Ubuntu 18.04.
In this version that Map Display control buttons work as expected.
Therefore, this problem is likely due to some difference in OS (macOS vs
Linux).

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

#3503: Map Display control button highlights do not reflect active mode
------------------------+-----------------------------------------------
  Reporter: balagates | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.4
Component: wxGUI | Version: 7.4.0
Resolution: | Keywords: map display zoom button highlight
       CPU: OSX/Intel | Platform: MacOSX
------------------------+-----------------------------------------------

Comment (by hellik):

Replying to [comment:3 balagates]:
> I now have access to Grass 7.4.0 with wxPython 3.0.2.0 on Ubuntu 18.04.
In this version that Map Display control buttons work as expected.
Therefore, this problem is likely due to some difference in OS (macOS vs
Linux).

there is now GRASS 7.6 released; any chance to test it there?

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

#3503: Map Display control button highlights do not reflect active mode
------------------------+-----------------------------------------------
  Reporter: balagates | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.2.4
Component: wxGUI | Version: 7.4.0
Resolution: | Keywords: map display zoom button highlight
       CPU: OSX/Intel | Platform: MacOSX
------------------------+-----------------------------------------------

Comment (by balagates):

On my Mac running macOS 10.12.6 I installed the pre-built Grass 7.6.0 app
linked on the Grass download page. Within the Grass app it reports Python
2.7.15 and wxPython 4.0.3. The behavior I see has changed from my initial
report, but still is not what I expect. In 7.6.0 clicking on a Map
Display control, like zoom-in or zoom-out, causes it to flash briefly
(most of the time), but the hilite does not stick. If you click on zoom-
in it does zoom in and stay in that mode. I was expecting that, like on
my Ubuntu version, that while in zoom-in mode the zoom-in button would be
hilited.

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

#3503: Map Display control button highlights do not reflect active mode
------------------------+-----------------------------------------------
  Reporter: balagates | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.6.2
Component: wxGUI | Version: 7.4.0
Resolution: | Keywords: map display zoom button highlight
       CPU: OSX/Intel | Platform: MacOSX
------------------------+-----------------------------------------------
Changes (by martinl):

* milestone: 7.2.4 => 7.6.2

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