Skip to content
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

Arduino IDE on High DPI #2532

Closed
timhannah1988 opened this issue Jan 3, 2015 · 19 comments

Comments

@timhannah1988
Copy link

commented Jan 3, 2015

I have recently purchased a Microsoft Surface Pro 3 which has a High DPI screen. I installed the IDE and loaded it for the first time and it appears that the gui doesn't support DPI scaling as the menus and text is tiny and unreadable. I am having to use the device with a lower resolution so that I can use the software properly.

Is there any support i am missing or is it simply not supported yet. If the latter please can this be considered on future builds

@jeremyepling

This comment has been minimized.

Copy link

commented Jan 15, 2015

I'd like to see a fix for this as well. I have the same problem with my Samsung Ativ Book 9+. With all the new high DPI displays, this will become more of an issue.

@PaulStoffregen

This comment has been minimized.

Copy link
Collaborator

commented Jan 15, 2015

This seems more like a Java question. Arduino's IDE uses the Java JRE to do all those menus, so the bigger question is whether there's some way to tell the JRE to render them with more pixels?

@jeremyepling

This comment has been minimized.

Copy link

commented Jan 15, 2015

Where is the UI code in the repro? Im knew to this project, but I'm willing
to dig in and look for a fix.

On Thu, Jan 15, 2015, 10:30 AM Paul Stoffregen notifications@github.com
wrote:

This seems more like a Java question. Arduino's IDE uses the Java JRE to
do all those menus, so the bigger question is whether there's some way to
tell the JRE to render them with more pixels?


Reply to this email directly or view it on GitHub
#2532 (comment).

@PaulStoffregen

This comment has been minimized.

Copy link
Collaborator

commented Jan 16, 2015

Where is the UI code in the repro?

Here:

https://github.com/arduino/Arduino/tree/ide-1.5.x/app/src/processing/app

Please be aware there are 4 branches. Do NOT use the default "master" branch, because that's the code for version 1.0.x, which is being phased out. If you use that code, you'll have to redo everything to get it accepted.

Work within the "ide-1.5.x" branch, which is the latest version.

@ffissore ffissore added the OS: Windows label Feb 3, 2015

@ilmtr

This comment has been minimized.

Copy link

commented Mar 5, 2015

naamloos
I have this problem too. On my Lenovo Yoga 2 Pro (3200x1800pixels) the interface looks very small.

4K screens are getting now more mainstream as well. Especially among tech savvy (arduino) user like us I assume ;-)

@PaulStoffregen

This comment has been minimized.

Copy link
Collaborator

commented Mar 18, 2015

If anyone is still following this issue and cares about Arduino gaining graphics and font scaling, please test the build on pull request #2776

@choidamdam

This comment has been minimized.

Copy link

commented Aug 19, 2015

Any update on this? I'm using two windows laptops with HiDPI displays (one for work, one for home) and this is very annoying issue.

Maybe we have to switch from Swing to JavaFX which support HiDPI better (http://news.kynosarges.org/2015/06/29/javafx-dpi-scaling-fixed/).

@ffissore

This comment has been minimized.

Copy link
Contributor

commented Aug 19, 2015

JavaFX and Swing are two totally different beasts. They can integrate with each other, but it's more about rewriting the IDE that switching

@Sembazuru

This comment has been minimized.

Copy link

commented Nov 14, 2015

I also value this issue. I can work-around the editing area by using 18pt font, but that only works in the actual code window. The Library and Board managers are almost unusable due to the small font being used on my high DPI monitor. Windows magnifier helps, but that is a kludge not a fix.

For reference, I'm on Windows10 64bit, and still see this behavior on IDE v 1.6.6.

@thoughtfix

This comment has been minimized.

Copy link

commented Nov 17, 2015

+1 I am using the same trick as Sembazuru by boosting my font size, but it's still a miserable experience trying to code from a Surface Book.

@mkstephenson

This comment has been minimized.

Copy link

commented Dec 31, 2015

I have the same problem, got a 4k 27" screen and you really have to squint to see any menu text

@cmaglie

This comment has been minimized.

Copy link
Member

commented Jan 2, 2016

I'm closing this one, please let's continue the discussion on #4376.

@cmaglie cmaglie closed this Jan 2, 2016

@roman-ku

This comment has been minimized.

Copy link

commented Feb 27, 2017

@thoughtfix Same story here on a surface book.

@philiporlando

This comment has been minimized.

Copy link

commented Jan 23, 2018

arduinohighdpi

This is a life saver! Adjusting the scaling factor to 200% worked like a charm. I am currently running ant run within the /Arduino/build/ directory from the terminal. For the total git noob here, is it possible to install/make the High DPI Arduino IDE as an bona fide application instead of following the build instructions?

@cmaglie

This comment has been minimized.

Copy link
Member

commented Jan 23, 2018

Sure, you can download the latest version here:

https://www.arduino.cc/en/Main/Software

@delucaa

This comment has been minimized.

Copy link

commented Feb 3, 2018

On my surface pro 4 using the 1.8.5 version in the code window using the size 18 you can see the characters well but the window settings, libraries, you see small while in additional URLs the text is not seen almost at all
url

@philiporlando

This comment has been minimized.

Copy link

commented Feb 3, 2018

@delucaa Have you tried rebooting? I noticed the same issue before a restart, but everything looks properly scaled for me now.

@delucaa

This comment has been minimized.

Copy link

commented Feb 3, 2018

yes but nothing ... I also tried to reinstall the program but nothing ..

@cmaglie

This comment has been minimized.

Copy link
Member

commented Feb 5, 2018

@delucaa please open a new issue, this should be an easy fix.

@arduino arduino locked and limited conversation to collaborators Feb 5, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.