Skip to content

Keyboard cursor incorrect position on Linux when DPI scaling monitor #407

@fa2k

Description

@fa2k

Describe the bug
The keyboard cursor bar is lagging behind where the characters are being inserted. It seems to get worse at the end of the lines.

To Reproduce
If the system option "Global scale" (for the display) is set to 125% it happens.

If set to 100% it works fine.

Expected behavior
Visual cursor is in sync with character insert position.

Screenshots
arduino

Desktop (please complete the following information):

  • OS: Ubuntu Linux 20.04. KDE Plasma desktop 5.18.5. Kernel 5.4.0-74-generic.
  • Arduino IDE Version: 2.0.0-beta.7

Additional context

Installed using this file:
https://downloads.arduino.cc/arduino-ide/arduino-ide_2.0.0-beta.7_Linux_64bit.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions