Skip to content

Application allows setting interface scaling interface past limits #1384

Closed
@per1234

Description

@per1234

Describe the problem

The scale of the IDE's interface may be adjusted by the user in any of three ways:

  • The "Interface scale > %" field in the "Preferences" dialog.
  • The Edit > Increase Font Size" and Edit > Decrease Font Size" menu items.
  • The "arduino-increase-font-size" and "arduino-decrease-font-size" keyboard shortcuts (Ctrl/Command+= and Ctrl/Command+-)

The first of these is restricted to a reasonable range of valid values.

The second two have no limits, which allows the user to set scales outside the valid range.

🐛 Setting the scale to a value outside the specified max-min range causes the scale stepper to behave unpredictably.

To reproduce

  1. Press and hold the Ctrl+- (Command+- for macOS users) keyboard shortcut for 5 seconds.
  2. Press the Ctrl+= (Command+= for macOS users) keyboard shortcut repeatedly.

🐛 The scale does not change. It appears the IDE interface scale is stuck (actually you only have to increase it enough to get back into the valid range)

Expected behavior

Interface scale value is limited to the valid range no matter which approach is used to change it.

The allowed range must be decided on and then the limits put in place.

Arduino IDE version

2.0.0-rc9.2.snapshot-0d545be

Operating system

Windows

Operating system version

10

Additional context

Previously reported at #1264 (comment)


Related: #1345

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

Labels

priority: lowResolution is a low prioritytopic: accessibilityEnabling the use of the software by everyonetopic: codeRelated to content of the project itselftype: enhancementProposed improvementtype: 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