Skip to content

Negative font size bug #7022

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
timkoers opened this issue Dec 14, 2017 · 0 comments
Closed

Negative font size bug #7022

timkoers opened this issue Dec 14, 2017 · 0 comments
Labels
Component: IDE user interface The Arduino IDE's user interface

Comments

@timkoers
Copy link

If I'm scrolling trough the code, very fast and stop physically scrolling (my touchpad drivers will slowly stop the scrolling) and I press Ctrl to copy or paste something, the font size will dive into the negative numbers, which of course makes the code unreadable.

The issue is, that when the font size is negative, I can't get it to positive without going into the menu's and changing the font size there, followed by a restart of the Arduino IDE.

The same thing is happening with the console font size. That font size isn't saved however and the Arduino IDE needs to be restarted in order to get it back normal.

I have searched the source code a little and I found the handleFontSizeChange method that is responsible for the font size changes. I'm not sure if that method is also used by or with the Console output.

Arduino IDE version 1.8.5 (Windows installer package)

@per1234 per1234 added the Component: IDE user interface The Arduino IDE's user interface label Dec 14, 2017
facchinm added a commit that referenced this issue Dec 15, 2017
facchinm added a commit that referenced this issue Jan 11, 2018
facchinm added a commit to facchinm/Arduino that referenced this issue Jan 22, 2018
facchinm added a commit that referenced this issue Feb 16, 2018
facchinm added a commit that referenced this issue Apr 12, 2018
facchinm added a commit that referenced this issue Apr 17, 2018
facchinm added a commit to facchinm/Arduino that referenced this issue May 8, 2018
cmaglie pushed a commit to facchinm/Arduino that referenced this issue May 8, 2018
cmaglie pushed a commit to facchinm/Arduino that referenced this issue May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface
Projects
None yet
Development

No branches or pull requests

2 participants