Closed Bug 716334 Opened 13 years ago Closed 12 years ago

Slow Titlebar/Toolbar rendering when creating a new window

Categories

(Firefox :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 13
Tracking Status
firefox12 + verified

People

(Reporter: mehmet.sahin, Assigned: dao)

References

Details

(Keywords: regression, Whiteboard: [qa+])

Attachments

(2 files)

Attached file four_screenshots.pdf
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7

Steps to reproduce:

Mac OS 10.6.8
Nightly: 12.0a1 (2012-01-07)

1) open single window
2) set in preferences 'when Nightliy starts: show my homepage' (e.g. www.google.com)
3) press fast CMD-T to open a new window


Actual results:

first the titlebar is shown and then the toolbar is shown


Expected results:

Titlebar and toolbar should be shown at the same time


***A PDF-file with four screenshots is attached***
sorry I mean in step 3: press >>> CMD-N  <<<
Blocks: 618770
Also happens on Windows, as mentioned in bug 720020
Status: UNCONFIRMED → NEW
Component: Untriaged → Theme
Ever confirmed: true
OS: Mac OS X → All
QA Contact: untriaged → theme
Summary: [Mac OS] Slow Titlebar/Toolbar rendering when, when creating a new window and 'always show the title bar' is disabled → Slow Titlebar/Toolbar rendering when creating a new window and 'always show the title bar' is disabled
I can't reproduce this (on Windows 7).
I can. Anything I can do to help debug it?
Tracking for 12, although I was able to reproduce the titlebar being rendered separately from the toolbar in FF10 on OS X. Presumably this bug is tracking a significant slowdown in the rendering though.
https://wiki.mozilla.org/Modules/All doesn't list a module owner for Themes. Who's in the best position to drive this investigation from the engineering side?
Assignee: nobody → dao
Summary: Slow Titlebar/Toolbar rendering when creating a new window and 'always show the title bar' is disabled → Slow Titlebar/Toolbar rendering when creating a new window and 'always show the tab bar' is disabled
I don't think this depends on the "always show the tab bar" pref.
Summary: Slow Titlebar/Toolbar rendering when creating a new window and 'always show the tab bar' is disabled → Slow Titlebar/Toolbar rendering when creating a new window
Attached patch patchSplinter Review
I think this helps... the tab container constructor runs before the load handler, so bug 618770 caused syncUI to run earlier.
Attachment #603391 - Flags: review?
Attachment #603391 - Flags: review? → review?(felipc)
Component: Theme → General
QA Contact: theme → general
Comment on attachment 603391 [details] [diff] [review]
patch

This fixes the bug for me, at least as originally reported in bug 720020 on the profile that I could reproduce the problem.

I see a different thing now: I don't see a first step with glass, but I see the browser window rendered before session store kicks in (i.e. with a blank tab at first). However, AFAICT this still happens without this patch on other profiles where I could not reproduce the bug. It seems that it's a different bug that was mitigated by this one? (as the first render of the browser was later, the initial image that I saw already had my app tabs restored)
Attachment #603391 - Flags: review?(felipc) → review+
(In reply to Felipe Gomes (:felipe) from comment #10)
> I see a different thing now: I don't see a first step with glass, but I see
> the browser window rendered before session store kicks in (i.e. with a blank
> tab at first). However, AFAICT this still happens without this patch on
> other profiles where I could not reproduce the bug. It seems that it's a
> different bug that was mitigated by this one? (as the first render of the
> browser was later, the initial image that I saw already had my app tabs
> restored)

attachment 511080 [details] [diff] [review] did this, as far as I remember.
Attachment #603391 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/120c201a6644
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Depends on: 734273
Depends on: 734311
No longer depends on: 734311
Comment on attachment 603391 [details] [diff] [review]
patch

[Triage Comment]
From reading the patch, this is low risk. It's also had a couple of days of bake time. Let's land on Aurora 12.
Attachment #603391 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
This has caused a serious regression under Linux.  (see bug 734273) I don't think landing on Aurora is very good idea.
No longer depends on: 734311
Depends on: 734836
(In reply to Bill Gianopoulos [:WG9s] from comment #15)
> This has caused a serious regression under Linux.  (see bug 734273) I don't
> think landing on Aurora is very good idea.

also on mac - bug 734836
No longer depends on: 734836
(In reply to Alex Keybl [:akeybl] from comment #7)
> https://wiki.mozilla.org/Modules/All doesn't list a module owner for Themes.

"themes" are largely app-specific - the relevant module in this case is "Firefox".
Whiteboard: [qa+]
Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20100101 Firefox/12.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0

Verified in Firefox 12 beta 4. No display issue spotted now when opening new windows. Toolbar is rendered as normal.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: