Closed Bug 4884 Opened 26 years ago Closed 25 years ago

CCK Wizard Build Installers screen: implement checkbox/listbox UI

Categories

(CCK Graveyard :: CCK-Wizard, defect, P2)

x86
Windows 95
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: robinf, Assigned: gayatrib)

Details

On the last screen of the CCK Wizard, for the list of installer components, we want to implement the same UI that Sean Su is using for the end-user installer. We want the list box to include a checkbox next to each component.
Status: NEW → ASSIGNED
Priority: P3 → P2
Target Milestone: M9
Priority: P2 → P1
Bulk move to M10.
Bulk move of leftover M10 bugs.
Target Milestone: M12 → M15
Not required for "beta" (theoretically, sorta)
Priority: P1 → P2
Sean Su's actual implementation is built to NOT depend on MFC, so it's very painful to use his code verbatim. However, he based his widget on the MFC standard widget, so we can just use the CCheckListBox for this. This has now been added to the wizard machine. The remaining piece is to hook up the descriptions to the currently selected (as opposed to checked) item. This listbox is implemented as a single select list, so we should always know exactly which description to show. There will need to be some new INI file capability to associate descriptions with list options... Since the problem is half solved, reducing the priority by one notch.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Descriptions are now implemented. See the example in build_page1.ini. Add an OptionDescriptions=<subsectionname> and then add the subsection [<subsectionname>] and then add desc<i> exactly matched to the opt<i> in the options subsections. The widget works by using the option number to look up the description, so they need to stay in sync. There are probably better ways to implement this, but it works so I'm going to be happy with it.
Is this the final implementation mirroring Sean Su's component pick list in the XPI installer?
Um, well, I closed the bug... If it's not behaving to spec (i.e. like the installer widget) then file a new bug. There will probably need to be a change later to allow the contents and descriptions to be generated dynamically, but I don't know that for sure yet. If you had a more specific question in mind, please clarify.
Status: RESOLVED → VERIFIED
Marking this Verified Fixed.
You need to log in before you can comment on or make changes to this bug.