X15 Dialogue Caption Background Mixed Colours

Got a problem you cannot solve? Try here.
simpsonp
Posts: 20
Joined: Sat Oct 30, 2010 3:22 pm

X15 Dialogue Caption Background Mixed Colours

Postby simpsonp » Tue Aug 09, 2022 3:12 am

Hi,

We've just moved from X6 to X15 and all is working very well apart from the background colour in the dialogue caption now having mixed background colours on Windows 11 (on Windows 10 it looks just as X6 did).

The caption background is uniformly dark across the whole dialogue when viewed in the editor and in the editor Test mode. However, the generated installer shows a mixed colour caption background with the area immediately under the text having the expected background colour while the rest of the area is light grey.

As a test I created the most basic installer possible using the QuickStart Wizard and this also shows the issue. In the attached PDF I have included screen shots from the test together with details of my Windows 11 colour choices.

Is this something I can fix myself through configuration or is it a bug?

Many thanks, Peter
Attachments
IA X15 Dialogue Caption Background Colour.pdf
Windows 11 colour settings and dialogue appearance examples.
(224.38 KiB) Downloaded 297 times

pfennig
Posts: 168
Joined: Wed Nov 08, 2006 8:39 am

Re: X15 Dialogue Caption Background Mixed Colours

Postby pfennig » Wed Aug 10, 2022 3:50 am

Same here. I didn't find anything to change it.
Setup Windows 11 - light theme with blue accent color.png
Setup Windows 11 - light theme with blue accent color.png (115.13 KiB) Viewed 10215 times
Best regards
pfennig

simpsonp
Posts: 20
Joined: Sat Oct 30, 2010 3:22 pm

Re: X15 Dialogue Caption Background Mixed Colours

Postby simpsonp » Sun Aug 14, 2022 12:02 pm

It seems that I'm not alone in seeing this, I was just wondering whether the dev team have been able to reproduce the issue?

Best wishes, Peter

pfennig
Posts: 168
Joined: Wed Nov 08, 2006 8:39 am

Re: X15 Dialogue Caption Background Mixed Colours

Postby pfennig » Sun Aug 14, 2022 12:58 pm

Seems I found it. There's a Glass tab in the Dialog designer, with a component called VistaGlass. It has to be placed on each form, with GlassEnabled set to True and GlassTop to 34.
InstallAware's sample projects mostly use it. So the 34 isn't a number I made up myself :)
You may have to put a replacement for the system icon and the title caption into the client area of the form.
Best regards

pfennig

simpsonp
Posts: 20
Joined: Sat Oct 30, 2010 3:22 pm

Re: X15 Dialogue Caption Background Mixed Colours

Postby simpsonp » Mon Aug 15, 2022 6:55 am

Thanks for posting your work-round. In my tests this approach makes the form icon and caption disappear, I'm really looking for a solution that makes the dialogues appear just as they do in the dialogue designer.

Best wishes, Peter

pfennig
Posts: 168
Joined: Wed Nov 08, 2006 8:39 am

Re: X15 Dialogue Caption Background Mixed Colours

Postby pfennig » Mon Aug 15, 2022 9:12 am

Yes, I see, my solution wasn't what you were looking for.

It is really a strange behaviour. Our setups that were built with X14 and released only a couple of weeks before the release of X15 still look OK.

PS.: So far, I didn't find a single application that has such a broken title bar under Windows 11.
Best regards

pfennig

simpsonp
Posts: 20
Joined: Sat Oct 30, 2010 3:22 pm

Re: X15 Dialogue Caption Background Mixed Colours

Postby simpsonp » Mon Aug 15, 2022 5:06 pm

My guess is that this issue came in with the Mica and Dark Mode support that was new in X15.

Hopefully Francesco can give us an update on assessment and timescale for a fix.

Best wishes, Peter

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: X15 Dialogue Caption Background Mixed Colours

Postby FrancescoT » Tue Aug 16, 2022 6:20 am

Dear Peter,

We are aware of the issue with the Mica Mode. Sadly Windows 11 is a moving target and this behavior can change from day to day, as updates are rolled out from Microsoft.

We expect these issues to be resolved as the OS settles down gradually over time.

Unfortunately, currently the only workaround is with disabling the VistaGlass to get rid of this kind of caption. However, this will also eliminate the Mica surface at the bottom of the dialog.

Hope this helps you.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

pfennig
Posts: 168
Joined: Wed Nov 08, 2006 8:39 am

Re: X15 Dialogue Caption Background Mixed Colours

Postby pfennig » Wed Aug 17, 2022 1:42 am

Our dialog's theme didn't use VistaGlass until now. We're using it now for testing purposes to get rid of this bug. But we're undecided, whether or not to live with the bug or the empty titlebar.
For what it's worth, the bug appears in all setups built with X14 as well, but not in in those built with prior versions.
Best regards

pfennig

simpsonp
Posts: 20
Joined: Sat Oct 30, 2010 3:22 pm

Re: X15 Dialogue Caption Background Mixed Colours

Postby simpsonp » Wed Aug 17, 2022 8:29 am

Thanks for the update Francesco.

I've currently got VistaGlass turned on but with SheetOfGlass turned off. This results in missing captions on WIn 10/11 but I already have our brand icon and the dialogue title in the body of the each form so I realised that I could do without the caption and top left corner icon.

Thankfully I don't have any "brand police" to worry about in our open source project! :D

Best wishes, Peter

pfennig
Posts: 168
Joined: Wed Nov 08, 2006 8:39 am

Re: X15 Dialogue Caption Background Mixed Colours

Postby pfennig » Wed Aug 17, 2022 9:08 am

I testet SheetOfGlass, too, but turned it off again. In our custom made welcome dialog with language selection, the listbox with the languages was horribly flickering.
But generally we decided to keep the VistaGlass component.
Best regards

pfennig

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: X15 Dialogue Caption Background Mixed Colours

Postby FrancescoT » Mon Oct 31, 2022 9:11 am

This has been fixed by the latest IA x15 minor update v.32.22.
- Caption painting with Glass on Windows 11 (all versions)
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

pfennig
Posts: 168
Joined: Wed Nov 08, 2006 8:39 am

Re: X15 Dialogue Caption Background Mixed Colours

Postby pfennig » Wed Nov 16, 2022 6:56 am

Thanks.
Best regards

pfennig


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 46 guests