Closed
Bug 731610
Opened 13 years ago
Closed 13 years ago
Pressing back button in popup window should close the popup
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox13 verified, blocking-fennec1.0 -, fennec13+)
VERIFIED
FIXED
Firefox 13
People
(Reporter: paul.feher, Assigned: mbrubeck)
References
Details
Attachments
(1 file)
|
1.02 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Fennec/13.0a1 2012-02-29
Device: Motorola Droid Pro ( Android 2.3.3)
Steps to reproduce:
1. Open Fennec and wait for the page to load.
2. Go to popuptest.com/popuptest1.html.
3. Set the preferences to "Always allow popups".
4. Reload the page and wait for all the pop-ups to open.
5. Press the back button a few time to dismiss the pop-ups.
Expected results:
Every time the back button is pressed a pup-up is dismissed until the page that generated pop-ups is displayed.
Actual results:
After closing one pop-up the main page is brought up as the active tab. Pressing back performs a browser back or minimizes the app depending on how many history items there are for the current tab.
Notes:
-- The issue is not reproducible on the Firefox Beta 11.0 XUL
adding madhava, and ibarlow to see what they say about this ux issue.
blocking-fennec1.0: --- → ?
I think Martijn's wording summarizes the issue a little better.
Summary: Pop-up order is not correctly remembered for multiple pop-ups from the same source → Pressing back button after popup window closes browser, instead of the popup window
| Assignee | ||
Comment 4•13 years ago
|
||
It is intentional that pressing the Back key while viewing a popup returns to the parent page. (See bug 699052 comment 4.) In fact, XUL Fennec was supposed to behave the same way so I am surprised that it doesn't:
https://hg.mozilla.org/mozilla-central/file/78e56fd22f2a/mobile/xul/chrome/content/browser-ui.js#l897
But we can certainly change this if UX wants us to.
Assignee: nobody → mbrubeck
Keywords: uiwanted
| Assignee | ||
Comment 5•13 years ago
|
||
Ian, what is the desired behavior here?
Assignee: mbrubeck → ibarlow
tracking-fennec: --- → 13+
blocking-fennec1.0: ? → -
| Assignee | ||
Updated•13 years ago
|
Summary: Pressing back button after popup window closes browser, instead of the popup window → Pressing back button in popup window returns to the parent page, instead of any sibling pages
Comment 6•13 years ago
|
||
Pressing the back button on any popup should take you back to the parent page, not other popups. Having to back back back back through a series of popups would be a poor experience.
As an aside, pressing back from a popup closes the app entirely right now, which is also wrong.
| Assignee | ||
Comment 7•13 years ago
|
||
(In reply to Ian Barlow (:ibarlow) from comment #6)
> Pressing the back button on any popup should take you back to the parent
> page, not other popups. Having to back back back back through a series of
> popups would be a poor experience.
Okay, closing this bug as WONTFIX then, since this is the current behavior (at least when it's working correctly...).
Now, of course closing multiple popups is potentially annoying no matter what the back button does, so hopefully our popup blocker will prevent users from getting into this situation to begin with in most cases.
> As an aside, pressing back from a popup closes the app entirely right now,
> which is also wrong.
Yes, I'm seeing this too. I'll file this a separate bug; I think it is a regression.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Comment 8•13 years ago
|
||
(In reply to Matt Brubeck (:mbrubeck) from comment #7)
> > As an aside, pressing back from a popup closes the app entirely right now,
> > which is also wrong.
>
> Yes, I'm seeing this too. I'll file this a separate bug; I think it is a
> regression.
Actually, re-reading, I see that this is the main issue reported in *this* bug. Sorry for misunderstanding; I got confused by the separate issue of which tab is selected *after* the popup is closed. Re-opening this bug and re-titling it again. The correct behavior when back is pressed should be to close the popup and select the parent tab.
Assignee: ibarlow → mbrubeck
Status: RESOLVED → REOPENED
Keywords: uiwanted
Resolution: WONTFIX → ---
Summary: Pressing back button in popup window returns to the parent page, instead of any sibling pages → Pressing back button in popup window should close the popup
| Assignee | ||
Comment 9•13 years ago
|
||
Attachment #604146 -
Flags: review?(mark.finkle)
Comment 10•13 years ago
|
||
Comment on attachment 604146 [details] [diff] [review]
patch
so simple. <3
Attachment #604146 -
Flags: review?(mark.finkle) → review+
| Assignee | ||
Comment 11•13 years ago
|
||
Status: REOPENED → ASSIGNED
Target Milestone: --- → Firefox 13
Comment 12•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 13•13 years ago
|
||
Verified fixed on:
Nightly Fennec 13.0a1 (2012-03-09)
Device: HTC Desire Z
OS: Android 2.3.3
Status: RESOLVED → VERIFIED
| Reporter | ||
Updated•13 years ago
|
status-firefox13:
--- → verified
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
•