The custom column filter dialog does not look good when DPI significantly above 100% (I am testing at 200% and higher).
This is happening in production, but I got the problem to happen in a test app as well. I took the example code from this forum post, set AllowRowFiltering on a column and enabled high dpi support.
The source I have attached is at Infragistics 16.1 but I also see this problem on 17.1 .
And here is roughly what it should look like (but without the aliasing from system scaling).
Hello,
I followed the steps you suggested and was unable to reproduce the behavior you're describing. I have set my Windows10 machine scaling to 200% and I have called EnabledVisualStyles method in my application entry point. However, I did not observe the behavior you mentioned in CustomFilterDialog.
I tried testing this issue with the sample you provided but I ran into some other non related issues while debugging it. I have tested the CustomFilterDialog rendering issue with a simple application that I already have. I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, then the change in behavior is due to differences in your environment from mine and these differences can be anything from operating system version to the specific version of the Infragistics DLL versions used. My test was performed using version 2017.1.20171.1000 in Infragistics for WindowsForms 2017 Vol1. Please provide more details about your machine and version of the assemblies that you are referencing so that I can modify the environment that I am testing in to match yours.
If the project does show the product feature working correctly, then more information will be needed to reproduce the issue in a sample that can be used for debugging. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing. This can be done by either making the sample that I provided more like your application or by isolating the behavior from your application by removing dependencies on any third parties or databases.
Please let me know if I can provide any further assistance.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
Thanks for your reply. I downloaded and was able to run your test app, and see that it does not repro the problem. I upgraded the .Net version to 4.7, added an app manifest, and make some changes to the app.config to enable dpi awareness (see the microsoft link above for details). It now repros on my machine. Resulting code is in the attached file.
If you have multiple monitors, you will need to set the high dpi monitor as primary. After changing DPI settings, login again to get the DPI to fully propagate.
Thanks for sending us the sample. I will try to reproduce the DPI rendering issue that you mentioned here by modifying my testing environment as you specified. I will post an update by end of day Wednesday.
Please let me know if you have any questions.
After making the changes that are required to make the sample application support high DPI, we were able to reproduce the DPI rendering issue that you mentioned. As VS2017 and Infragistics 17.1 came around the same time the current functionality does not include enhanced high DPI support that came in with .Net framework 4.7. Our control’s does not support high DPI settings per monitor because of this reason. I have brought this issue to our developer’s attention and this might likely get addressed in 17.2.
Do you have any updates on this case please? We upgraded recently to 2017.2 and the problem seems to still be here.
Sincerly,
Hugues
I have investigated the custom column filter dialog is not scaled properly when DPI is above 100% issue, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 252374. This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will update this thread with any new information after the review.
Please let me know if you have a deadline that you are trying to meet or if it’s a production issue. If it is, I can request my manager to escalate this issue so that it can be reviewed as soon as possible.