Witanca
Posts: 13
Joined: Sun Jun 01, 2014 6:21 pm

Bug Report - “Back, Cancel & Next” button issues

Advanced Installer 11.2
User Interface > Dialogs

I am using the “User Interface > Themes > Surface > BlackSurface”

Bug:
The “Back, Cancel & Next” buttons have issues.

1# The button layout is not correctly set on all Dialog pages
2# The buttons do not all have the correct settings PushButton's / ImageButtons

This can be seen in the “WelcomDlg, BrowsDlg and VerifyReadyDlg”. Just add the “Back, Cancel & Next” button to these pages and the issues will be noticable. Most of the issues can be fixed manualy by copy-past buttons that do work from other pages. Issue 2# cant be fixed manualy, due to not able to switch from Push to ImageButton, plus one can't redirect back to the same page with "Event Option - Argument". But there all by all not very user friendly sollution.
Last edited by Witanca on Mon Jun 02, 2014 1:12 pm, edited 1 time in total.
Witanca
Posts: 13
Joined: Sun Jun 01, 2014 6:21 pm

Re: Bug Report - “Back, Cancel & Next” button issues

I finaly found a method of fixing incorrect buttons, by simply replacing the following lines directly in the SAVEDPROJECT.aip with the use of a content editor.

VerifyReadyDlg

Incorrect lines:

<ROW Dialog_="VerifyReadyDlg" Control="Back" Type="PushButton" X="17" Y="320" Width="78" Height="28" Attributes="3" Text="[ButtonText_Back]" Help="Back|" Order="200" TextLocId="Control.Text.VerifyReadyDlg#Back" HelpLocId="Air.Control.Help#Back" MsiKey="VerifyReadyDlg#Back" Options="1" ExtType="PushButton" ExtData="[ButtonText_Back]" ExtDataLocId="-"/>

Replaced with the correct lines:

<ROW Dialog_="VerifyReadyDlg" Control="Back" Type="ImageButton" X="17" Y="359" Width="78" Height="28" Attributes="3" Text="[BackButton]" TextStyle="[MetroButtonText]" Order="600" MsiKey="VerifyReadyDlg#Back" Options="1" ExtType="ImageButton" ExtData="[ButtonText_Back]" ExtDataLocId="-"/>

I really hope these kinds of bugs get fixed soon, manual work like this is not fun / needed.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Bug Report - “Back, Cancel & Next” button issues

Hello,

I'm afraid I don't fully understand your scenario. Can you please give us more details about this (maybe exemplify or iterate a step by step test case scenario)?

Also, it would be useful for us if you could isolate the behavior in a buildable sample and send it us alongside a test case scenario to support at advancedinstaller dot com so we can investigate.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Witanca
Posts: 13
Joined: Sun Jun 01, 2014 6:21 pm

Re: Bug Report - “Back, Cancel & Next” button issues

Advanced Installer 11.2
User Interface > Dialogs

I am using the “User Interface > Themes > Surface > BlackSurface”

Bug:
The “Back, Cancel & Next” buttons have issues.

1# The button layout is not correctly set on all Dialog pages
2# The buttons do not all have the correct settings PushButton's / ImageButtons

Just add the “Back” and “Cancel” buttons to the VerifyReadyDlg dialog.
You will see that the Layout of the “Back” button does not have the correct default values.

It has:
Layout = 5, 831, 11, 11

But should be:
Layout = 17, 359, 78, 28

Plus

Its Type = PushButton

But should be = ImageButton

The Layout values can be changed, but the button Type can’t, you need to preform the action preformed in previous post.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Bug Report - “Back, Cancel & Next” button issues

Hello,

First of all I apologize for my delayed reply. Lately we were quite busy.

Please keep in mind this is our current implementation for the "Surface" theme. The [Back] and {Cancel] buttons from "VerifyReadyDlg" are intended not to be displayed (this is why the "Visible" attribute is set to "False"). The reason is because the "Surface" theme implementation was to be as simple and smooth as possible. However, I'll forward your request to our development team and maybe we will add by default the [Back] button (on "VerifyReadyDlg")) as "Visible" and as a image button with the correct layout sizes. Thank you for your suggestion. Until then, as a workaround you can simply add on desired dialogs an image button and customize it accordingly with desired attributes, text style, layout etc. Also, you should add correspondingly published events on your custom button.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”