microsoft / vs-editor-api

Microsoft Visual Studio Editor API definitions
MIT License
120 stars 32 forks source link

Tooltip windows are redrawn when clicked #11

Open HJLebbink opened 6 years ago

HJLebbink commented 6 years ago

Hi

I'm using the new IAsync* QuickInfo API. Thanks for the help in here.

I'm not sure where to ask for help on this issue: my tooltip windows are redrawn when UserControls are clicked. window_moves

Minimal code can be found here. This behavior can also be observed with the older QuickInfo API.

Questions: would this be the place to ask this question. How to prevent that the tooltip is redrawn, or how to debug this.

gundermanc commented 6 years ago

@HJLebbink can you share a repro project?

HJLebbink commented 6 years ago

@gundermanc It can be found in https://github.com/HJLebbink/vsix-bug-quickinfosession

gundermanc commented 6 years ago

Great, thanks! I'll take a look soon.

HJLebbink commented 6 years ago

@gundermanc If you need any help, let me know

HJLebbink commented 6 years ago

I've Asked this question on msdn: https://social.msdn.microsoft.com/Forums/en-US/d0683090-0a81-46c7-9c52-2c4abf1aba31/trying-to-debug-popup-behavior?forum=vsx

HJLebbink commented 5 years ago

I have a question about quickInfo tooltips with content that implement IInteractiveQuickInfoContent (See https://github.com/HJLebbink/vsix-bug-quickinfosession). The bug of the jumping quickInfo content (see gif above) only occurs when the tooltip is resized, trigging the tooltip to be redrawn at the current mouse position.

Question: Is this behavior supposed to be like this, or is it a bug?