Skip to content

Tooltip too squashed #1503

Closed
Closed
@Edivad99

Description

@Edivad99

Describe the problem

The pop-up that opens shows the information that is too squashed and is difficult to read as well

To reproduce

Place the mouse over a function

Expected behavior

Better visibility
Schermata 2022-09-27 alle 10 44 54

Arduino IDE version

2.0.0

Operating system

macOS

Operating system version

macOS 12.6

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
    I verified the problem still occurs when using the latest nightly build
    My report contains all necessary details

Activity

per1234

per1234 commented on Sep 27, 2022

@per1234
Contributor

Thanks for your report @Edivad99. It is not clear to me what the problem is. Please provide more details.

The pop-up that opens shows the information that is too squashed

Please provide a detailed description of what you mean by "squashed".

Are there specific parts of the tooltip that seem "squashed" to you? If so, which parts?

Please describe some specific changes that would cause it to seem less "squashed".

is difficult to read as well

Please describe the exact problems that cause it to be difficult to read.

Are there specific parts of the tooltip that are difficult to read? If so, which parts?

Please describe some specific changes that would cause it to be less difficult to read.

self-assigned this
on Sep 27, 2022
Edivad99

Edivad99 commented on Sep 27, 2022

@Edivad99
Author

By squashed I mean that there is little space between the writing and that the words touch the gray lines.

  • In "class String" the writing touches the gray line
  • In "// In Stream" the writing is too attached to the line
  • The word "instance-method readString" takes up a lot of space
  • The fourth rectangle is a duplication of the information I have in the third rectangle
per1234

per1234 commented on Sep 27, 2022

@per1234
Contributor

Thanks!

  • In "class String" the writing touches the gray line
  • In "// In Stream" the writing is too attached to the line

I am also a little bothered by this. I mentioned it in passing in #21

  • The word "instance-method readString" takes up a lot of space

This is tracked here: #21

The fourth rectangle is a duplication of the information I have in the third rectangle

Which board do you have selected in the Tools > Board menu in the Arduino IDE? I don't have this part when I did a quick check with the Uno selected:

image


In the end, I think the comment I made here will apply to both this and #21:

#21 (comment)

This formatting is coming from the clangd C++ language server that provides this information to the Arduino IDE, and perhaps some from the Eclipse Theia IDE framework the IDE is built on or even the VS Code application Theia takes some of its design from.

None of those projects are maintained by Arduino and I'm not sure whether anything can be done to improve on it from inside the Arduino IDE codebase hosted in this repo.

removed their assignment
on Sep 27, 2022
Edivad99

Edivad99 commented on Sep 27, 2022

@Edivad99
Author

If you pass the word readString over it and press command, the fourth rectangle appears

added a commit that references this issue on Sep 27, 2022
f37879e
linked a pull request that will close this issueBetter tooltips. #1504on Oct 6, 2022
added a commit that references this issue on Oct 7, 2022
5444395
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @per1234@Edivad99

      Issue actions

        Tooltip too squashed · Issue #1503 · arduino/arduino-ide