Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Per Monitor DPI issue with Thumbnail area of Preview

While per Monitor DPI support has been greatly improved with RB 21, I still ran into issues with the thumbnail area of the Print Preview. Here's the one I can reproduce easily:

For the bug to occur, it is essential that the primary screen has a Font scaling > 100%, i.e. Screen.PixelsPerInch > 96 (which I try to avoid on my dev machine for "reasons", so maybe that's why this hasn't been noticed).

To reproduce, use any project which produces a multi page preview with thumbnails visible and enabled.

Here's how I started from scratch:
1. Drop TppReport on the Form and a Button to show preview (,DeviceType:= dtScreen, .Print)
2. Design the report and drop half a dozen page break components in, so you get enough pages
3. Set OutlineSettings.Visible = False
To reproduce:
4. Run EXE on the primary screen and click the button to open the preview
5. Scroll down the thumbnails and select one of the last pages
6. Move preview window to the 2nd monitor with different scaling (mine had 100% = 96dpi)
7. After it has been scaled, scroll up the thumbnail area
expected: beginning of scroll area should be correct
actual: scroll area at the top either crops the first page or is much taller than necessary (and than initially)

This occurs in the (End-User-)Designer as well.

I'm using Delphi Sydney 10.4.2 with all patches applied.

Comments

  • Hi Andreas,

    Thanks for the steps to recreate this issue. We have recreated it and are currently researching a solution. I will post here once one is found.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • A patch is now available for RB 21 that solves this issue. Registered users of with an current software subscription can email support@ to receive the patch.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Hi Nico,

    I've followed up on your mail on June 23 with steps, screenshots, patch diff and my compiled DEMO exe - but haven't heard back yet. Any update on the issue? For me this issue is most definitely not fixed.

    Best Regards

    Andreas
  • I just re-sent you my email response from June 26th. Perhaps it was moved to your junk mail.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.