Exception message popup very small in 5.1.4

delphi package - automated exception handling
Post Reply
AMMSRU
Posts: 6
Joined: Wed Mar 27, 2019 2:27 pm

Exception message popup very small in 5.1.4

Post by AMMSRU »

Hi,

I had been using madExcept 5.1.2 and just updated to 5.1.4 for the RAD Studio 12 support. In one of my C++ Builder 11 projects I noticed that the exception message popups are now scaled very small. Attached are screenshots of the same error message, the only difference being one was built against madExcept 5.1.2 and the other against 5.1.4. The application DPI awareness is set to Unaware. The monitor is 4K set to 200% scaling (changing the scaling percent had no effect).

Is there anything I can do to get back the correct rendering?

Thank you very much!


-- Adrian
Attachments
exception-message-5.1.4.png
exception-message-5.1.4.png (116.41 KiB) Viewed 47169 times
exception-message-5.1.2.png
exception-message-5.1.2.png (130.66 KiB) Viewed 47169 times
AMMSRU
Posts: 6
Joined: Wed Mar 27, 2019 2:27 pm

Re: Exception message popup very small in 5.1.4

Post by AMMSRU »

madshi - Your thoughts please? Are there madExcept settings that could be used to control this behavior?

Thank you!


Adrian
Uwe Raabe
Posts: 3
Joined: Wed Mar 22, 2017 7:45 am

Re: Exception message popup very small in 5.1.4

Post by Uwe Raabe »

I have somewhat of a similar problem. When executing this code

Code: Select all

var
  exc: IMEException;
begin
  exc := NewException(etNormal);
  exc.ShowSetting := ssAssistant;
  exc.ShowAssistant := 'SendAssistant';
  exc.AutoSend := true;
  exc.Show;
  exc := nil;
end;
in a Monitor v2 enabled application on a 4K monitor with 150% scaling I get this:
Screenshot taken on monitor with 150% scale
Screenshot taken on monitor with 150% scale
SendAssistent.png (8.77 KiB) Viewed 36781 times
Note, that the screenshot is taken with 150% scale, which makes it look larger in the browser than it is on the screen.
While the buttons have the correct size, the interior (here the Contact Information controls) are too small. As this seems to be a non-VCL form, it can't make use of the scaling mechanism implemented in VCL and has to handle this itself. The image suggests that something is missing there.
Post Reply