Closed
Bug 66533
Opened 24 years ago
Closed 23 years ago
Add profile switching dialogs/code to winEmbed
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9
People
(Reporter: adamlock, Assigned: adamlock)
References
Details
Attachments
(4 files)
10.91 KB,
patch
|
Details | Diff | Splinter Review | |
3.07 KB,
patch
|
Details | Diff | Splinter Review | |
13.32 KB,
patch
|
Details | Diff | Splinter Review | |
14.15 KB,
patch
|
Details | Diff | Splinter Review |
Add some dialogs to the winEmbed app that demonstrate how to select/switch profiles from an embedding app but also for smoketesting purposes. Add command-line options so the initial profile can be specified.
This is work in progress profile switching code for winEmbed. The code works as it stands in this patch but I should polish it up a little bit before review. Note you must manually build mozilla/profile to get the profile service because embed.mak doesn't build it at the moment. Comments please.
Comment 3•24 years ago
|
||
I've also got profile management code for mfcEmbed. Adam, I'll send that for reference.
Hi Conrad, Can you review these diffs please? They enable profile switching when winEmbed starts up. The behaviour is this: If there are no profiles, a "winEmbed" profile is created and used If there is one profile, it is selected and used If there are multiple profiles a dialog appears to allow the user to choose a profile. I also fixed a problem with the WM_COMMAND handling code for the profile chooser dialog which meant it didn't work from "File|Choose Profile..." previously
Comment 6•24 years ago
|
||
Thanks, I'll take a look soon.
Comment 7•24 years ago
|
||
The piece that's missing from this is an application-level profile change observer. This observer needs to do some things, whithout which profile switching won't work. Check out what mfcEmbed does with that.
Conrad, the latest patch adds observer notifications to monitor for profile changes. The behaviour is to close all the windows on a profile change and open a new one with the initial URL in it.
Assignee | ||
Comment 10•24 years ago
|
||
Assignee | ||
Comment 11•24 years ago
|
||
Marking for 0.9. As winEmbed is no longer the default smoketester I may checkin what I've done on this so far to enable profiles to be activated even if switching from another doesn't work. This should enable me to clear bug 63999. However I'll leave the bug open until profile switching is done in a satisfactory manner.
Target Milestone: --- → mozilla0.9
Assignee | ||
Comment 12•23 years ago
|
||
winEmbed just received an update with new profile switching code. It isn't as sophisticated as mfcEmbed but seems to work reasonably well. A couple of notes: 1. At startup don't double-click on a profile from the dialog. Click on it and hit the "Select" button, otherwise it thinks you hit cancel and quits. One line fix is pending. 2. Sometimes dynamically switching profiles causes a crash on exit. It looks as though one of the chrome objects is still registered with the observer service even though it's been destroyed. I thought weak pointers meant that couldn't happen so I'm investigating that one too.
Assignee | ||
Comment 13•23 years ago
|
||
Profile double click issue has been fixed
Comment 14•23 years ago
|
||
closing as fixed. please open new bugs on the seperate issues.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 15•23 years ago
|
||
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
Comment 16•23 years ago
|
||
Profile dlg in winEmbed. Profile switching works fine. profileService->SetCurrentProfile(newProfileName) used to switch profiles.
Status: RESOLVED → VERIFIED
Updated•5 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•