HDPI Issues with RadMessageBox

1 Answer 54 Views
General Discussions MessageBox
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Toby asked on 28 Jul 2022, 11:48 AM | edited on 28 Jul 2022, 12:00 PM

Hi,

I'm having issues in my application when displaying and moving RadMessageBox from HD screen to 4K screen. The size of the default icon is very small when shown on the 4K monitor also the location of the buttons seems to go awrywhen moving dialog between monitors. I also get a strange sizing issue when showing a custom bitmap for an image, it's not scaling at all when shown on the 4K monitor.

Luckily the scaling / layout issues can be easily reproduced using the latest Demo Application (Demo Application - Telerik UI for WinForms R2 2022 SP1) by following these steps.

On the HD monitor - start demo app, select Explore all controls, select "Message Box"

Change message type to "Info" and set buttons to "Yes, No, Cancel"

Click "Show RadMessageBox" - Message box is displayed as expected

Drag to 4K monitor - size and layout is wrong and icon image is small

Press cancel whilst its shown on 4K monitor

Click "Show RadMessageBox" - Message box is displayed on HD monitor with overlapping buttons and large image icon

Press Close / cancel and try again - this time it shows correctly

Sometimes when playing with the demo I get also see 

and

I'm aware that RadMessageBox is persistant throughout the life of the applicationso you might have to shut down the demo app and restart it.

And another issue, this time starting in my own HDPI aware application on 4K monitor - this time the size of the message text is too large.

Kind regards

Toby

 

 

 

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 29 Jul 2022, 01:23 PM

Hello Toby, 

Thank you for the provided details.

We are already aware that The RadMessageBox is not scaled correctly when used on monitors with higher DPI than 100 %. Here is the feedback item in our Feedback Portal for this. I am happy to inform you that currently, our development team is working on fixing this behavior. As soon as they are ready, they will update the feedback item with the version of the DLLs which will include the fix. I will share your steps so that they will include them in their testing scenarios.

Regards,
Dinko
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Toby
Top achievements
Rank 3
Iron
Iron
Iron
commented on 16 Sep 2022, 11:35 AM

This still does not work as expected in R3 2022.

The layout of buttons is much better but the image scaling is still corrupted when closing the message box on 4K monitor and then reopening it on the default monitor with mornal 96 DPI.

This is easily reproducible by using the MessageBox test form in the demo application, and dragging and closing between two different DPI montiors.

 

Kind regards, Toby

 

 

 

Dinko | Tech Support Engineer
Telerik team
commented on 20 Sep 2022, 01:05 PM

Thank you for the provided feedback.

I have followed your steps and I was able to reproduce it. You are right that by closing the messagebox on HDPI and then showing it at 100%, the RadMessageBox Image is not called correctly. It turns out that this case was not handled. Therefore I have logged this in our Feedback Portal where you can track its progress. Your Telerik Points are updated for bringing this behavior to our attention.

Tags
General Discussions MessageBox
Asked by
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or