IDL v9.0.0 does not recognise 4k screen dimensions

69 views
Skip to first unread message

Andrew Cool

unread,
Mar 18, 2024, 5:39:18 PM3/18/24
to idl-pvwave
SInce IDL v8.9, IDL is incorrectly reporting the screen dimensions of my 4k monitor under WIN 11.

Older versions going all the way back to the venerable v6.2 correctly report 3840 x 2160,
as reported below.

Yes, my WIndows fontsize is set to 150%, as recommended by WIN11. I can't change that to 100% if I still want to read the screen!

What have the IDL Elves done, and what's the easy solution here?

Regards,

Andrew

 

IDL 9.0.0 (Win32 x86_64 m64).

(c) 2023, NV5 Geospatial Solutions, Inc.

 

Licensed for use by: SkippySky

License: 359436

 

IDL> device,get_screen_size = xy

IDL> print,xy

    2560    1440

IDL>

 

 

IDL 8.9.0 (Win32 x86_64 m64).

(c) 2023, L3Harris Geospatial Solutions, Inc.

 

A new version is available: IDL 9.0

https://www.nv5geospatialsoftware.com/Product-Downloads/

 

Licensed for use by: SkippySky

License: 359436

 

IDL> device,get_screen_size = xy

IDL> print,xy

    2560    1440

IDL>

 

 

IDL 8.8.3 (Win32 x86_64 m64).

(c) 2022, L3Harris Geospatial Solutions, Inc.

 

A new version is available: IDL 9.0

https://www.nv5geospatialsoftware.com/Product-Downloads/

 

Licensed for use by: SkippySky

License: 359436

 

IDL> device,get_screen_size = xy

IDL> print,xy

    3840    2160

IDL>

 

IDL Version 6.4, Microsoft Windows (Win32 x86_64 m64). (c) 2007, ITT Visual Information Solutions

Installation number: 5518144.

Licensed for use by: SkippySky

 

IDL> device,get_screen_size=xy

IDL> print,xy

    3840    2160

 

IDL Student Edition 6.2, Microsoft Windows (Win32 x86 m32). (c) 2005, Research Systems, Inc.

Installation number: 001.

Licensed for use by: IDL Student Version

 

IDL> device,get_screen_size = xy

IDL> print,xy

    3840    2160

 

 


Lajos Foldy

unread,
Mar 19, 2024, 7:18:38 AM3/19/24
to idl-pvwave
Hi Andrew,

you can try IDLsysMonitorInfo.

I guess IDL is reporting the logical screen size, not the physical one.

best regards,
Lajos

--
You received this message because you are subscribed to the Google Groups "idl-pvwave" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idl-pvwave+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idl-pvwave/7e7926c6-f4e3-428b-baf3-9f556eb8b360n%40googlegroups.com.

Chris Torrence

unread,
Mar 19, 2024, 3:00:58 PM3/19/24
to idl-pvwave
Hi Andrew,

I think that might be due to the change to the default scaling for the IDL applications. Before, IDL would completely ignore the Windows scaling, which make applications like ENVI (or other widget apps) have very tiny buttons.

If you right click on your idl.exe (or the idlde.exe if you're using the Workbench), then go to Properties -> Compatibility -> Change High DPI Settings. Click "Override", and set the droplist to Application. That should hopefully restore the original behavior.

Hope this helps!
-Chris
NV5 Geospatial


Andrew Cool

unread,
Mar 20, 2024, 9:00:53 PM3/20/24
to idl-pvwave
Hi Chris, Yes, thanks, that fixes the screen resolution nicely.

Ben reminded me that I actually asked the same question a year ago, when I last upgrade the version of IDL.

To save me forgetting and asking the same question for subsequent IDL upgrades, what are the chances of changing that setting during  installation procedure,
either automatically or issuing a prompt to the user? Or a notification in the Message of the Day if a 4k screen is detected?

Another issue, how do I get decent size icons in ECLIPSE? Many solutions online, none of which seem suitable. I've changed the scaling option on every instance of Eclipse.exe
on my PC, without any beneficial effect.

Andrew

Ben C

unread,
May 13, 2024, 12:19:42 PM5/13/24
to idl-pvwave
Try this to make IDLDE toolbar icons larger:



Edit the idlde.ini file


Windows: C:\Program Files\Harris\IDL88\bin\bin.x86_64\idlde.ini
Linux: /usr/local/harris/idl88/bin/bin.linux.x86_64/idlde/idlde.ini

Add this line under -vmargs:

-Dswt.autoScale=200

*NOTE: Changing the .ini file setting on Mac OS has no effect due to operating system limitations.

Reply all
Reply to author
Forward
0 new messages