Completed
Last Updated: 09 Jul 2021 09:27 by ADMIN
Release R3 2021
Thomas
Created on: 19 May 2021 09:49
Category: UI for WinForms
Type: Bug Report
0
RadRibbon in High DPI Mode doesnt scaling

Hello Telerik Team,

our Customor works primary on Microsoft Surfaces. These scales on 200 %.

We use AutoScaleMode DPI and all is fine, except the Ribbon Bar. It cuts the ribbon Bar in half, if it's normally collapsed.

We didn't find any solution to fix this.

 

Interesting is the Resizing of the Bar. if you move it between to monitors

  • start the process on 200% Monitor
  • move to 100% Monitor
  • Be sure the Bar is collapsed
  • Open and close the bar at least 2 times
  • move to 200% Monitor back
  • If you open the bar now, its size is now the original size and goes over the window.
  • Close the bar and open it again, than you see the bars lenght is correct, but the height is halved.
  • Move to 100% Monitor again
  • if you open the bar now, the bar goes only over the half window.
  • close the bar and open it again, than the length is correct again, and the height has doupled to its normal value.

 

Maybe it's only a configuration we didn't found yet, maybe it's really a bug.

And a second question: If we maximize the Window, the TitleText hides. Is it possible to show the TitleText in maximized mode too.

1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 19 May 2021 10:43
Hello, Thomas,


The provided sample project is greatly appreciated. The recommended way for enabling the DPI awareness of your application in the app.manifest file is demonstrated in the following help article: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/dpi-support

<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"
                xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
                xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
  <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>

  <asmv3:application>
    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
      <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
      <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
    </asmv3:windowsSettings>
  </asmv3:application>

  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <!-- A list of all Windows versions that this application is designed to work with. 
      Windows will automatically select the most compatible environment.-->
      <!-- Windows 10 -->
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
      <!-- Windows 8.1 -->
      <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
      <!-- Windows Vista -->
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
      <!-- Windows 7 -->
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
      <!-- Windows 8 -->
      <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>

    </application>
  </compatibility>
</asmv1:assembly>

However, I confirm that when the ribbon is collapsed and you move the form between the monitors with different DPI scaling, the popup is not sized properly the first time. The attached gif file provides a better illustration of the observed behavior on my end.

I have approved this bug report. I have also updated your Telerik points.

Currently, due to the specificity of the issue,the possible solution that I can suggest is to keep the ribbon expanded. We will do our best to address this undesired behavior accordingly. Make sure that you Follow this item in order to get notified when any status changes occur.

As to the question about the hidden title bar text in maximized state, feel free to set the RadForm.AllowTheming property to false. Thus, the text will be shown properly.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Attached Files: