You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Maurice Amsellem <ma...@systar.com> on 2013/01/29 01:12:43 UTC

Status on bug "ContextMenu not working in Spark Panel"

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:

[Bug]<https://issues.apache.org/jira/browse/FLEX-23720>

FLEX-23720<https://issues.apache.org/jira/browse/FLEX-23720>


ContextMenu does not work for components inside s:Panel

[Major]

[Closed]Closed

Duplicate

09/Apr/10

14/Sep/11



[Bug]<https://issues.apache.org/jira/browse/FLEX-23765>

FLEX-23765<https://issues.apache.org/jira/browse/FLEX-23765>


SparkPanel doesn't accept ContextMenu...

[Major]

[Closed]Closed

Duplicate

14/Apr/10

15/Apr/10



[Bug]<https://issues.apache.org/jira/browse/FLEX-23107>

FLEX-23107<https://issues.apache.org/jira/browse/FLEX-23107>


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

[Major]

[Closed]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)

[Bug]<https://issues.apache.org/jira/browse/FLEX-11111>FLEX-11111<https://issues.apache.org/jira/browse/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

[Minor]

[Closed]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


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

Posted by Maurice Amsellem <ma...@systar.com>.
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:justin@classsoftware.com] 
Envoyé : mardi 29 janvier 2013 01:27
À : users@flex.apache.org
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

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

Posted by Justin Mclean <ju...@classsoftware.com>.
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