Closed Bug 280439 Opened 20 years ago Closed 15 years ago

Revise pref-download page and give back default beep for download complete

Categories

(SeaMonkey :: Download & File Handling, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 490467

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

References

Details

(Whiteboard: [patchlove])

Attachments

(1 file, 4 obsolete files)

Since the landing of my patch on bug 7840 there is no way of easily having the
default beep for when a download completes. The hard way of having it is to
either delete the file currently being used or to navigate to the default beep file.

Several possible ways of fixing this:
a) Try and squash more onto existing Downloads page.
b) Create a new Notifications page for Navigator and make it identical in layout
to the Mail & News Notifications page.
c) Write enable text field so when blank default beep is played - similar to
sound notification for popup windows.
Actually it wasn't my bug that created the read only text box, that was bug
260818 - adding the author for a view ;-)
Neil brought up this issue in bug 266195 so adding him too.
(In reply to comment #1)
> Actually it wasn't my bug that created the read only text box, that was bug
> 260818 - adding the author for a view ;-)
> Neil brought up this issue in bug 266195 so adding him too.

Actually, it was bug 16498 - still my fault though.

Ian, you can reassign this to me if you don't want to take care of it.  
Just a reminder to me - if I've not done something on this by 1.9, Chris said
he'd do it :-)
Attached patch Work in progress v0.1 (obsolete) — Splinter Review
This patch:
* re-enables beep for empty sound strings
* makes the sound string look prettier
* saves the sound string if it needed to be fixed up

Not sure if this is the correct way to do any of the above yet.
Attached image Possible redesign of pref-download page (obsolete) —
Original layout suggested by Chris - wording changes by me - any comments?
Sorry, I don't see how you clear the current sound file.
Okay I forget to make the textbox writable in the previous image
Attachment #173016 - Attachment is obsolete: true
Attached patch Revised pref patch v0.1a (obsolete) — Splinter Review
Changes from v0.1:
* Added checking for Shutdown() function from within nsPrefWindow.js
* Made sound_url textbox writable
* Used Shutdown function to fixup any file location entered in sound_url
textbox
* Reorganised page as suggested by Chris
* Reworded some of the labels to make them fit better in new design
Attachment #172913 - Attachment is obsolete: true
Attachment #173033 - Flags: review?(timeless)
Old summary was "Default beep for download complete"
Summary: Default beep for download complete → Revise pref-download page and give back default beep for download complete
Comment on attachment 173033 [details] [diff] [review]
Revised pref patch v0.1a

i'd really like the two variables finish/download to be named such that i could
understand that one is the pretty one.

also, i believe it's "Download Manager" :)
Attachment #173033 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #173033 - Flags: review?(timeless)
Attachment #173033 - Flags: review+
Carrying forward r=
Attachment #173033 - Attachment is obsolete: true
Attachment #175076 - Flags: review+
Attachment #173033 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #175076 - Flags: superreview?(neil.parkwaycc.co.uk)
Status: NEW → ASSIGNED
I have a sneaky suspicion that some of this patch is to work around our broken
dialog onchange story. If so, please can you remove it? Thanks.
There is some wierdness with how onchange fires. Unless you are debugging the JS
onchange event happens after the PageData has been saved via switchPage thus the
changes are not saved.
Is there anyway to make sure the onchange event has been processed before the
PageDate is saved?
If you look at pref-proxies use of onchange that is also broken for switching
between pref pages.
Select Automatic Proxy Configuration URL
Enter something like c:\proxy.pac and then click onto another pref page
If you are quick you can see the URL being changed to file:///c:/proxy.pac but
when you click back to the proxies pref page it is still c:\proxy.pac and
clicking OK stores it as c:\proxy.pac instead of as a URL.
Ian, Neil,
Are you still working on this ?
This will probably be closed off once this panel is moved to the new pref window
QA Contact: download-manager
Depends on: 490464
Whiteboard: [patchlove]
Comment on attachment 175076 [details] [diff] [review]
Revised pref patch with new names v0.1b

obsolete patch, none of those files exists any more in that form.
Attachment #175076 - Attachment is obsolete: true
Attachment #175076 - Flags: superreview?(neil)
Reintroducing sound is now bug 490467, I think we can safely dupe this there.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: