Closed Bug 110068 Opened 24 years ago Closed 24 years ago

Composer cannot edit properties for an <img> with a .BMP image SRC.

Categories

(SeaMonkey :: Composer, enhancement)

x86
Windows 98
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.7

People

(Reporter: TucsonTester1, Unassigned)

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98) BuildID: 20011109 When trying to open a bitmap image in Composer it will give you the following error: "This type of page can't be edited". After you click on the "ok" button, the Composer closes. Reproducible: Always Steps to Reproduce: 1.Open the Netscape browser 2.Go to the following web site "http://www.mozilla.org/quality/browser/front- end/testcases/composer/imgmap.png". 3.Click File>Save page as 4.Change the Save in location to the desktop 5.Rename the file to "Dog.bmp" 6.Click Save 7.Open Composer 8.Click the Open icon 9.Change the look in to desktop and choose "dog.bmp" 10.Click Open Actual Results: Gives you the error message: "This type of page can't be edited" Expected Results: I expected the image to be displayed. After repeating steps 1-7 try the following: Click the Image icon Click Choose File Click the "dog.bmp" that is located on the desktop Click Open Type "DOG" in the Alternative Text: box Results: You cannot click on the OK button to open the image I am submitting this as a request for Enhancement, I think bitmaps should be able to be used in Composer.
First part of your bug is normal. Composer is used to edit html pages thus it opens html page. As for inserting bmp files, bug 18502 is now fixed, maybe Composer should be able to insert bmp (for parity with other format) although I recommend using the usual format (png, jpg, gif).
I feel that if the Browser can view BMP's, then Composer should be able to insert them. Also, if you view a page in the Browser that has BMP's, and try to edit it in Composer, it will let you, and the BMP's will show up. But if you try to double click on the BMP's to bring up the properties, the OK button does not light up allowing you to make any changes.
Status: UNCONFIRMED → NEW
Ever confirmed: true
If the Browser can display BMP images as the SRC of an <img> tag, then we can easily allow that in Composer, though I think we might want to popup a warning dialog that it's a very bad idea to do so. Composer will not directly open any image file -- that won't be changed. (I believe the browser is actually making a temporary HTML page and inserting an img element in order to display an image, thus there's no permanent HTML file available to edit.) I'm not sure how much of a priority this should be.
Summary: Composer cannot open bitmap images → Composer cannot edit an <img> with a .BMP image SRC.
Tweaking the Summary
Summary: Composer cannot edit an <img> with a .BMP image SRC. → Composer cannot edit properties for an <img> with a .BMP image SRC.
This is just a matter of adding the bmp type to the list of types composer knows it can handle, if I understand the issue correctly.
Target Milestone: --- → M1
Target Milestone: M1 → Future
I think Charley fixed this bug yesterday. You should now be able to click "OK" in the image dialog after having selected a *.bmp image. Unfortunately we don't warn the user that *.bmp format isn't a universal web format type.
fixed
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: Future → mozilla0.9.7
Verified on build 2001113003.
Status: RESOLVED → VERIFIED
reassign bugs in case they are later reopened
Assignee: syd → composer
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.