Unplanned
Last Updated: 05 Apr 2024 11:00 by ADMIN
Kip
Created on: 18 Aug 2022 09:35
Category: GridView
Type: Bug Report
6
RadGridView: Excel-like popup is not scaled properly on High DPI

Run the attached project on a monitor with 100% DPI scaling and open the Excel-like filter popup:

100%:

After moving the form to the second monitor with 150% DPI scaling, the filter popup is not OK:

150%:

The popup is smaller and smaller with each next opening (see the attached gif file) at 150%. If you decide to move back the form on the monitor with 100% DPI scaling, the filter popup is not scaled properly.

7 comments
ADMIN
Dinko | Tech Support Engineer
Posted on: 05 Apr 2024 11:00

Hello,

Until this behavior is resolved, we can use the following workaround to correctly position the filter popup on a higher DPI.

public RadForm1()
{
    InitializeComponent();
    this.radGridView1.FilterPopupInitialized += RadGridView1_FilterPopupInitialized;
}

private void RadGridView1_FilterPopupInitialized(object sender, FilterPopupInitializedEventArgs e)
{
    RadListFilterPopup popup = e.FilterPopup as RadListFilterPopup;
    popup.MinimumSize = new Size(300, 300);
    popup.PopupOpened += Popup_PopupOpened;
}

private void Popup_PopupOpened(object sender, EventArgs args)
{
    RadListFilterPopup popup = sender as RadListFilterPopup;
    popup.LocationChanged += Popup_LocationChanged;
    popup.Location = new System.Drawing.Point(MousePosition.X, MousePosition.Y);
}
private void Popup_LocationChanged(object sender, EventArgs e)
{
    RadListFilterPopup popup = sender as RadListFilterPopup;
    if (popup != null)
    {
        popup.LocationChanged -= Popup_LocationChanged;
        Screen screen = Screen.FromPoint(new System.Drawing.Point(popup.Left, popup.Top));
        if (popup.Left + popup.Width > screen.WorkingArea.Right)
        {
            popup.Left = screen.WorkingArea.Right - popup.Width;
        }
    }
}

Regards,
Dinko | Tech Support Engineer
Progress Telerik

A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com
ADMIN
Dinko | Tech Support Engineer
Posted on: 18 Mar 2024 14:44

Hello Erwin,

There is a separate feedback item for the column chooser in HDPI. You can share any feedback regarding the column chooser behavior in HDPI in the other item so that the development team can consider it.

Regards,
Dinko | Tech Support Engineer
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.

erwin
Posted on: 15 Mar 2024 17:07
The grid column chooser shows similar problems under high dpi.
ADMIN
Dinko | Tech Support Engineer
Posted on: 15 Mar 2024 12:45

Hello Emanuele,

Upon checking the feedback item, it is still not planned for fixing. I have already informed our development regarding your reply I have increased the priority of the item. At the moment this item is planned for fixing, we will update the status of the item so that you can be informed.

Regards,
Dinko | Tech Support Engineer
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.

Emanuele
Posted on: 14 Mar 2024 11:25

Hello, any news on this issue? I still see this problem also the examples of 2024 Q1 version.

Thank you,

Attached Files:
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 21 Jul 2023 15:19

Hello,  Josh,

Thank you for the provided feedback. If you have any specific steps that replicate any undesired behavior that can be added to this scenario, it would be greatly appreciated if you can share it us so we can consider it when addressing the item.

In addition, make sure that you cast your vote for the item in order to increase its priority. The more votes an item gathers, the higher its priority becomes. 

Regards,
Dess | Tech Support Engineer, Principal
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.

Josh Fredrickson
Posted on: 17 Jul 2023 19:11

I've seen this more and more as we have more users running 4k (Microsoft Surface) or weird scaling like 125%+.

Sometimes this filter box will even open off the current screen and onto another screen aroun 500 pixels away.