Events of margin glyphs are not triggered when two different plugins(vsix) with glyphs are installed

Minuri Rajapaksha 1 Reputation point
2021-06-25T05:11:15.447+00:00

I have created two sample VSIX projects referring below Microsoft documentation
https://learn.microsoft.com/en-us/visualstudio/extensibility/walkthrough-creating-a-margin-glyph?view=vs-2019.

Tooltip or popup on a margin glyph doesn’t show up when both plugins are installed. I have noticed that the events like MouseEnter, MouseLeave do not trigger in this scenario for one of the extensions only.

Even though both Glyph-01 and Glyph-02 images are visible here, only the tooltip/popup of Glyph-02 is popped up for the MouseEnter event. MouseEnter event of the Glyph-01 is not get triggered.

109218-two-glyphs.png

109219-classifier-todo.png

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,542 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.