Skip to content

ERROR: "Unable to write into user settings..." when scaling UI using keyboard shortcuts #976

Closed
@ubidefeo

Description

@ubidefeo

Describe the problem

Changing the UI scaling via the Preferences panel works well,
but users who resort to shortcuts to zoom in/out the UI and font sometimes repeat the CMD/CTRL +/- to achieve the desired size.

When performing such shortcuts too rapidly the first action is not yet committed to the preferences file and the second one fails as the file has unsaved changes

To reproduce

  • Launch the IDE
  • rapidly press CTRL/CMD +/- to scale the interface a few times

see video

IDE2_scale_shortcut_noaudio.mp4

Expected behavior

Theoretically changes should be either queued or buffered before being committed to the preferences file,
Canceling any shortcut action until the file is saved might turn into a frustration moment.
I often hit the combo 3 times while teaching or doing webinars and I do want the 3 degrees of zoom being applied.
If I had to give it time to save it might take me 9 presses and it would look like 6 were ignored for unknown reasons

Arduino IDE version

2.0.0-rc6

Operating system

macOS

Operating system version

12.3

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions