-
Notifications
You must be signed in to change notification settings - Fork 27.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flutter/dart popup tooltips poorly positioned #22912
Comments
@gggustafson Thanks for the report! The positioning of the hovers is controlled by VS Code, so this seems like a bug there. (By coincidence, it looks like this issue I raised many years ago). Would you mind raising it there and post the link back here? |
Microsoft/vscode flutter/dart popup tooltips poorly positioned microsoft/vscode#60534 |
Thanks! Seems like it was closed unfairly - I don't believe I can fix it; the hover provider is unable to influence the rendered position. I've added a comment and will see what comes back. |
Sorry for the trouble. Seems MS is a little touchy. The problem is cosmetic and does have a workaround - position the hovered item in the center of the screen. Even still I believe it is a bug. |
Can this issue be closed here and maintained in Microsoft/vscode? |
Yes, let's close this. I will look to MS to add info to their copy. |
VS Code team have re-opened the related issue and there's nothing we can do here (we can't even provide a workaround, since the rendering code is entirely Codes), so closing makes sense. Thanks for bringing it up all the same! 👍 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I am using VS Code on Windows 7 SP1
When I hover over a recognized object, a tooltip popup appears. A problem is that if the object over which I hover is close to the top of the screen, the tooltip appears too far up; its top contents are hidden; and I have to reposition the object lower on the screen.
The first image displays the tooltip positioning problem. I have hovered over Column (line 78) where Column is near the top of the screen.
The second image displays the tooltip when Column is located towards the center of the screen.
It appears that tooltips require 9 lines. So through simple computations, the tooltip could be placed so that all 9 lines appear near the object it is discussing.
The text was updated successfully, but these errors were encountered: