Opened 21 months ago

Last modified 6 months ago

#3503 new defect

Map Display control button highlights do not reflect active mode

Reported by: balagates Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: wxGUI Version: 7.4.0
Keywords: map display zoom button highlight Cc:
CPU: OSX/Intel Platform: MacOSX

Description

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.

Change History (6)

comment:1 Changed 21 months ago by balagates

Component: DefaultwxGUI

comment:2 Changed 20 months ago by martinl

Milestone: 7.2.4

comment:3 Changed 10 months ago 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).

comment:4 in reply to:  3 Changed 10 months ago by hellik

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

comment:5 Changed 10 months ago 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.

comment:6 Changed 6 months ago by martinl

Milestone: 7.2.47.6.2
Note: See TracTickets for help on using tickets.