Registry Mirror
Skip to content

Intellisense Quick Info blocks half of my screen when I hover over some keywords #2628

Open

Description

@Soldalma

I am using VS 2017, programming in F#. When the mouse cursor hovers over Deedle.Frame and a few other keywords the Quick Info popup takes almost half my screen.

Repro steps

  1. Install the Deedle package from NuGet and insert "open Deedle" in your code. Type "Frame" in a blank line.

  2. Hover with the mouse cursor over the word "Frame".

Expected behavior

What I would like to have is either a key combination that would make the pop-up go away, or a configuration options under Tools/Options/Text Editor that would let me disable Quick Info.

Actual behavior

A large Quick Info pop-up takes almost half the screen. If I want to make it disappear I have to move the mouse cursor out of the pop-up area, which is a fairly long distance.

Known workarounds

Provide a description of any known workarounds.
One can carefully avoid placing the cursor over certain words, but in practice this is quite inconvenient.

Related information

Provide any related information

  • Operating system Windows 10 Professional
  • Branch ?
  • .NET Runtime, CoreCLR or Mono Version ?
  • Editing Tools (e.g. Visual Studio Version) VS 2017, final version released on March 7
  • Links to F# RFCs or entries on http://fslang.uservoice.com ?
  • Links to performance testing scripts ?
  • Indications of severity ?

Activity

  1. cloudRoutine commented on Mar 16, 2017

    @cloudRoutine
    Contributor

    @Soldalma hit ESC

  2. dsyme commented on Mar 16, 2017

    @dsyme
    Contributor

    @vasily-kirichenko Looking at the above - if anything, I think we should add the following to the template text:

    If this is a Visual F# Tools bug, please provide an animated screenshot

    and give a link to a tool to take an animated screen capture GIF

  3. cartermp commented on Mar 17, 2017

    @cartermp
    Contributor

    I think there's definitely an issue here. You can see it if you hover over other large types, like Async. Personally, I don't see much value in listing so many members for a type, and the large tooltips feel like they get in my way. However, that behavior has existed for a while and certainly some people would prefer it. I think there should be a way to toggle on or off QuickInfo which displays members. I think the default should be not displaying members, but I suppose that would be up for discussion.

  4. cloudRoutine commented on Mar 17, 2017

    @cloudRoutine
    Contributor

    if possible we could take a page out of vscode's book and create tooltip windows that can be scrolled


    that way we can restrict the size and stop truncating the content

    (with better formatting of course 😉 )

  5. KevinRansom commented on Mar 17, 2017

    @KevinRansom
    Contributor

    @cloudRoutine It seems like scrolling would be good for tooltips over the an enum or a DU type.

  6. vasily-kirichenko commented on Mar 17, 2017

    @vasily-kirichenko
    Contributor

    Scrollable (and rather ugly) tooltips has been in Idea for years. I hate them. The info you need is always hidden and you have to scroll.

  7. saul commented on Mar 17, 2017

    @saul
    Contributor

    @vasily-kirichenko didn't you fix the huge Async tooltip? I'm 99% sure someone sorted this around the time we introduced syntax highlighted tooltips

  8. vasily-kirichenko commented on Mar 17, 2017

    @vasily-kirichenko
    Contributor

    @saul yes, @vladima fixed it.

  9. s952163 commented on Mar 17, 2017

    @s952163

    @Soldalma could you provide a screenshot?

    tooltip

    I think the issue is that tooltip shows up, you move the mouse, hit escape, and as long as you're on the same word it reappears.

  10. vasily-kirichenko commented on Mar 17, 2017

    @vasily-kirichenko
    Contributor

    you could restrict width of tooltips to, say, 70% of VS main window size. and 50% of its height. thoughts?

  11. smoothdeveloper commented on Mar 17, 2017

    @smoothdeveloper
    Contributor

    @vasily-kirichenko tooltip can overflow the main window, VS is not always maximized.

    On small screen though, the tooltip would flash if there is no room for it so there is something we need to figure out still.

  12. s952163 commented on Mar 18, 2017

    @s952163

    @vasily-kirichenko

    you could restrict width of tooltips to, say, 70% of VS main window size. and 50% of its height. thoughts?

    Yeah, on second thought restricting the width somewhat would make sense.

    I don't particularly mind the current behavior. It seems though there are two possible usability enhancements: 1) restrict the size of the tooltip, and make it expandable/scrollable (:scream cat:) when there is more text 2) make it possible to toggle the appearance/disappearance with some keyboard shortcut or menu setting in options.

    @Soldalma any thoughts.

  13. smoothdeveloper commented on Mar 18, 2017

    @smoothdeveloper
    Contributor
    type FSharpInfoTooltipSettings = {
        maxWidthPercent        : int option
        maxHeightPercent       : int option
        eachParameterOnOwnLine : bool
        scrollable             : bool
        resizable              : bool
    }

    Let's not make change without having choice to configure

  14. majocha commented on Mar 18, 2017

    @majocha
    Contributor

    Another offender:
    tooltip
    That strange ellipsis in the middle looks like layout bug.

  15. Soldalma commented on Mar 18, 2017

    @Soldalma
    Author
  16. 5 remaining items

  17. modified the milestones: 16.0, 16.1 on Feb 21, 2019
  18. modified the milestones: 16.1, 16.2 on Apr 23, 2019
  19. modified the milestones: 16.2, Backlog on Apr 30, 2019
  20. added
    Area-LangService-ToolTips
    and removed on Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI-thinks-windows-onlyArea-LangService-ToolTipsBugImpact-Medium

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions