Skip to content

Application allows setting interface scaling interface past limits #1384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
per1234 opened this issue Sep 2, 2022 · 0 comments · Fixed by #1502
Closed
3 tasks done

Application allows setting interface scaling interface past limits #1384

per1234 opened this issue Sep 2, 2022 · 0 comments · Fixed by #1502
Assignees
Labels
priority: low Resolution is a low priority topic: accessibility Enabling the use of the software by everyone topic: code Related to content of the project itself type: enhancement Proposed improvement type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Sep 2, 2022

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
@per1234 per1234 added priority: low Resolution is a low priority topic: accessibility Enabling the use of the software by everyone topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Sep 2, 2022
@ubidefeo ubidefeo assigned kittaakos and AlbyIanna and unassigned kittaakos Sep 2, 2022
@AlbyIanna AlbyIanna mentioned this issue Sep 26, 2022
4 tasks
@per1234 per1234 linked a pull request Oct 4, 2022 that will close this issue
4 tasks
@per1234 per1234 added the type: enhancement Proposed improvement label Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low Resolution is a low priority topic: accessibility Enabling the use of the software by everyone topic: code Related to content of the project itself type: enhancement Proposed improvement type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants