Closed
Bug 982620
Opened 11 years ago
Closed 11 years ago
UITour: menu button remains in active state after aborting tour
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
Firefox 30
People
(Reporter: soeren.hentzschel, Assigned: Gijs)
References
()
Details
(Keywords: regression, Whiteboard: [Australis:P3+])
Attachments
(3 files)
98.44 KB,
image/png
|
Details | |
1.20 KB,
patch
|
MattN
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
1.90 KB,
patch
|
Gijs
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
STR:
1. Help → Nightly Tour
2. click "Let's go"
3. close the tab
Actual result:
The menu button has still its active state, see screenshot
Expected result:
The menu button should not have an active state.
Comment 1•11 years ago
|
||
I can reproduce this.
Thanks for filing Sören.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regressionwindow-wanted
Hardware: x86 → All
Whiteboard: [Australis:P3+]
Assignee | ||
Comment 2•11 years ago
|
||
Looking...
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=cafe909f7e07&tochange=c8cd1f6b6d2d
Maybe https://hg.mozilla.org/mozilla-central/rev/d591aee0b095 ? That's the only UITour bug, but I'm not sure how that'd cause this issue...
Keywords: regressionwindow-wanted → regression
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #3)
> https://hg.mozilla.org/mozilla-central/
> pushloghtml?fromchange=cafe909f7e07&tochange=c8cd1f6b6d2d
>
> Maybe https://hg.mozilla.org/mozilla-central/rev/d591aee0b095 ? That's the
> only UITour bug, but I'm not sure how that'd cause this issue...
Backing this out locally fixes it.
Depends on: 966072
Updated•11 years ago
|
Assignee | ||
Comment 5•11 years ago
|
||
Please doublecheck that this doesn't break anything else... I don't know if we have magical behaviour that depends on us not closing the panel at that point in teardown, or if this messes up on Windows. Works on OS X, though.
Attachment #8391578 -
Flags: review?(MattN+bmo)
Comment 6•11 years ago
|
||
Comment on attachment 8391578 [details] [diff] [review]
Australis' UITour doesn't hide the panel on teardown, causing recreatePopup to break later hideMenu calls,
Review of attachment 8391578 [details] [diff] [review]:
-----------------------------------------------------------------
I'll attach a test in a few minutes. Please confirm this doesn't regress bug 966072.
Attachment #8391578 -
Flags: review?(MattN+bmo) → review+
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Matthew N. [:MattN] (away March 10 - 11) from comment #6)
> Comment on attachment 8391578 [details] [diff] [review]
> Australis' UITour doesn't hide the panel on teardown, causing recreatePopup
> to break later hideMenu calls,
>
> Review of attachment 8391578 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I'll attach a test in a few minutes. Please confirm this doesn't regress bug
> 966072.
It doesn't in my testing.
Comment 8•11 years ago
|
||
Comment on attachment 8391578 [details] [diff] [review]
Australis' UITour doesn't hide the panel on teardown, causing recreatePopup to break later hideMenu calls,
Review of attachment 8391578 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/modules/UITour.jsm
@@ +554,5 @@
> this.hideHighlight(aWindow);
> this.hideInfo(aWindow);
> aWindow.PanelUI.panel.removeAttribute("noautohide");
> + // Ensure panel is hidden before calling recreatePopup
> + aWindow.PanelUI.hide();
Actually, change this to:
this.hideMenu(aWindow, "appMenu");
and remove the line after
Comment 9•11 years ago
|
||
Here's a test for the fix.
Attachment #8391603 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8391603 [details] [diff] [review]
v.1 test
Review of attachment 8391603 [details] [diff] [review]:
-----------------------------------------------------------------
rs=me
Attachment #8391603 -
Flags: review?(gijskruitbosch+bugs) → review+
Comment 11•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/242281e4bcd0
https://hg.mozilla.org/integration/fx-team/rev/60da49f4d200
status-firefox29:
--- → affected
status-firefox30:
--- → affected
Flags: in-testsuite+
Whiteboard: [Australis:P3+] → [Australis:P3+][fixed-in-fx-team]
Comment 12•11 years ago
|
||
Comment on attachment 8391578 [details] [diff] [review]
Australis' UITour doesn't hide the panel on teardown, causing recreatePopup to break later hideMenu calls,
Note that this patch was replace with a different approach in comment 8 and landed as https://hg.mozilla.org/integration/fx-team/rev/242281e4bcd0
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 966072
User impact if declined: If a user leaves the tour tab while the menu panel is open, the menu panel button will remain in the depressed state.
Testing completed (on m-c, etc.): Locally by Gijs and MattN on Linux and OS X.
Risk to taking this patch (and alternatives if risky): Low risk tour-specific additional cleanup
String or IDL/UUID changes made by this patch: None
Attachment #8391578 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #8391603 -
Flags: approval-mozilla-aurora?
Comment 13•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/242281e4bcd0
https://hg.mozilla.org/mozilla-central/rev/60da49f4d200
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3+][fixed-in-fx-team] → [Australis:P3+]
Target Milestone: --- → Firefox 30
Updated•11 years ago
|
Updated•11 years ago
|
Attachment #8391578 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•11 years ago
|
Attachment #8391603 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 14•11 years ago
|
||
Updated•11 years ago
|
Updated•10 years ago
|
QA Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•