Closed
Bug 875937
Opened 12 years ago
Closed 11 years ago
Defect - App bar pin tile icon refreshes after it is displayed instead of before
Categories
(Firefox for Metro Graveyard :: Browser, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 25
People
(Reporter: bbondy, Assigned: kjozwiak)
References
Details
(Whiteboard: feature=defect c=Awesome_screen u=metro_firefox_user p=1)
Attachments
(2 files)
1.72 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
1.82 KB,
patch
|
kjozwiak
:
review+
|
Details | Diff | Splinter Review |
1. Select a tile and pin it.
2. Select a different tile that is unpinned, notice that pin icon shows up.
3. Unselect that tile
4. Select the tile that was previously pinned
Actual results: You'll see the appbar come up with the pin icon, and then after it is up it changes to the unpin icon
Expected result: It should just show the unpin icon right away and not change after it has come up.
Updated•12 years ago
|
Blocks: metrov1defect&change
Whiteboard: feature=defect c=Awesome_screen u=metro_firefox_user p= → feature=defect c=Awesome_screen u=metro_firefox_user p=0
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → kamiljoz
Assignee | ||
Comment 2•11 years ago
|
||
other than some automated tests, this is my first patch that seems to fix the problem described by Brian in comment 0
Attachment #776898 -
Flags: review?(mbrubeck)
Comment 3•11 years ago
|
||
Comment on attachment 776898 [details] [diff] [review]
fixes the pin issue
Review of attachment 776898 [details] [diff] [review]:
-----------------------------------------------------------------
Looks great. Thanks!
::: browser/metro/base/content/appbar.js
@@ +159,5 @@
> },
>
> showContextualActions: function(aVerbs) {
> + // When the appbar is not visible, we want the icons to refresh right away
> + var immediate = !Elements.contextappbar.isShowing;
nit: Please use "let" instead of "var".
Attachment #776898 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 4•11 years ago
|
||
fixed the small nit mentioned in comment 3
Attachment #777522 -
Flags: review+
Reporter | ||
Comment 5•11 years ago
|
||
\o/ :D Nice job!
I pushed to try here:
https://tbpl.mozilla.org/?tree=Try&rev=c070a75e1da0
This will run through the metro tests to make sure nothing got broken in the tests or the app.
I'll check if that passes tomorrow and if so I'll push it over to mozilla-central.
Assignee | ||
Comment 6•11 years ago
|
||
Thanks Brian! Appreciate it
Reporter | ||
Comment 7•11 years ago
|
||
All green, nice job!
https://hg.mozilla.org/integration/mozilla-inbound/rev/0f7bf77ccafb
Whiteboard: feature=defect c=Awesome_screen u=metro_firefox_user p=0 → feature=defect c=Awesome_screen u=metro_firefox_user p=1
Target Milestone: --- → Firefox 25
Updated•11 years ago
|
Comment 8•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 9•11 years ago
|
||
Mozilla/5.0 (Windows NT 6.2; rv:25.0) Gecko/20130728 Firefox/25.0
Verified as fixed on the latest Nightly build using the steps from the description.
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•