[wix-users] WiX bundle splash screen appears twice dependent on size and resolution
Hoover, Jacob
Jacob.Hoover at greenheck.com
Wed Nov 3 12:58:44 PDT 2021
Hrm, maybe related to https://github.com/wixtoolset/wix3/blob/develop/src/burn/stub/stub.manifest and the fact that we don't declare the bundle as DPI aware. (I don't know that we are.) In addition, we wouldn't know if a custom BA was DPI aware.
https://docs.microsoft.com/en-us/windows/win32/hidpi/setting-the-default-dpi-awareness-for-a-process
One could ponder setting a thread specific DPI aware near https://github.com/wixtoolset/wix3/blob/develop/src/burn/engine/splashscreen.cpp#L138 and test to see if that resolves the issue. (Only works in Windows 10+)
From: Matthias Reuss <matthias.mr.reuss at wsa.com>
Sent: Wednesday, November 3, 2021 2:11 PM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com>
Subject: AW: WiX bundle splash screen appears twice dependent on size and resolution
CustomBA.
Meanwhile we have found out that the size difference is not that important, but that we can see the same effect with all our (CustomBA) WiX bootstrapper splashes when we have set the Windows display settings to 125% scaling.
Von: Hoover, Jacob <Jacob.Hoover at greenheck.com<mailto:Jacob.Hoover at greenheck.com>>
Gesendet: Mittwoch, 3. November 2021 16:56
An: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Matthias Reuss <matthias.mr.reuss at wsa.com<mailto:matthias.mr.reuss at wsa.com>>
Betreff: RE: WiX bundle splash screen appears twice dependent on size and resolution
CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
________________________________
Using WixStdBA or a custom BA?
Any custom theming?
From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> On Behalf Of Matthias Reuss via wix-users
Sent: Tuesday, November 2, 2021 11:50 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Matthias Reuss <matthias.mr.reuss at wsa.com<mailto:matthias.mr.reuss at wsa.com>>
Subject: [wix-users] WiX bundle splash screen appears twice dependent on size and resolution
Hi there,
the splash screen of our current WiX bootstrapper project (using WiX 3.11.1) seems to appear twice at least on displays with 1600*1200 or higher resolution: After its first appearance, it vanishes and comes again at a slightly different position. This looks like some Windows component trying to resize something...
On displays with lower resolution, we cannot reproduce that behaviour yet.
In another bootstrapper project of ours, we do not see this effect. Having done a bit of investigation, we found out that the exact size of the bitmap may have an influence:
Bitmap size 600*300: no issue
Bitmap size 595*298: splash screen appears twice on high-resolution displays
Is this a known issue? Is there some workaround (apart from resizing the bitmap, which is tricky, as these bitmaps are made externally)?
Best regards
Matthias Reuss
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=04%7C01%7Cmatthias.mr.reuss%40wsa.com%7C410b7e97337e487ce89808d99ee272a9%7C1a41b96d457d41ac94ef22d1901a7556%7C0%7C0%7C637715517691920756%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=gxlkPlBkzHcP8pQSEABim9UZskJ0PTD3mcHTpWBq3Aw%3D&reserved=0>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.
More information about the wix-users
mailing list