arduino-ide icon indicating copy to clipboard operation
arduino-ide copied to clipboard

Checkboxes in Preferences dialog can be changed unintentionally

Open sterretjeToo opened this issue 1 year ago • 2 comments

Describe the problem

If one clicks in the Preferences dialog box on a "line" (vertical position) that contains a checkbox, the checkbox toggles.

To reproduce

  1. Open Preferences
  2. Use mouse to click on a "line" with a checkbox (e.g. at the far right.
  3. Checkbox will toggle

Expected behavior

Checkbox should only toggle when clicked on the box itself or the associated text.

Arduino IDE version

arduino-ide_nightly-20240211_Windows_64bit

Operating system

Windows

Operating system version

Windows 10 Home

Additional context

No response

Issue checklist

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

sterretjeToo avatar Feb 11 '24 04:02 sterretjeToo

Thanks for taking the time and letting us know.

Checkbox should only toggle when clicked on the box itself or the associated text.

I think it works as intended. The preference widget in IDE2 is a re-implementation of the IDE 1.8.x behavior:

https://github.com/arduino/arduino-ide/assets/1405703/9fe9a5f5-fe15-4f46-acd9-ff224fe608f7

kittaakos avatar Feb 11 '24 07:02 kittaakos

Yep, you clicked on the "box", not far away from it.

For the three checkboxes at the bottom, click where I did put the red mark

image

Note The issue does not occur for the "show verbose output during ...

sterretjeToo avatar Feb 11 '24 10:02 sterretjeToo