DPI Aware - DPI Awareness Issues

Clarion 11.1.13855
ABC

I have a desktop application that performs fine on my machine but on my client’s laptop he experiences:

  • Inability to resize Windows. The mouse never changes to indicate the ability to resize.
  • Inability to drag a Window around on his desktop.
  • With the standard Clarion menu, the menu doesn’t display correctly and is inaccessible with the mouse.

His laptop is less than a year old and is not an entry level machine. Decent processor, graphics card, etc.

So far, the only way I can get the app to be usable on his machine is to completely disable DPI awareness in any form. As far as DPI awareness, I have tried every flavor. System aware. Per monitor versions one and two.

Application uses Capesoft’s Resize and Split as well as their AnyFont products.

My client and I are both at our wits end because I cannot duplicate his issues.

Any suggestions are greatly appreciated.

1 Like

Try to run a simple Clarion app like the school example app on the client’s notebook to see how it behaves.

Interestingly, I have this same issue. I have a laptop where all this happens, as you say, but on my desktop, it all works fine. And it’s not just MY apps, but any apps. I can take a demo that comes with Clarion, and it will work fine on my desktop, but not on the laptop.

Could you give the laptop specs, including the graphics card and processor type?

What version of Clarion did you use to compile your app?

Could you give the laptop specs, including the graphics card and processor type?

Yes sir. I’ll ask my client to send them to me.

I tried an app that has been in use for years compiled with C10. I was also playing around with C12 and various demo apps with the same results.

So apps compiled with C10 through C12 displayed the same - bad - behavior?

Yep…

On one demo app I unchecked the MDI setting for a window and I could move it after recompiling. But that isn’t really an option in most cases.

Don - have you tried Mike Duglas’ “DPI Aware fix” template?

Yes. That template simply alters the manifest to the newer settings for “dpiAware” and “dpiAwareness.”

Got my client’s hardware information.

One thing I find interesting is that he is using two monitors connected to his laptop. The interesting part is that the monitors are “ultra wide” monitors. Their widths are 49.1 inches.

Here’s a link to one for sale on Amazon:

Dell U4919DW

Client Hardware Specs

Processor

Manufacturer				GenuineIntel
Name						Intel Core Ultra 9 185H
Codename					Meteor Lake
Specification				Intel(R) Core(TM) Ultra 9 185H
Package (platform ID)		Socket 2049 FCBGA (0x7)
Number of cores				16 (max 16)
Number of threads			22 (max 22)

Operating System

Windows Version				Microsoft Windows 11  Professional (x64), Version 24H2, Build 26100.4349
Windows Installation Date	12/13/2024
DirectX Version				12.0

Graphics Card(s)

Display adapter 0 (primary)	
	ID						0x4700003
	Name					Intel(R) Arc(TM) Graphics
	Board Manufacturer		Dell
	
Display adapter 1	
	ID						0x10C0107
	Name					NVIDIA GeForce RTX 4060 Laptop GPU
	Board Manufacturer		Dell
	
Monitor(s)

Monitor 0	
	Model			 		()
	ID						SDC4196
	Serial			
	Manufacturing Date		Week 44, Year 2023
	Size					16.3 inches
	Max Resolution			0 x 0 @ 0 Hz
	Horizontal Freq. Range	218-218 kHz
	Vertical Freq. Range	48-90 Hz
	Max Pixel Clock			880 MHz
	Gamma Factor			2.2
	Video Input				Display Port

Monitor 1	
	Model					Dell U4919DW (Dell Computer)
	ID						DELA109
	Serial					9KGXTY2
	Manufacturing Date		Week 15, Year 2020
	Size					49.1 inches
	Max Resolution			0 x 0 @ 0 Hz
	Horizontal Freq. Range	25-115 kHz
	Vertical Freq. Range	24-86 Hz
	Max Pixel Clock			470 MHz
	Gamma Factor			2.2
	Video Input				0x80

Monitor 2	
	Model					Dell U4919DW (Dell Computer)
	ID						DELA10D
	Serial					9KGXTY2
	Manufacturing Date		Week 15, Year 2020
	Size					49.1 inches
	Max Resolution			3840 x 1080 @ 59 Hz
	Horizontal Freq. Range	25-115 kHz
	Vertical Freq. Range	24-86 Hz
	Max Pixel Clock			470 MHz
	Gamma Factor			2.2
	Video Input				Display Port

On the laptop screen itself, does it work any differently if you disconnect the big monitors?

From what I understand, the application performs correctly, if the external monitors are disconnected. You actually know who my client is and you know that sometimes it’s hard to get an exact specific answer.

I wonder if it’s some nVidia function interfering with the program.

The only thing those specs and my laptop have in common is the nVidia graphics GPU.

Have you looked at the scaling for those monitors? If it’s high, such as 300%, what if you decrease it?

Yep, the scale is huge (to me). It’s either 300% or 350% on his machine. And that’s the Windows’ recommended scaling. Reducing the scale didn’t help.

Some information I found that may prove useful:

https://www.reddit.com/r/ultrawidemasterrace/comments/1k6jkmb/apps_blurry_or_scaling_weird_on_ultrawide_screen/

If he’s using scaling - set it 100% and see if that solves it

Maybe he needs to just get a normal computer :slight_smile:

1 Like