Ticket #562 (closed defect: fixed)

Opened 8 weeks ago

Last modified 7 weeks ago

Context menus reference wrong major mode when main AUI window is split

Reported by: anonymous Owned by: rob
Priority: minor Milestone: 0.9
Component: application Keywords:
Cc:

Description

AUI Notebooks can split themselves into multiple notebooks where tabs can be dragged and dropped across notebooks. Only a single tab in the set of notebooks is the active tab, but this feature means that multiple major modes are visible in the window at the same time. The menu system displays the menubar of the active tab, but it is possible to right click in the major mode of an inactive tab, which should cause that mode's actions to be called. However, the action gets referred to the active tab, resulting in a list of actions applying to an incorrect major mode.

Need to change the popup system to recognize that a popup is being called against an inactive tab.

Attachments

Change History

Changed 7 weeks ago by rob

  • status changed from new to closed
  • resolution set to fixed

(In [1750]) Fixed #562: context menus now determine which major mode they should be applied against rather than assuming the currently active mode

  • added mode keyword to SelectAction?.init to force major mode instead of getActiveMajorMode
  • modified popupActions to verify the major mode rather than always using getActiveMajorMode

Add/Change #562 (Context menus reference wrong major mode when main AUI window is split)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.