arduino / arduino/Arduino

Search function drops first character into code window

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

Description

When using the keyboard shortcut CMD+F on my Mac to quickly access the search window and then quickly continuing to enter the search text, the first character is still entered in the code window, not in the search box. I'd say that one has to wait roughly half a second until it is safe to continue typing.

This is especially problematic as the search box may hide the part of the code window where the cursor is located. In case I had highlighted some part of code before, it will get replaced with the first character of the search text and I may find out only later when I complile the code next time. By then, I may still undo until the part in question is restored, but this will also undo all my other changes since then.

System: MacOS High Sierra
Arduino IDE: 1.8.5

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Reproduce CMD+F on macOS High Sierra in Arduino IDE 1.8.5, then type immediately and verify whether the first character changes the code; done means rapid search input never edits the code window.

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.