question

Minuri89-7632 avatar image
0 Votes"
Minuri89-7632 asked Minuri89-7632 edited

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

I have created two sample VSIX projects referring below Microsoft documentation
https://docs.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


dotnet-csharpvs-extensions
classifier-todo.png (40.5 KiB)
two-glyphs.png (18.7 KiB)
two-glyphs.png (18.7 KiB)
classifier-todo.png (40.5 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Minuri89-7632 , welcome to Microsoft Q&A forum. Could you tell us what plugins you have installed? Besides, could you share detailed steps with us to reproduce this issue? Have you also checked the compatible information of these plugins and Visual Studio from the website that provided these plugins?

0 Votes 0 ·

Hi @TianyuSun-MSFT I have created two sample VSIX projects referring below Microsoft documentation
https://docs.microsoft.com/en-us/visualstudio/extensibility/walkthrough-creating-a-margin-glyph?view=vs-2019.
Once my both extensions are installed glyph icon events of one of extensions are not getting triggered. That's the issue I am facing currently. Here with attached the sample code that I have written to the GenerateGlyph.

0 Votes 0 ·

0 Answers