Closed Bug 262800 Opened 20 years ago Closed 18 years ago

Credits start to scroll before activated

Categories

(Firefox :: Menus, defect)

1.0 Branch
defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Firefox 2 beta2

People

(Reporter: ross, Assigned: piratepenguin)

Details

(Keywords: fixed1.8.1, polish)

Attachments

(1 file)

When viewing Help | About Mozilla Firefox, if you wait for about 5 seconds
before clicking the Credits button, the credits crawl will have started
scrolling already in the background. It then restarts, but the jump is noticable
and irksome. Can't we just start it when that pane is switched to?
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20041003
Firefox/0.10

WFM
oops, had clicked too fast
Confirming
Assignee: firefox → nobody
QA Contact: bugzilla → menus
Version: 1.0 Branch → unspecified
It happens on the Mac OS X edition of Firefox too, even up to
version 1.5b2.  (So if others can check other environments,
maybe we should change effected hardware/OS to "All".)
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060311 Firefox/1.6a1

Confirmed. I don't think it's an OS dependent thing...
Whenever I confirmed above I was getting a slightly different behaviour to that reported originally (only noticed now).

On "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060311 Firefox/1.6a1", going to Help | About, waiting for 10 seconds and then clicking the credits button would result in the credits crawling from a good bit into them - the credits.xhtml page was already running and not refreshed (in the original report, it was refreshed, after a short but noticeable while. The page isn't refreshed on the Windows nightlies either, so it must be a HEAD thing.).

The patch I attached above results in the credits.xhtml file not being rendereed/started when the about window is open - it is loaded/refreshed when the credits button is clicked from the about page.
Heh, you're absolutely right.

Confirmed on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060802 BonEcho/2.0b1 ID:2006080203.
Target Milestone: --- → Firefox 2 beta2
Version: unspecified → 1.0 Branch
Attachment #214871 - Flags: review?(gavin.sharp)
Assignee: nobody → piratepenguin
Comment on attachment 214871 [details] [diff] [review]
fix - remove the src attribute from the creditsIframe so it doesn't run immediatly when the about dialog is opened

Actually, if I'm allowed, I'll just review this myself. Just fwap me if this is not permitted. :)

My reasons behind why this is correct:
* aboutDialog.js just sets |src| to "" when it switches the page again.
* The |src| parameter is optional.
* Without a |src| parameter, the credits page will not load until the button is pressed and the JavaScript in aboutDialog.js swaps the page and sets the |src|.

I hope this suffices for review.

r=reed
Attachment #214871 - Flags: review?(gavin.sharp) → review+
Comment on attachment 214871 [details] [diff] [review]
fix - remove the src attribute from the creditsIframe so it doesn't run immediatly when the about dialog is opened

Requesting a1.8.1 for this small fix to stop the credits from being scrolled while the actual credits page is not loaded.
Attachment #214871 - Flags: approval1.8.1?
OS: Windows XP → All
Hardware: PC → All
Comment on attachment 214871 [details] [diff] [review]
fix - remove the src attribute from the creditsIframe so it doesn't run immediatly when the about dialog is opened

Mike C. should really do a review on any browser-stuff.
Attachment #214871 - Flags: review?(mconnor)
Comment on attachment 214871 [details] [diff] [review]
fix - remove the src attribute from the creditsIframe so it doesn't run immediatly when the about dialog is opened

r+a=me on behalf of drivers for 1.8 branch checkin
Attachment #214871 - Flags: review?(mconnor)
Attachment #214871 - Flags: review+
Attachment #214871 - Flags: approval1.8.1?
Attachment #214871 - Flags: approval1.8.1+
mozilla/browser/base/content/aboutDialog.xul 	1.23.4.7
mozilla/browser/base/content/aboutDialog.xul 	1.26
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: