History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-15555
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: None None
Assignee: Peter deHaan (Adobe)
Reporter: Peter deHaan (Adobe)
Votes: 1
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Flex SDK

MenuBar on right edge of Flex application displays Menu off screen on first launch

Created: 05/13/08 01:14 PM   Updated: 11/12/08 08:12 AM
Component/s: mx: Menu Bar
Security Level: Public (All JIRA Users )

File Attachments: 1. Text File bug.mxml (0.5 kb)
2. File bug.swf (399 kb)
3. Text File workaround.mxml (0.7 kb)
4. File workaround.swf (399 kb)

Image Attachments:

1. screenshot-1.jpg
(35 kb)

2. screenshot-2.jpg
(37 kb)
Issue Links:
Duplicate
This issue duplicates:
SDK-14783 The last menu of the MenuBar is not s... C Open
 

Severity: Incorrectly Functioning with Workaround
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Flex 3 (Released)
Affected OS(s): All OS Platforms - All
Steps to Reproduce:
Steps to reproduce:
1. Compile and run bug.mxml (or view bug.swf)
2. Click the "More" MenuBar to display the menu.

 
Actual Results:
Menu is clipped
 
 
Expected Results:
Menu is not clipped. Menu should be aligned to edge of Flex application.
 
 
Workaround (if any):
See attached workaround.mxml or workaround.swf.
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Joan Lafferty
Resolved by: Joan Lafferty
Participants: Eric Belair, Joan Lafferty, Joshua Stewardson and Peter deHaan (Adobe)


 All   Comments      Sort Order:
Peter deHaan (Adobe) - [05/13/08 01:15 PM ]
Not a regression. Reproduced issue in 201.3 and Flex 3.

Peter deHaan (Adobe) - [05/13/08 01:21 PM ]
screenshot-1: Menu position the first time you click "More" MenuBar.
screenshot-2: Menu position the second time you click MenuBar.

Joan Lafferty - [05/16/08 04:54 PM ]
Reproduced in Flex 3. Sending for internal review.

Joan Lafferty - [06/20/08 05:48 PM ]
Duplicate of SDK-14783

Joshua Stewardson - [07/24/08 02:32 PM ]
The workaround is only a partial solution, because with sub-menus if you hover they display on top of the original menu (which could completely hide the original menu possibly). Also, if you click on the sub-menu link it then shows the sub-menu underneath the original menu which makes it impossible to select sub-menu options.

I saw the patch on the duplicate issue of this was rejected? Any ideas when a patch that won't be rejected will be added? (sorry, I'm new so still learning how the bug process works).

Joshua Stewardson - [07/24/08 02:33 PM ]
Just to clarify, is this closed because of the duplicate?

Peter deHaan (Adobe) - [07/24/08 03:04 PM ]
Joshua,

Correct, this bug was closed because it was a duplicate of issue SDK-14783 .

Peter

Eric Belair - [11/12/08 08:12 AM ]
@Peter, You should add this as a Flex Cookbook post. FYI, in my Custom ActionScript Class that extends MenuBar, the Menu does not yet exist during the initialize phase, so I had to use a creationComplete listener/handler:

package
{
    import mx.controls.Menu;
    import mx.controls.MenuBar;
    import mx.events.FlexEvent;
    
    public class CustomMenuBar extends MenuBar
    {
        public function CustomMenuBar()
        {
            super();
            
            addEventListener(FlexEvent.CREATION_COMPLETE,
                                        creationCompleteHandler);
        }
        
        private function creationCompleteHandler(event:FlexEvent):void
        {
            var menu:Menu = this.getMenuAt(0);
            
            menu.show(0, 0);
            
            menu.hide();
        }
    }
}