Opened 6 years ago

Closed 6 years ago

#1997 closed enhancement (fixed)

Radio-button right-mouse icons

Reported by: olibclarke@… Owned by: Greg Couch
Priority: normal Milestone:
Component: General Controls Version:
Keywords: Cc: Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-18.6.0-x86_64-i386-64bit
ChimeraX Version: 0.9 (2019-06-05)
Description
Hi, not a bug but a (minor) feature request:

Would it be possible to make the "right mouse" mode buttons modal, so that the active mode is indicated in the GUI? This would I think provide clearer feedback to the user as to which mode is active at a given time. In this way, for certain modes perhaps clicking the mode a second time to deactivate it could also deactivate the effects of the mode (for example, clicking "clip" a second time could run ~clip)?.

I love the "zone" mode by the way - really handy used in conjunction with an EM map!

Cheers
Oli

Log:
UCSF ChimeraX version: 0.9 (2019-06-05)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open 1bl8 format mmCIF fromDatabase pdb

1bl8 title:  
Potassium channel (KCSA) from streptomyces lividans [more info...]  
  
Chain information for 1bl8 #1  
---  
Chain | Description  
A B C D | protein (potassium channel protein)  
  
  

> camera ortho

> toolshed show Toolbar

> ui mousemode rightMode "crop volume"

> ui mousemode rightMode clip

> ui mousemode rightMode clip

> ui mousemode rightMode clip

> ~clip

> ui mousemode rightMode zone

> zone /B:99

> zone /B:99 residueDistance 6.6 labelDistance 5.28 surfaceDistance 10.6

> zone /B:99 residueDistance 10.1 labelDistance 8.08 surfaceDistance 16.2

> zone /B:99 residueDistance 13.2 labelDistance 10.5 surfaceDistance 21.1

> zone /B:99 residueDistance 10.1 labelDistance 8.08 surfaceDistance 16.2

> zone /D:95

> zone /B:39

> zone /A:38

> zone /C:34

> zone /D:98

> zone /B:39

> zone label false

> zone clear

> zone clear

> zone /A:30

> zone label false

> zone clear

> zone clear

> zone clear

> zone /B:34

> zone label false

> zone clear

> zone clear

> zone /D:33

> zone label false

> zone /D:38

> zone /A:101

> zone label false

> ui mousemode rightMode "clip rotate"

> ui mousemode rightMode clip

> ui mousemode rightMode "clip rotate"

> ui mousemode rightMode clip




OpenGL version: 4.1 ATI-2.9.26
OpenGL renderer: AMD Radeon Pro 580 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (2)

comment:1 by pett, 6 years ago

Cc: Tom Goddard added
Component: UnassignedGeneral Controls
Owner: set to Greg Couch
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionRadio-button right-mouse icons
Type: defectenhancement

comment:2 by Greg Couch, 6 years ago

Resolution: fixed
Status: assignedclosed

The toolbar button that corresponds to the current right mouse mode is highlighted with a light green background.

Unfortunately, due to the toolbar implementation and the ability to stack buttons, the highlighting is limited to altering the icon. We tried using a green outline on the outside edge of the icon, and it works, but it makes the icon "busier" with more edges. So for now, we're sticking with changing the whole backgroud.

Note: See TracTickets for help on using tickets.