Closed
Bug 120421
Opened 23 years ago
Closed 18 years ago
UI issues with Progress for LDAP Replication dialog
Categories
(MailNews Core :: LDAP Integration, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.0
People
(Reporter: scottputterman, Assigned: sspitzer)
References
Details
(Whiteboard: [ADT3])
Attachments
(3 files)
50.95 KB,
image/jpeg
|
Details | |
21.66 KB,
image/gif
|
Details | |
1.44 KB,
patch
|
Details | Diff | Splinter Review |
When we replicate an LDAP Directory we need to show a progress dialog or progress of some sort. This may need to be two bugs if we need a bug for the backend for progress.
Reporter | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Keywords: nsbeta1+
Priority: -- → P1
Summary: Progress dialog for LDAP Replication → Progress for LDAP Replication
Target Milestone: --- → mozilla0.9.9
Comment 1•23 years ago
|
||
If possible, the Progress dialog should be a non modal dialog. This will not block the user in case if a large file is replicated, specially when all the records need to be downloaded. This will however require to take care of the case if the user tries to close Mozilla while the replication is still going on.
Assignee | ||
Comment 2•23 years ago
|
||
just for completeness, was the dialog modal in 4.x? as we discussed in rajiv's meeting, we need to make the LDAP replication service do the same thing that the compose window does on quit: put up a dialog asking if the user wants to cancel replication and quit, or stop the quit and continue replication. again, we should check what 4.x did.
Comment 3•23 years ago
|
||
The dialog in 4.x is modeless. In 4.x when the user exists, it brings up a "Netscape Exit Confirmation" dialog which asks if you want to close all windows, doesn't matter if replication is being done or not.
Comment 4•23 years ago
|
||
I however think we should do what Seth suggested in comment # 2, better than 4x. We need to figure out how to stop the quit though.
Comment 5•23 years ago
|
||
Moving to 1.0 since I will be checking this in when the rest of LDAP replication code gets checked in
Target Milestone: mozilla0.9.9 → mozilla1.0
Assignee | ||
Comment 6•22 years ago
|
||
taking, I plan on helping with the UI while srilatha focuses on #78585 We'll need this, and other UI, so that we can land #128086
Comment 7•22 years ago
|
||
Discussed in Mail News bug mtg with Engineering QA Mktng PjM. Decided to ADT3 this bug.
Whiteboard: [ADT3]
Assignee | ||
Comment 8•22 years ago
|
||
Assignee | ||
Comment 9•22 years ago
|
||
For robinf / jglick, see the attached screen shot. Here are the strings, please let me know how you want the dialog to look and what you want the strings to be. replicationStarted=Replication started... changesStarted=Started finding changes to replicate... replicationSucceeded=Replication succeeded replicationFailed=Replication failed currentCount=Replicated %S entries so far... replicatingTitle=Replicating %S <!ENTITY status.label "Status:"> <!ENTITY progress.label "Progress:"> <!ENTITY replicationCancel.label "Cancel"> <!ENTITY replicationCancel.accesskey "C">
Status: NEW → ASSIGNED
Assignee | ||
Comment 10•22 years ago
|
||
other comments / issues: 1) note, the progress dialog is not modal. 2) since the progress dialog is not modal, how will we prevent multiple replications? 3) what should we do when the user tries to sync when offline? 4) note, [x] will act like cancel. 5) Should cancel, and [x] ask the user to confirm? 6) what if the user tries to exit while replication is in progress? (should they be asked to confirm, like we do when sending mail, or composing mail?)
Assignee | ||
Comment 11•22 years ago
|
||
note, the files for this are checked in. to try it out, you nee the patch in bug #120427.
Comment 12•22 years ago
|
||
Since the replication is happening on main thread having more than one replication at the same time will be an overkill, the reason i suggested the dialog box to be non modal earlier was since the earlier plans were to replicate on a separate thread. Maybe we should make the dialog as modal.
Comment 13•22 years ago
|
||
currentCount=Replicated %S entries so far... Is it possible to have this text include the total # of entries? "Replicated %S of x entries..." where x is the total?
Comment 14•22 years ago
|
||
Suggested dialogs. No min/max controls. Buttons usually centered for Windows dialogs. More space between top of dialog and "Status" text. More space between "Status" and "Progress" text. If user tries to exit while replication is in progress, confirm with other dialog.
Comment 15•22 years ago
|
||
>2) since the progress dialog is not modal, how will we prevent multiple >replications? Disable button while replication in progress, or show an information dialog: "A replication of this directory is already in progress." OK. Title=ProductName. >3) what should we do when the user tries to sync when offline? Info dialog: "You must be online to replicate a directory." OK. Title=ProductName. >4) note, [x] will act like cancel. Yup. >5) Should cancel, and [x] ask the user to confirm? Probably not. No data loss. They can click the button again if they change their mind. >6) what if the user tries to exit while replication is in progress? (should >they be asked to confirm, like we do when sending mail, or composing mail?) See dialog in attachment above.
Assignee | ||
Comment 16•22 years ago
|
||
> Since the replication is happening on main thread having more than one
> replication at the same time will be an overkill, the reason i suggested the
> dialog box to be non modal earlier was since the earlier plans were to
> replicate on a separate thread. Maybe we should make the dialog as modal.
One good reason to keep the replication progress dialog non-modal is it allows
the user to do other things (like read email, browse the web) while replicating.
I think 4.x has the same behaviour.
Assignee | ||
Comment 17•22 years ago
|
||
thanks for the screenshots and the UI suggestions. I'll work on them soon. as far as I know, we don't know the total # of entries to be replicated. If we did know, we could do a real progress meter show real progress, instead of just the spinning bar. note, 4.x has the same limitation, and has a similar UI. given that we don't know the total, what should the text be? I can find out what the text was in 4.x, if that will help.
Comment 18•22 years ago
|
||
Ran Rajiv's builds on Win2K and Linux, a progress dialog shows while replicating a LDAP Server but no confirmation dialog yet asking if the user wants to cancel replication or continue replication.
Comment 19•22 years ago
|
||
> Since the replication is happening on main thread having more than one > replication at the same time will be an overkill, the reason i suggested the > dialog box to be non modal earlier was since the earlier plans were to > replicate on a separate thread. Maybe we should make the dialog as modal. > One good reason to keep the replication progress dialog non-modal is it allows > the user to do other things (like read email, browse the web) while replicating. I just meant the dialog to be modal only to the Address Book window, otherwise the user can exit the Directory properties dialog and start replicating another directory or even a quick search on another directory. Just disabling the replication button will not do the trick to stop the user from working with another directory.
Assignee | ||
Updated•22 years ago
|
Summary: Progress for LDAP Replication → UI issues with Progress for LDAP Replication dialog
Comment 20•22 years ago
|
||
>as far as I know, we don't know the total # of entries to be replicated.
>Given that we don't know the total, what should the text be?
"Replicating directory entry: <X>"
Assignee | ||
Comment 21•22 years ago
|
||
here are the string changes we'll need. the code that uses all of these is not yet in the product, but we need the strings before the l10n freeze.
Assignee | ||
Updated•22 years ago
|
Priority: P1 → P2
Reporter | ||
Comment 22•22 years ago
|
||
Changing nsbeta1+ [adt3] bugs to nsbeta1- on behalf of the adt. If you have any questions about this, please email adt@netscape.com. You can search for "changing adt3 bugs" to quickly find and delete these bug mails.
Keywords: nsbeta1-
Reporter | ||
Comment 23•22 years ago
|
||
Changing nsbeta1+ [adt3] bugs to nsbeta1- on behalf of the adt. If you have any questions about this, please email adt@netscape.com. You can search for "changing adt3 bugs" to quickly find and delete these bug mails.
Keywords: nsbeta1+
Updated•20 years ago
|
Product: MailNews → Core
Comment 24•18 years ago
|
||
I believe the remaining issues on this bug were fixed by bug 340560 - Integrate the replication progress dialog into the LDAP directory properties window - Therefore I'm marking this as fixed by 340560.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•