Closed Bug 6559 Opened 25 years ago Closed 25 years ago

[PP] Broken image icon changes upon window resize

Categories

(Core Graveyard :: GFX, defect, P3)

x86
Windows NT

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: elig, Assigned: kmcclusk)

References

()

Details

* TITLE/SUMMARY
[PP] Broken image icon changes upon window resize

* STEPS TO REPRODUCE
0) Launch Apprunner
1) View http://www.prometheus-music.com/gecko/bug694.html (a page with a link to
a broken image, with pre-specified dimensions)
2) Resize the browser window.

* RESULT
 - What happened

	Upon resize, the broken image icon drawn (res/gfx/icon_0.gif, which isn't
really a broken image icon anyway) is replaced with res/gfx/icon_1.gif --- the
real broken image icon.

 - What was expected

	Broken image icon to remain	consistent despite resizing.

	(This is trivial, but I did want to be sure there wasn't a deeper problem,
and the image change didn't reflect some more significant internal state change.)

* REGRESSION

 - Occurs On
        Win32 Apprunner (5.15.99 AM optimized build [NT 4, Service Pack 3])

 - Doesn't Occur On --- no broken image icon [bug 6553]
        Mac OS Apprunner (5.15.99 AM optimized build)
        Linux Apprunner (5.15.99 AM optimized build)

 - Doesn't Occur On
        Internet Explorer 5.0 (RTM)

* HTML SNIPPET

<img src="bla.gif" width=200 height=200 alt="blu">

* CONFIGURATIONS TESTED

- [Mac] Power Mac 8500/120 (233 Mhz 604e), 64 MB RAM (VM on; 1 MB of VM used),
1024x768 (Thousands of Colors), Mac OS 8.6

- [Win32] Vectra VL (233 Mhz P2), 96 MB RAM, 800x600 (True Color), NT 4.0 SP3.

- [Linux] Vectra VL (266 Mhz P2), 96 MB RAM.
This bug is one of many related to alternate text of images. All these bugs
have been marked. To find related bugs, search the description field for the
string "[ALT]".
Assignee: beard → kmcclusk
Please take a look.
I cannot replicate this behaviour on Windows98. Is it WinNT specific?

Does the "image loading" icon have similar behaviour? For some ultra slow
loading images, see section 1.1.1 of the following page:
   http://www.bath.ac.uk/%7Epy8ieh/internet/eviltests/IMGalt2.html
This should let you resize the window while the image is still loading.

Note that the broken image icon should never appear anyway -- see bug 5764 and
bug 3268 for more details.
Good observation; I'll check tomorrow if nobody else has by then.
Hmm...using the same (5.17.99 AM build), I'm seeing the problem also on Windows
95. --- didn't see a Win98 system around.

(Using the 1.1.1 example, I didn't see it occur during the regular loading of an
unbroken image.)
Weird. I still don't get the problem.

Does it occur on the new broken image at the top of the test page?
   http://www.bath.ac.uk/%7Epy8ieh/internet/eviltests/IMGalt2.html
Hey, Ian ---

I'm definitely seeing a behavior difference using that test case on Windows 98
versus Windows NT.

NT:
	* 60-second image displays as "image loading" icon, changes after 60 seconds
or so to broken
	* broken-image.gif displays as "image loading" icon on page load, changes to
broken image upon resize.

98:
	* 60-second image displays as "image loading" icon, changes after 60 seconds
or so to broken
	* broken-image displays as a broken image. However, if you press "stop" and
resize the window, Apprunner actually displays it as the "image loading" icon. ;)

See ya.
Status: NEW → ASSIGNED
Ok, I can reproduce that. How weird.

Note that as far as I can tell, nothing untowards happens in viewer at all.
(Well. Apart from there being a broken image thing there in the first place,
that is...).  This may be of use to whoever fixes this problem.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Now tgat we do broken images correctly, the problem seems to have gone away.
Marking WORKSFORME.
Status: RESOLVED → VERIFIED
Can no longer reproduce using 7.1.99 AM builds, so I agree that this was fixed as
a result of the change in ALT behavior. Thanks!
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.