Closed Bug 151770 Opened 23 years ago Closed 23 years ago

Can't associate Mozilla with .XBM images

Categories

(SeaMonkey :: UI Design, defect)

x86
Windows 95
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Assigned: law)

Details

Attachments

(1 file, 1 obsolete file)

Now that bug 8031 has been fixed Mozilla can display XBM images but you can't actually associate them with Mozilla in the advanced system pref panel.
Attached patch Patch (untested) (obsolete) — Splinter Review
I have not tested the patch, but I based it on http://bugzilla.mozilla.org/attachment.cgi?id=67542&action=view so it should work unless there's a reference that has changed somewhere that I don't know about. I gave XBM the accelerator key of 'A' since every other letter in "X BitMap" was already used for something else.
Heikki, can you look this over since I based my patch on an old one of yours?
Assignee: ben → sgehani
Component: Preferences → XP Apps
QA Contact: sairuh → paw
I don't know this code, I just changed all the places that seemed to need changes (I searched with LXR for the XUL case and changed every place to accept XHTML as well). Look who reviewed my changes (I think it might have been Bill Law at least) and ask them to review. Just looking at the patch itself it seems good, but I did not look at the context around the changes or if you got all the instances that needed changes. Also please test before you ask for reviews ;)
Bill, I tested this patch and it seems to work, can you make sure I didn't miss anything?
The code looks OK. I'd like to make sure sufficient testing was done. The testing should include: 1. Making sure checkbox appears on Advanced/System pref pane. 2. Said checkbox appears properly checked/unchecked based on previous setting. 3. Registry entries are modified/restored properly when checkbox is checked/unchecked (verified using regedit or equivalent). 4. A .xbm file opened on desktop launches Mozilla when the checkbox is checked, doesn't when it is unchecked. 5. Manually zapping the registry entries when the checkbox is checked results in the "default browser" alert popping up when Mozilla is launched. Can you verify that you tried all these cases and it works correctly?
QA Contact: paw → tpreston
adding nsbeta1- per nav triage team
Keywords: nsbeta1nsbeta1-
Attached patch Patch (tested)Splinter Review
The previous patch actually does work with all tests, but I noticed that IE registers "xbmfile," so I added that to this patch. Ready for review.
Attachment #87768 - Attachment is obsolete: true
Comment on attachment 88198 [details] [diff] [review] Patch (tested) r=law
Attachment #88198 - Flags: review+
Whiteboard: [need sr=]
Comment on attachment 88198 [details] [diff] [review] Patch (tested) sr=alecf
Attachment #88198 - Flags: superreview+
Bill, can you check this in, I don't have CVS write access. Also, do you see a problem with asking for approval for 1.0.1?
Whiteboard: [need sr=]
-> law for checkin
Assignee: sgehani → law
Comment on attachment 88198 [details] [diff] [review] Patch (tested) a=scc for checkin to the mozilla trunk
Attachment #88198 - Flags: approval+
Fix was checked in by timeless.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: