View Issue Details

IDProjectCategoryView StatusLast Update
0003809JEDI VCL00 JVCL Componentspublic2007-01-04 01:54
ReporterNanotonneAssigned Toobones 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionwon't fix 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0003809: TJvMRUManager don't add correctly menu 'after' a menu item in Popup/or Main Menu when MenuLocation=mruSibling
DescriptionTJvMRUManager don't add correctly menu 'after' a menu item in Popup/or Main Menu when MenuLocation=mruSibling and RecentMenu is affected with a item menu.
See example+snapshot picture added .
Additional InformationNormally, when we add MRU List with
"JvMRUManager1.Add('TestMRU',3);" and MenuLocation=mruSibling,
'TestMRU' should be placed AFTER item menu affected by "RecentMenu", but it work only gread(correctly) if "RecentMenu" is affected by a Subemnu item, not for a 'Root' menu item (one first parent item).
For a PopupMenu component, it doesn't work visually correctly (not placed at good place, but its showed as entierly submenu as part separatly, and for ManMenu component, time to time (rarely bue a little), it's need to have too AFTER main item (on the next, on left of the "main" item menu for MainMenu component (see picture!!)

In my sample picture, items MRU should be placed in next item of "RecentMenu" value, here is in Green and Yellow Circle logically.

i think it's necesarry (too) to add a special publised property named "RootRecentMenuAllowed (boolean) to permit(forced) this feature(item AFTER other item for all type menu in "root" menu, if FALSE then we don't change comportment

thank !!!
TagsNo tags attached.

Activities

2006-07-12 17:36

 

TestMenuMRUProject1.zip (317,787 bytes)

2006-07-12 17:36

 

testMRU.jpg (54,499 bytes)
testMRU.jpg (54,499 bytes)

Nanotonne

2006-07-12 18:17

reporter   ~0009792

thank to confirm this feature (correction?) for popup or main menu style

obones

2006-08-30 07:50

administrator   ~0010046

I have a very hard time to understand what the problem is and where it comes from.
Please try to rephrase all this using simple sentences, even better, use steps.

obones

2007-01-04 01:53

administrator   ~0010507

This is "as designed".
Look at line 399 in JvMRUManager.pas and you will see that the sibling mode will only work if the menu item has a parent and if that parent is NOT a top level menu item. If not, then it behaves just like the child mode.
So this behaviour is expected and no change will be made.

Issue History

Date Modified Username Field Change
2006-07-12 17:36 Nanotonne New Issue
2006-07-12 17:36 Nanotonne File Added: TestMenuMRUProject1.zip
2006-07-12 17:36 Nanotonne File Added: testMRU.jpg
2006-07-12 18:17 Nanotonne Note Added: 0009792
2006-08-30 07:50 obones Note Added: 0010046
2006-08-30 07:50 obones Status new => feedback
2007-01-04 01:53 obones Status feedback => resolved
2007-01-04 01:53 obones Resolution open => won't fix
2007-01-04 01:53 obones Assigned To => obones
2007-01-04 01:53 obones Note Added: 0010507