Skip to content

Arduino IDE on High DPI #2532

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
timhannah1988 opened this issue Jan 3, 2015 · 19 comments
Closed

Arduino IDE on High DPI #2532

timhannah1988 opened this issue Jan 3, 2015 · 19 comments
Assignees
Labels
OS: Windows Specific to the Windows version of the Arduino IDE

Comments

@timhannah1988
Copy link

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
Copy link

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
Copy link
Contributor

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
Copy link

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 [email protected]
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
Copy link
Contributor

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 Specific to the Windows version of the Arduino IDE label Feb 3, 2015
@ilmtr
Copy link

ilmtr 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
Copy link
Contributor

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
Copy link

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
Copy link
Contributor

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
Copy link

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
Copy link

+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
Copy link

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

@cmaglie
Copy link
Member

cmaglie commented Jan 2, 2016

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

@cmaglie cmaglie closed this as completed Jan 2, 2016
@roman-ku
Copy link

@thoughtfix Same story here on a surface book.

@philiporlando
Copy link

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
Copy link
Member

cmaglie commented Jan 23, 2018

Sure, you can download the latest version here:

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

@delucaa
Copy link

delucaa 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
Copy link

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

@delucaa
Copy link

delucaa commented Feb 3, 2018

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

@cmaglie
Copy link
Member

cmaglie 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.
Labels
OS: Windows Specific to the Windows version of the Arduino IDE
Projects
None yet
Development

No branches or pull requests