arduino / arduino/Arduino

Unnecessary tooltip caused by Find

Open
#6,157 0 comments 0 reactions 0 assignees View on GitHub
Component: IDE user interface editor-refactor Type: Bug
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

Using Arduino IDE 1.8.14 Hourly Build 2021/03/09 09:33 with Windows 10 64 bit

- In the IDE editor type `foo()`
- Hold the `Enter` key until the above text scrolls off the screen.
- Edit > Find > Find: > `foo` > Find
- The screen scrolls up to `foo`, after a second a tooltip appears:
![clipboard09](https://cloud.githubusercontent.com/assets/8572152/24750043/4548f310-1a7a-11e7-8c8b-19fdb077e324.png)
Apparently Find is causing a malfunction of a new feature added to show a tooltip of off-screen opening parts of the match for the bracket where the cursor is at. It might be an upstream bug in RSyntaxTextArea.

This occurs in all IDE versions from Arduino IDE 1.8.2 on
This does not occur with Arduino IDE 1.8.1

----
An additional problem I noticed caused by this bug is the Arduino IDE steals focus from the Find window when the unnecessary tooltip appears.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Arduino IDE 1.8.14 on Windows using the listed Find steps, then compare the behavior with IDE 1.8.1. Investigate the RSyntaxTextArea tooltip behavior triggered after Find; done means the unnecessary tooltip no longer appears and the Find window retains focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.