• AVR Freaks

Helpful ReplyHot!MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in)

Author
Ted M
Starting Member
  • Total Posts : 75
  • Reward points : 0
  • Joined: 2005/09/21 05:14:34
  • Status: offline
2017/08/29 02:28:12 (permalink)
5 (1)

MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in)

I tried to make a post that clearly has some bad words in it as I get the "Access Denied" message.  The text of my intended post is in the attached .txt file, there are also 2 supporting pictures.
I almost gave up making this post after 4 attempts.
Sigh!

Attachment(s)

Attachments are not available: Download requirements not met
#1
qhb
Superb Member
  • Total Posts : 9998
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: offline
Re: MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in) 2017/08/29 02:33:42 (permalink)
+1 (1)
Just checking if I can post your text.....
 
Issue: On 4k Laptops - very common nowadays https://www.laptopmag.com/articles/best-4k-laptops - MPLABX 3.X and 4.0 are unusable; the icons are so small that they are like periods and the fonts in some dialog boxes scale but the boxes don't so the text doesn't fit in the box and is unreadable. See attached pictures - the first one is as-is but I've scaled the main interface one down by 50% so you will get how it looks on my display.
I believe that this is caused by Netbeans telling Windows 10 that it is HI DPI-aware when it isn't (there may be other issues caused by Java). I discovered this after 5 minutes of web browsing:
https://netbeans.org/bugz../show_bug.cgi?id=252452
https://stackoverflow.com...e-scaling-on-windows-8
http://www.danantonielli....high-dpi-displays-fix/

I can change my screen resolution to 1920 x 1080 but it still doesn't work properly and all my other applications all look wrong.

I use a different PC to work on MPLABX which is a pain; but the advances you've made in other respects like MCC are excellent.

Please fix this serious issue ASAP.
#2
qhb
Superb Member
  • Total Posts : 9998
  • Reward points : 0
  • Joined: 2016/06/05 14:55:32
  • Location: One step ahead...
  • Status: offline
Re: MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in) 2017/08/29 13:09:49 (permalink)
+2 (2)
annapolis
http://www.microchip.com/forums/FindPost/980216

Have Microchip been aware of this since March?
 
#3
chico
Starting Member
  • Total Posts : 51
  • Reward points : 0
  • Joined: 2009/12/22 16:26:01
  • Location: 0
  • Status: offline
Re: MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in) 2017/09/09 19:17:37 (permalink)
0
>> Have Microchip been aware of this since March?
 
...for a lot longer, I think...I mentioned it WAY back...no fixes ever showed up.
 
I use a high-res MacBook Pro running Windows under Parallels. Because of this issue I have to run a separate low-res virtual machine just for MPLABX. For all other dev tools I switch to a beautiful hi-res retina display virtual machine. 
 
This makes MPLABX feel like Windows 95, and everything else state-of-the-art.
#4
mcovington
New Member
  • Total Posts : 18
  • Reward points : 0
  • Joined: 2019/07/12 09:19:40
  • Location: 0
  • Status: offline
Re: MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in) 2019/07/15 22:31:50 (permalink)
0
Here is what worked for me:
http://www.covingtoninnovations.com/michael/blog/1907/index.html#x190715A

Apologies if this post is duplicated.  The "Submit Post" button seemed not to be working.
 
#5
mcovington
New Member
  • Total Posts : 18
  • Reward points : 0
  • Joined: 2019/07/12 09:19:40
  • Location: 0
  • Status: offline
Re: MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in) 2019/07/15 22:33:18 (permalink)
+1 (1)

#6
rjc101
Super Member
  • Total Posts : 101
  • Reward points : 0
  • Joined: 2016/07/08 14:56:34
  • Location: 0
  • Status: offline
Re: MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in) 2019/07/16 00:55:14 (permalink) ☄ Helpfulby mcovington 2019/07/16 07:40:27
+2 (2)
I always end up editing the mplab_ide.conf file ( C:\Program Files (x86)\Microchip\MPLABX\v5.xx\mplab_platform\etc ) and adding
-J-Dsun.java2d.dpiaware=true

into the line
default_options

for any machine with a 4K display. Messing with the Windows handling of it always proved problematic for me, especially after windows update has done it's thing.
#7
mcovington
New Member
  • Total Posts : 18
  • Reward points : 0
  • Joined: 2019/07/12 09:19:40
  • Location: 0
  • Status: offline
Re: MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in) 2019/07/16 07:41:06 (permalink)
0
Excellent, that's an even better idea.  (Hello, Microchip?  Can you change the installer so it installs that way?)
#8
mlp
boots too small
  • Total Posts : 776
  • Reward points : 0
  • Joined: 2012/09/10 15:12:07
  • Location: previously Microchip XC8 team
  • Status: offline
Re: MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in) 2019/07/16 20:02:46 (permalink)
+1 (1)
mcovington
(Hello, Microchip?  Can you change the installer so it installs that way?)

Lodge a support ticket if you want it actioned.

Mark (this opinion available for hire)
#9
mcovington
New Member
  • Total Posts : 18
  • Reward points : 0
  • Joined: 2019/07/12 09:19:40
  • Location: 0
  • Status: offline
Re: MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in) 2019/07/16 22:07:59 (permalink)
0
mark.pappin
mcovington
(Hello, Microchip?  Can you change the installer so it installs that way?)

Lodge a support ticket if you want it actioned.



I'll do so after testing it.
#10
mcovington
New Member
  • Total Posts : 18
  • Reward points : 0
  • Joined: 2019/07/12 09:19:40
  • Location: 0
  • Status: offline
Re: MPLABX is unusable on 4k / HI RES displays (and the forum is a pain to post in) 2019/07/17 17:27:51 (permalink)
+1 (1)
OK, progress report...

The easiest way to demonstrate the problem is to launch MCC from within MPLAB X.  If the problem is present, MPLAB X, formerly normal-sized, will become tiny.

If I modify the .conf file as described by rjc101, I get consistent sizing, but the type is consistently too small, and parts of it, such as the compiler output, apparently can't be adjusted by the user.  My 4K screen is 27 inches wide.  That setting might work well on an appreciably larger one.

If I do the Windows setting described in my posting, or the equivalent "for all users" setting, everything looks good, and of course it has no effect on displays that are not high-DPI.  This could be done by the installer via registry setting.  I will take Mark Pappin's suggestion and open a support ticket and suggest that Microchip address this using the information in this thread.  Thanks.
 
 
#11
Jump to:
© 2019 APG vNext Commercial Version 4.5