Opened 7 years ago

Last modified 6 years ago

#362 new enhancement

GeoExt.Action must be part of Ext.menu.Menu to toggle menu items correctly

Reported by: astewart Owned by:
Priority: major Milestone: 1.2
Component: GeoExt.Action Version: trunk
Keywords: GeoExt.Action Ext.Toolbar Cc:
State: Needs more work

Description

If an Ext toolbar is used with GeoExt.Action items pushed to the toolbar, and also an Ext.menu.Menu is used with Actions that belong to the same togglegroup/group the toggle will not work correctly unless the toolbar items are also added to the Ext.menu.Menu

I have attached 2 html file examples - the first one works because all GeoExt.Action items that are set to toggle are also added to the Ext.menu.Menu. The second does not work because the actions are removed from the menu but left on the toolbar and the toggle does not work properly.

Attachments (2)

working.htm (5.5 KB) - added by astewart 7 years ago.
Working Example - all toggles work (items are on menu and toolbar)
not_working.htm (5.0 KB) - added by astewart 7 years ago.
Not working - item were left in menu but removed from toolbar, toggle doesn't work

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by astewart

Working Example - all toggles work (items are on menu and toolbar)

Changed 7 years ago by astewart

Not working - item were left in menu but removed from toolbar, toggle doesn't work

comment:1 Changed 7 years ago by astewart

Made a slight mistake in my description - meant to say you must leave the items on either the toolbar or inside the ext.menu.Menu for the toggle to work properly. If the items such as polyline/line are removed from the toolbar but left in the Menu and the other toolbar items (nav, select) are left in the toolbar but not in the menu the toggle is non functioning.

comment:2 Changed 6 years ago by ahocevar

  • Milestone changed from 1.1 to 1.2

Batch move of tickets to finish the 1.1 milestone.

Note: See TracTickets for help on using tickets.