Export to GitHub

cr-documentor - issue #37

Context menu added twice


Posted on Apr 11, 2012 by Helpful Wombat

Using DXCore daily build 11.2.11.12102 the CR_Documentor context menu appears twice rather than the customary once.

Looking in the diagnostic log, you can see the settings getting updated twice and the context menu getting created twice.

Comment #1

Posted on Apr 11, 2012 by Helpful Wombat

(No comment was entered for this change.)

Comment #2

Posted on Apr 11, 2012 by Helpful Wombat

I added a lock around the context menu add/remove mechanism but that didn't help. Looking at the log, it appears the right-click event is firing twice for every right-click. I'm not sure why that is. I'll do some more research and if I can't figure it out, I'll ask DevExpress the question.

Comment #3

Posted on May 3, 2012 by Helpful Wombat

This appears to be a problem with DXCore, not the add-in. DevExpress has reproduced the issue and is working on it.

I can keep the improvements I made with unsubscribing from events and such, but there's nothing additional I can do on the plugin side.

Comment #4

Posted on May 4, 2012 by Helpful Wombat

This issue was closed by revision r669.

Comment #5

Posted on May 4, 2012 by Helpful Wombat

Kept the event handler removal during plugin finalization as well as the additional logging added... but DXCore will need to fix the actual duplicate menu entry. http://www.devexpress.com/Support/Center/Issues/ViewIssue.aspx?issueid=B223240

Status: Fixed

Labels:
Type-Defect Priority-Critical