Closed
Bug 495535
Opened 16 years ago
Closed 16 years ago
Titlebar should be visible after app launch
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(fennec1.0b3+)
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
fennec | 1.0b3+ | --- |
People
(Reporter: madhava, Assigned: vingtetun)
References
Details
Attachments
(1 file, 1 obsolete file)
837 bytes,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Right now, when Fennec is launched, the first run page is shown with the titlebar scrolled off the top of the page. This means that the chrome that tells the user what he/she is looking at, and is used to go elsewhere (which is like the first thing wanted), is not available. The titlebar should not be scrolled off the top.
Reporter | ||
Updated•16 years ago
|
tracking-fennec: --- → ?
Updated•16 years ago
|
tracking-fennec: ? → 1.0b3+
Assignee | ||
Comment 2•16 years ago
|
||
Updated•16 years ago
|
Attachment #383242 -
Flags: review-
Comment 3•16 years ago
|
||
Comment on attachment 383242 [details] [diff] [review]
Display the urlbar at first launch
We actually want this panTo to go away entirely.
The real problem here is that the "resize" event hasn't fired yet. So the toolbar/sidebars are not in the correct location. In fact, if we manually call BrowserUI.sizeControls(window.innerWidth, window.innerHeight), the toolbar goes in the right spot.
I just haven't fully thought about the downside to doing that.
Assignee | ||
Comment 4•16 years ago
|
||
(In reply to comment #3)
> (From update of attachment 383242 [details] [diff] [review])
> We actually want this panTo to go away entirely.
Do you speak of the first one or the second one? :)
> The real problem here is that the "resize" event hasn't fired yet. So the
> toolbar/sidebars are not in the correct location. In fact, if we manually call
> BrowserUI.sizeControls(window.innerWidth, window.innerHeight), the toolbar goes
> in the right spot.
The window is not already show when the first select tab is fired, is that?
Comment 5•16 years ago
|
||
(In reply to comment #4)
> (In reply to comment #3)
> > (From update of attachment 383242 [details] [diff] [review] [details])
> > We actually want this panTo to go away entirely.
>
> Do you speak of the first one or the second one? :)
Both. We should not be doing any ws.panTo(...) in this function
>
> > The real problem here is that the "resize" event hasn't fired yet. So the
> > toolbar/sidebars are not in the correct location. In fact, if we manually call
> > BrowserUI.sizeControls(window.innerWidth, window.innerHeight), the toolbar goes
> > in the right spot.
>
> The window is not already show when the first select tab is fired, is that?
It's either not fully shown, or only partially shown. Either way, the "resize" event is not fired before this method is called the first time. Add some dump()s in both places to see.
Assignee | ||
Comment 6•16 years ago
|
||
Attachment #383242 -
Attachment is obsolete: true
Comment 7•16 years ago
|
||
Comment on attachment 383479 [details] [diff] [review]
Updated patch
Good enough for now
Attachment #383479 -
Flags: review+
Comment 8•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 10•13 years ago
|
||
Retested bug with:
Mozilla/5.0 (Android; Linux armv7l; rv:10.0a1) Gecko/20111005 Firefox/10.0a1 Fennec/10.0a1
Device: Motorola Droid 2 (Android 2.3)
URLbar is visible after Fennec is launched. Bug is no longer reproducible.
Verifying.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•