TAdvOfficePager tabs incorrectly display captions in high DPI

VCL UI PACK 13.5.4.1
Drop TAdvOfficePager on an empty main form, compile and run.

  1. if compiled with Manifest stating that app is DPI Unaware, TAdvOfficePager tab captions are rendered OK
  2. if Compiled with anything else that supports High DPI (System aware, etc.), TAdvOfficePager tab captions are rendered incomplete - they lack aone or more terminal letters

The same bug appeared in previous version as well.
If my memory serves, similar problem (but DPI non-dependent) occured in caption of TAdvSmoothPanel couple of versions ago, but that has been fixed

What Delphi IDE do you use?
I retested this here creating & running the app on a 150% DPI screen, but I could not see such issue here?

I have found that this occurs in Delphi 11.3 Alexandria. I attach the picture where in the Top there is application compiled with "Unaware" manifest, and in the bottom the same application compiled with "System aware" manifest.
This bug does not occur in delphi 12.3 Athens.
Perhaps this is due to the differen library precompiled DCUs?

No, this is not due to different DCUs. I forced the project to use AdvOfficePager.Pas source
and the result is the same

Embarcadero made subtle and sometimes breaking changes for high DPI handling between almost every recent release of Delphi. Even between 11.0 and later 11.x versions. It therefore became extremely hard to write a component that has a 100% correct behavior in all these different IDE versions. We concentrate therefore to get everything right in their latest releases (12.3 at this moment).
We'll see if we can reproduce this and somehow separately fix this for 11.3 but given these complexities with all these subtle differences, it is not something we can guarantee at this moment.

Thanks for responding. For me, the solution is to migrate from 11.3 to 12.3, so this is I no longer crucial thing. I just found this behaviour in one of my projects developped in D11, so I reported. I did not try to check other D versions before. I apologize for that.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.