Opened 11 years ago

Closed 11 years ago

#548 closed defect (fixed)

Non-modal widgets are incorrectly highlighted

Reported by: jng Owned by: jng
Priority: P2 Milestone: Future
Component: Widgets Version: 2.0
Severity: Major Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

Widgets like:

  • Zoom In
  • Zoom Out
  • Zoom Extents

Are widgets that execute immediately when invoked. Such widgets are currently being highlighted in the toolbar, implying they only act on subsequent mouse clicks.

This can lead to very confusing UX. For example, if the active tool is "Zoom Rectangle" and the user invokes the "Zoom Out" widget, the "Zoom Out" and "Zoom Rectangle" widgets are both highlighted. Being the last invoked widget, users may believe that the currently active tool is "Zoom Out" when in fact the active tool is still "Zoom Rectangle" which will confuse them when clicking will actually zoom in (Zoom Rectangle) instead of what they're expecting (Zoom Out)

To avoid this confusion, such widgets should not stay highlighted when clicked.

Change History (3)

comment:1 by jng, 11 years ago

This did not happen in Fusion (circa MGOS 2.2). Something has regressed.

comment:2 by jng, 11 years ago

I strongly suspect that it is because most of the isMutEx()/setMutEx() properties added to the Widget class after MGOS 2.2.

Interrogating some of the "one-shot" widgets revealed that isMutEx() returned true when I would've expected it the return false for these widgets.

comment:3 by jng, 11 years ago

Resolution: fixed
Status: newclosed

Fixed r2663

Note: See TracTickets for help on using tickets.