Closed
Bug 712808
Opened 14 years ago
Closed 14 years ago
[ICS] URL bar loses values on rotation
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(firefox11 verified, firefox12 verified, fennec11+)
VERIFIED
FIXED
Firefox 12
People
(Reporter: sriram, Assigned: sriram)
References
Details
Attachments
(1 file)
|
1.67 KB,
patch
|
mfinkle
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Bug 712477 refreshed the display, but didn't set the values on the URL bar.
| Assignee | ||
Comment 1•14 years ago
|
||
This patch reloads the values if available.
Assignee: nobody → sriram
Attachment #583662 -
Flags: review?(mark.finkle)
Updated•14 years ago
|
Priority: -- → P2
Updated•14 years ago
|
Hardware: All → ARM
Updated•14 years ago
|
status-firefox11:
--- → unaffected
status-firefox12:
--- → affected
Comment 3•14 years ago
|
||
Comment on attachment 583662 [details] [diff] [review]
Patch
>+
>+ Tab tab = Tabs.getInstance().getSelectedTab();
>+ if (tab != null) {
>+ mBrowserToolbar.setTitle(tab.getDisplayTitle());
>+ mBrowserToolbar.setFavicon(tab.getFavicon());
>+ mBrowserToolbar.setSecurityMode(tab.getSecurityMode());
>+ mBrowserToolbar.setProgressVisibility(tab.isLoading());
>+ mBrowserToolbar.setShadowVisibility(!(tab.getURL().startsWith("about:")));
>+ mBrowserToolbar.updateTabs(Tabs.getInstance().getCount());
>+ }
We reuse this coding pattern in a few places. We should add a method to BrowserToolbar to simplify this. Maybe BrowserToolbar.updateFromTab(Tab) ?
I'll file a bug for that
Attachment #583662 -
Flags: review?(mark.finkle) → review+
Updated•14 years ago
|
tracking-fennec: --- → 11+
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
We will need this on aurora to complete bug 712477, which should also hit aurora
Comment 6•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Updated•14 years ago
|
Attachment #583662 -
Flags: approval-mozilla-aurora?
Updated•14 years ago
|
Comment 7•14 years ago
|
||
Comment on attachment 583662 [details] [diff] [review]
Patch
[Triage Comment]
Mobile only - approved for Aurora.
Attachment #583662 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 8•14 years ago
|
||
Comment 9•13 years ago
|
||
Verified on M-A & M-C
Galaxy Nexus (Android 4.0.3)
20120126053754
http://hg.mozilla.org/releases/mozilla-aurora/rev/9d5ede8cb11a
20120126031113
http://hg.mozilla.org/mozilla-central/rev/402b394b6623
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•