Status on bug "ContextMenu not working in Spark Panel"

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Status on bug "ContextMenu not working in Spark Panel"

Maurice Amsellem

Hi,

 

I am using SDK 4.9 and run into an “old” SDK bug regarding ContextMenu.

 It appeared all of a sudden after moving a component into a Panel:  context menus stopped working, and it took me a few hours to realize it was a flex bug.

 

This bug is referenced many times in JIRA:

 

FLEX-23720

ContextMenu does not work for components inside s:Panel

Closed

Duplicate

09/Apr/10

14/Sep/11

 

FLEX-23765

SparkPanel doesn't accept ContextMenu...

Closed

Duplicate

14/Apr/10

15/Apr/10

 

FLEX-23107

Spark TextInput copy/paste context menu doesn't work when
displayed in TitleWindow via PopupManager

Closed

Duplicate

12/Feb/10

22/Jul/10

 

 

However, all items are marked as “Duplicate”, so which one is the original and which one is duplicate?

 

The root cause for this bug and related ones seems to be: (nice number)

 

FLEX-11111

 

If you right-click on a component that has mouseEnabled=false,
the contextMenu for its parent is triggered rather than the contextMenu of the component below your mouse click

Closed

Later

19/Jun/07 29/Apr/11

 

But it looks like Adobe has decided not to fix it because a workaround exists  (resolved = Later).

 

 

Can someone please clarify the status of this issue:

-           Is it fixed or not ?

-          What would be the impact/regressions of setting “mouseEnabled=”true” in Panel and PanelSkin, as indicated in the workaround ?

 

Regards,

 

Maurice

 

Reply | Threaded
Open this post in threaded view
|

Re: Status on bug "ContextMenu not working in Spark Panel"

jmclean
Administrator
Hi,

Looks like this is the open bug and it contains a bit more detail/a work around.

https://issues.apache.org/jira/browse/FLEX-23213

Thanks,
Justin
Reply | Threaded
Open this post in threaded view
|

RE: Status on bug "ContextMenu not working in Spark Panel"

Maurice Amsellem
Thanks Justin.  It's indeed more detailed.

Do you think that the proposed workaround (in TitleWindowSkin and PanelSkin) could be included in the SDK?
 
Proposed workaround :
Add the following properties & handlers to RectangularDropShadow in TitleWindowSkin:
mouseEnabled="true"
rollOver="mouseEnabled = false; owner.mouseEnabled = false; if(dropShadow) dropShadow.mouseEnabled = false;"

Add the following handlers to "contents" Group:
rollOver="mouseEnabled = true; owner.mouseEnabled = true; if(dropShadow) dropShadow.mouseEnabled = true;"

Maurice

-----Message d'origine-----
De : Justin Mclean [mailto:[hidden email]]
Envoyé : mardi 29 janvier 2013 01:27
À : [hidden email]
Objet : Re: Status on bug "ContextMenu not working in Spark Panel"

Hi,

Looks like this is the open bug and it contains a bit more detail/a work around.

https://issues.apache.org/jira/browse/FLEX-23213

Thanks,
Justin