Closed Bug 82568 Opened 23 years ago Closed 23 years ago

Offline UI: Need default selections in Work Offline/Online dialogs

Categories

(SeaMonkey :: MailNews: Backend, defect, P2)

x86
Other
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: laurel, Assigned: mohanb)

References

Details

(Whiteboard: fixed by 79865, verified on trunk)

Attachments

(3 files)

Using may24 commercial trunk build Offline UI spec: http://www.mozilla.org/mailnews/specs/ Both the Work Offline and Work Online dialogs should have default selections, they currently don't. 1. The Work Offline dialog should have: a. "Always ask me..." checkbox enabled b. Download button selected as default 2. The Work Online dialog should have: a. "Always ask me..." checkbox enabled b. "Send" button selected as default
Reminder: make the "Always ask me" checkbox tie in with the prefs panel to disable the associated ask me pref if user unchecks the ask me option in the Work Online/Offline dialogs.
taking ..
Assignee: dianesun → mohanb
Priority: -- → P2
Target Milestone: --- → mozilla0.9.2
PDT+ per 6/12 mtg.
Whiteboard: [PDT+]
Attached patch proposed patch v1 (deleted) — Splinter Review
Whiteboard: [PDT+] → [PDT+] requesting r & sr
cc'ing bhuvan for review & spitzer for super review;
Changes look good to me. However, there seems to be a lot of common code among these files. Please optimize the code in 093 timeframe. Indentation needs to he fixed here and there. Please comment as to what does various values for the following pref actually means. "offline.download.download_messages", 1 Also, add comments in general to the routines & other notable statements. Please do post screenshots with default selections. bhuvan
Is it possible to have some space between the dialog question and the "Always ask me..." checkbox? And also between the checkbox and the buttons at the bottom? The whole dialog (both of them) just looks squished together. Also, the dialogs are sort of wide horizontally. Maybe the text could wrap to the next line to keep them less wide.
Mohan, can you please try and use nsIPrompt or nsICommonDialogs to display common dialogs like this? There is no point of emulating that component like you do. Not only is the nsIPrompt/nsICommonDialogs code reusable, but a lot of the code you are adding in this release of your patch already exists in dialogOverlay.
Attached image modified screen shot v1.0 (deleted) —
Whiteboard: [PDT+] requesting r & sr → [PDT+] requesting r & sr Planning for checkin by FRI : 06/22
bug # 79865 has the combined patch;
Whiteboard: [PDT+] requesting r & sr Planning for checkin by FRI : 06/22 → [PDT+] requesting r & sr
Whiteboard: [PDT+] requesting r & sr → [PDT+] fixed by 79865
Blocks: 79480
pushing out. 0.9.2 is done. (querying for this string will get you the list of the 0.9.2 bugs I moved to 0.9.3)
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Removing PDT+, marking nsbranch; should be checked into the 0.9.3 trunk ASAP, tested & verified, then submitted for limbo builds.
Keywords: nsBranch
Whiteboard: [PDT+] fixed by 79865 → fixed by 79865
Fix checked in on behalf on mohanb.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Adding vtrunk; bugs need to be verified in the trunk for eventual limbo checkins.
Status: RESOLVED → ASSIGNED
Keywords: vtrunk
Clearing resolution, nsBranch bugs should be closed only after checkins into limbo builds.
Resolution: FIXED → ---
Commercial builds 2001-07-05-09-trunk/ win nt 4.0 2001-07-05-08-trunk/ linux 2.2, red hat 7.0 2001-07-05-08-trunk/ mac os 9.0.4 Verified the following: -When going offline this appears: 1. The Work Offline dialog should have: a. "Always ask me..." checkbox is enabled b. Download button selected as default -When going online this appears: 2. The Work Online dialog should have: a. "Always ask me..." checkbox is enabled b. "Send" button selected as default -Doing the following scenarios results in these prefs being set * Work Offline dialog -Uncheck "Always ask me" and hit download button it results in Edit|Pref|Offline and Disk Space|Automatically download my messages for offline use is set -Uncheck "Always ask me" and hit don't download button it results in Edit|Pref|Offline and Disk Space|Do Not download my messages for offline use is set -leave the "Always ask me" checked in download/don't download or send/don't send will result in the 'ask me pref' in Edit|Pref|Offline and Disk Space|Ask me being set Verified on trunk. Removing Keyword Vtrunk. adding 'verified on trunk' to status whiteboard. Leaving status as Assigned per instructions from Jussi.
Keywords: vtrunk
Whiteboard: fixed by 79865 → fixed by 79865, verified on trunk
Missed 0.9.3.
Target Milestone: mozilla0.9.3 → mozilla0.9.4
changing the resolution to fixed, since it is checked into the trunk;
Status: ASSIGNED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Verified with Commercial builds: 2001082809 - win nt 4.0 2001082808 - linux 2.2, mac 9.0.4 1. The Work Offline dialog has: a. "Always ask me..." checkbox enabled b. Download button selected as default 2. The Work Online dialog has: a. "Always ask me..." checkbox enabled b. "Send" button selected as default Preference Panel's "Offline & Disk Space" options are set properly with the following combinations: When going offline: 1. Uncheck "Always ask me..." and hit download button result in "Automatically download messages for offline use" option is set. 2. Uncheck "Always ask me..." and hit Don't download button result in "Do not download messages for offline use" option is set. 3. Check "Always ask me..." and hit download button result in "Ask me if I want to download messages..." option is set. 4. Check "Always ask me..." and hit Don't download button result in "Ask me if I want to download messages..." option is set. When going online: 1. Uncheck "Always ask me..." and hit Send button result in "Automatically send my unsent messages" option is set. 2. Uncheck "Always ask me..." and hit Don't Send button result in "Do not send my unsent messages" option is set. 3. Check "Always ask me..." and hit Send button result in "Ask me if I want to send my unsent messages" option is set. 4. Check "Always ask me..." and hit Don't Send button result in "Ask me if I want to send my unsent messages" option is set. Gary, I don't have the privelege to change the bug's status field, can you mark the bug as Verified for me? thx.
Marking verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: