Closed
Bug 844466
Opened 12 years ago
Closed 12 years ago
When opening a link from a modal dialog, the tab strip doesn't show the new tab until you close the dialog
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
FIXED
Firefox 22
People
(Reporter: mayankleoboy1, Assigned: dao)
References
Details
(Keywords: regression)
Attachments
(1 file, 4 obsolete files)
4.07 KB,
patch
|
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20130223 Firefox/22.0
Build ID: 20130223031157
Steps to reproduce:
1. Start fresh profile
2. Go to Nightly - > options - > options - >advanced - > update -> show update history.
3. A dialogue box appears with the update history.
4. Click on any "details" link
5. For added effect, click several times on the "details" link.
Actual results:
A tab should open in the background with the link opened.
Expected results:
No new tab is shown, until you close all the dialogue boxes. The page loads, but no new tab is opened.
Comment 1•12 years ago
|
||
Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/a17cb882eb6b
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20121213 Firefox/20.0 ID:20121213162730
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/2cf3cca4171e
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20121213 Firefox/20.0 ID:20121213171921
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=a17cb882eb6b&tochange=2cf3cca4171e
Suspected:
4cb7e17d0e3d Dão Gottwald — Bug 263433 - 'text-link' XUL widget should open tabs rather than windows. r=enn
Blocks: 263433
Status: UNCONFIRMED → NEW
status-firefox19:
--- → unaffected
tracking-firefox20:
--- → ?
tracking-firefox21:
--- → ?
tracking-firefox22:
--- → ?
Component: Untriaged → Tabbed Browser
Ever confirmed: true
Version: 22 Branch → 20 Branch
Keywords: regression
Comment 2•12 years ago
|
||
Dao - can you investigate the options for this regression vs. intended behaviour? This doesn't sound like a blocker because I'm assuming people don't go to 'show details' in their history that often but can this happen in other, larger web-breaking circumstances?
Assignee: nobody → dao
Assignee | ||
Comment 3•12 years ago
|
||
The page opens, the tab bar just doesn't update until you close the dialog. I don't think this needs to be tracked. It also doesn't affect web content in any way.
Comment 4•12 years ago
|
||
It may not break web content but on closer inspection, we can't predict all the ways this can regress the user experience (and what about addons?) can you look at a potential fix we can get testing around or a backout if necessary?
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Lukas Blakk [:lsblakk] from comment #4)
> It may not break web content but on closer inspection, we can't predict all
> the ways this can regress the user experience (and what about addons?)
I don't know what this means.
> can
> you look at a potential fix we can get testing around or a backout if
> necessary?
A backout isn't necessary even if we don't fix this.
Reporter | ||
Comment 6•12 years ago
|
||
IMO this bug doesnt affect normal browsing in any way.
Comment 8•12 years ago
|
||
Just tried reproducing this on FF20 Mac OS X and was not able to. With a clean profile, clicking on 'details' in show update history opens tab after tab in the background of the dialog window. QA - can you do some poking around here to determine the platforms affected here?
Comment 9•12 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #5)
> (In reply to Lukas Blakk [:lsblakk] from comment #4)
> > It may not break web content but on closer inspection, we can't predict all
> > the ways this can regress the user experience (and what about addons?)
>
> I don't know what this means.
Might there be add-ons that expect behaviour in a XUL widget to show content in browser tabs even without closing the widget window?
>
> > can
> > you look at a potential fix we can get testing around or a backout if
> > necessary?
>
> A backout isn't necessary even if we don't fix this.
We've already got one dupe and FF20 beta just released last Friday, it looks like this might be more noticeable to users and fixing it worthwhile.
Comment 10•12 years ago
|
||
See, browser.preferences.instantApply,
Modal option dialog is Windows only.
Comment 11•12 years ago
|
||
Mac: details link opens in a new window (not affected by this bug)
Win: details link opens in a new tab (affected by this bug)
Lin: details link opens in a new tab (not affected by this bug
This appears to be Windows only.
Keywords: qawanted
Assignee | ||
Comment 12•12 years ago
|
||
(In reply to Lukas Blakk [:lsblakk] from comment #9)
> (In reply to Dão Gottwald [:dao] from comment #5)
> > (In reply to Lukas Blakk [:lsblakk] from comment #4)
> > > It may not break web content but on closer inspection, we can't predict all
> > > the ways this can regress the user experience (and what about addons?)
> >
> > I don't know what this means.
>
> Might there be add-ons that expect behaviour in a XUL widget to show content
> in browser tabs even without closing the widget window?
No, I don't think there's any add-on impact.
> We've already got one dupe and FF20 beta just released last Friday, it looks
> like this might be more noticeable to users and fixing it worthwhile.
It is worth fixing and I'm looking into it, but this may be complicated and, if I get it fixed, too risky to uplift. In that case, I wouldn't consider this issue severe enough to warrant a backout.
Assignee | ||
Updated•12 years ago
|
Summary: When clicking on a link in a menu dialogue box, a new tab is not shown until you close the window → When opening a link from a modal dialog, the tab strip doesn't show the new tab until you close the window
Assignee | ||
Updated•12 years ago
|
Summary: When opening a link from a modal dialog, the tab strip doesn't show the new tab until you close the window → When opening a link from a modal dialog, the tab strip doesn't show the new tab until you close the dialog
Assignee | ||
Comment 13•12 years ago
|
||
Assignee | ||
Comment 14•12 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #13)
> Created attachment 719956 [details] [diff] [review]
> patch
>
> https://tbpl.mozilla.org/?tree=Try&rev=2ba05c0f96c1
Lots of intermittent failures on OS X.
Assignee | ||
Comment 15•12 years ago
|
||
This uses MozAfterPaint rather than mozRequestAnimationFrame. This would mean that we'd waste a frame before starting the tab-opening animation.
https://tbpl.mozilla.org/?tree=Try&rev=dd9f061285b4
Attachment #719956 -
Attachment is obsolete: true
Assignee | ||
Comment 16•12 years ago
|
||
This flushes layout and starts the animation synchronously. The layout flush might be redundant, since some previous code in addTab seems to have done it already.
I believe this is visibly more responsive than waiting for MozAfterPaint.
https://tbpl.mozilla.org/?tree=Try&rev=f57c2be05c01
Assignee | ||
Comment 17•12 years ago
|
||
Both v2 and v3 are basically green on try, v3 just needs browser_bug585785.js adjusted.
Assignee | ||
Updated•12 years ago
|
Attachment #721611 -
Attachment description: patch v2 → patch v2: start tab opening animation off MozAfterPaint
Assignee | ||
Updated•12 years ago
|
Attachment #721615 -
Attachment description: patch v3 → patch v3: start tab opening animation synchronously
Assignee | ||
Updated•12 years ago
|
Attachment #719956 -
Attachment description: patch → patch v1: start tab opening animation via mozRequestAnimationFrame
Assignee | ||
Comment 18•12 years ago
|
||
Attachment #721615 -
Attachment is obsolete: true
Attachment #721657 -
Flags: review?(felipc)
Assignee | ||
Comment 19•12 years ago
|
||
Marking wontfix for Firefox 20 since the fix seems too risky to be uplifted to beta. Aurora might be feasible if we land it soon.
Comment 20•12 years ago
|
||
Comment on attachment 721657 [details] [diff] [review]
patch v3.1: start tab opening animation synchronously
Review of attachment 721657 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM.
Attachment #721657 -
Flags: review?(felipc) → review+
Assignee | ||
Comment 21•12 years ago
|
||
as discussed on IRC
Attachment #721611 -
Attachment is obsolete: true
Attachment #721657 -
Attachment is obsolete: true
Assignee | ||
Comment 22•12 years ago
|
||
Blocks: 783328
Comment 23•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
Assignee | ||
Comment 24•12 years ago
|
||
Comment on attachment 721686 [details] [diff] [review]
patch v3.2: start tab opening animation synchronously
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 263433
User impact if declined: tab-opening animation is delayed until the user closes the modal dialog blocking the browser window
Testing completed (on m-c, etc.): on m-c
Risk to taking this patch (and alternatives if risky): somewhat risky. we can alternatively wontfix this bug for Firefox 21
String or UUID changes made by this patch: none
Attachment #721686 -
Flags: approval-mozilla-aurora?
Comment 25•12 years ago
|
||
Comment on attachment 721686 [details] [diff] [review]
patch v3.2: start tab opening animation synchronously
Considering where we are in the cycle & based on the fact that we do not know the impact of this not getting fixed for Fx20,lets go ahead with the uplift on aurora and see how it plays out.
Attachment #721686 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 26•12 years ago
|
||
Comment 27•12 years ago
|
||
After this bug landed transitionend is not fired if the new tab is move before transitionend
for example:
var newTab = gBrowser.addTab("about:blank", {relatedToCurrent: false});
gBrowser.moveTabTo(newTab, 0);
result:
transitionend event handler is not run and _handleNewTab is not run
Assignee | ||
Comment 28•12 years ago
|
||
(In reply to onemen.one from comment #27)
Please file a new bug.
Comment 29•12 years ago
|
||
Verified as fixed on:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
The new tab is now opened when clicking Details.
QA Contact: ioana.budnar
Comment 30•12 years ago
|
||
Verified as fixed on:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0 - 20130514181517.
You need to log in
before you can comment on or make changes to this bug.
Description
•