Opened 3 months ago

Closed 6 weeks ago

#2787 closed defect (done)

Opening a C# script on Windows10 causes a change of DPI settings (scaling of widgets)

Reported by: gkronber Owned by: gkronber
Priority: medium Milestone: HeuristicLab 3.3.15
Component: Scripting.Views Version: 3.3.14
Keywords: Cc:


Attachments (1)

Unbenannt.png (373.3 KB) - added by gkronber 3 months ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 3 months ago by gkronber

Starting HL and working with the Optimizer works fine until a C# Script is opened. After that all widgets are scaled strangely (see attachment).

Last edited 3 months ago by gkronber (previous) (diff)

Changed 3 months ago by gkronber

comment:2 Changed 3 months ago by abeham

I observed the problem occurs if you're using DPI scaling > 100% and you're opening a view with a WPF control inside. You should see the same effect when you view a bin packing solution.

See this related question as well as this question on stackoverflow.

comment:3 Changed 8 weeks ago by abeham

  • Owner set to abeham
  • Status changed from new to accepted

r15052: Added app manifest file that enables DPI awareness on a per-monitor basis for Windows 8 and later

I tested it on my laptop with and without the manifest setting and the issue was resolved.

comment:4 Changed 8 weeks ago by abeham

  • Owner changed from abeham to gkronber
  • Status changed from accepted to reviewing

Please test on your PC as well.

comment:5 Changed 7 weeks ago by gkronber

  • Status changed from reviewing to readytorelease

comment:6 Changed 6 weeks ago by gkronber

r15128: merged r15052 from trunk to stable

comment:7 Changed 6 weeks ago by gkronber

  • Resolution set to done
  • Status changed from readytorelease to closed
Note: See TracTickets for help on using tickets.