Opened 7 years ago

Last modified 6 years 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 by balagates, 7 years ago

Component: DefaultwxGUI

comment:2 by martinl, 7 years ago

Milestone: 7.2.4

comment:3 by balagates, 6 years ago

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).

in reply to:  3 comment:4 by hellik, 6 years ago

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 by balagates, 6 years ago

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 by martinl, 6 years ago

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