Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 422597

Summary: [Commands] Group menus "blink"
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: maciej.bendkowski, Silenio_Quarti
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
possible fix none

Description Malgorzata Janczarska CLA 2013-11-26 12:16:53 EST
Currently when we call renderCommands on a scope that contains a group menu, but all the actions in the group have visibleWhen==false the group menu shows for a short moment and then disappears. This is especially visible when the actions renderer on selection, because the menu blinks on every selection change.
I can see that in commands registry we must have something to prevent this, because there is still
> created.menuButton.style.visibility = "visible"
line present. But when we render the menuButton with style.visibility = "hidden" we can also see the blinking, but the other way around: when the group should be visible it disappears for a moment.
Comment 1 Maciej Bendkowski CLA 2013-11-28 03:55:38 EST
Possible duplicate: bug 418884.
Comment 2 Silenio Quarti CLA 2013-11-29 11:14:51 EST
Created attachment 237864 [details]
possible fix

This fixes the blinking of the "More" button.

Gosia, do you see the problem you described after making your change with this patch? Is there a case that shows that issue in Orion?
Comment 3 Malgorzata Janczarska CLA 2013-11-29 12:14:05 EST
I bumped on this problem while implementing stuff for deploy story, so it's not yet in the code, but as Maciek pointed bug 418884 that is probably another example (your patch fixes it).

As for your patch, this is exactly what I meant in here:
> But when we render the menuButton with style.visibility = "hidden" we can also see the blinking, but the other way around: when the group should be visible it disappears for a moment.
If you apply your patch and then go to navigator, select something and then keep pressing up or down arrow (changing selection fast) you will see the gear and plus blinking. This is the conflict here: adding and removing the line you proposed makes either visible or invisible group icon to blink.
Comment 4 John Arthorne CLA 2015-05-05 16:20:47 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html