Closed
Bug 835610
Opened 10 years ago
Closed 10 years ago
Work - [polish] Firefox app bar location text does not revert to the previous value when user presses escape
Categories
(Firefox for Metro Graveyard :: Browser, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 23
People
(Reporter: mbrubeck, Assigned: ally)
References
Details
(Keywords: platform-parity, polish, ux-error-recovery, Whiteboard: feature=work)
Attachments
(1 file, 1 obsolete file)
1.28 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce: 1. Load a page in Metro Firefox. 2. After the page loads, focus the location bar. 3. Type a word. 4. Press the Escape key. Expected results: The URL bar reverts to the address of the current page. Actual results: The URL bar hides, but still contains the typed word.
Updated•10 years ago
|
Summary: [polish] Metro url bar text does not revert to the previous value when user presses escape → Work - [polish] Metro url bar text does not revert to the previous value when user presses escape
Whiteboard: feature=work
Updated•10 years ago
|
Summary: Work - [polish] Metro url bar text does not revert to the previous value when user presses escape → Work - [polish] Firefox app bar location text does not revert to the previous value when user presses escape
Reporter | ||
Updated•10 years ago
|
Assignee: mbrubeck → nobody
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ally
Assignee | ||
Comment 1•10 years ago
|
||
- I left the new {} braces in one case of handleEscape() because it is in line with our style guide. - I left some of the more interesting error console logging for you in case you'd like to see the output during feedback. - I think lastKnownGoodURL should move into browserUI, and I welcome better names for that variable. :/
Attachment #744902 -
Flags: feedback?(mbrubeck)
Reporter | ||
Comment 2•10 years ago
|
||
Comment on attachment 744902 [details] [diff] [review] wip - functional, needs some code hygiene Review of attachment 744902 [details] [diff] [review]: ----------------------------------------------------------------- Yeah, this looks good to me. ::: browser/metro/base/content/browser-ui.js @@ +57,5 @@ > }); > }); > > +let lastKnownGoodURL = ""; //used when the user wants to escape unfinished url entry > +// TODO I think this belongs in browserUI,not out here with Elements I agree.
Attachment #744902 -
Flags: feedback?(mbrubeck) → feedback+
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #744902 -
Attachment is obsolete: true
Attachment #746051 -
Flags: review?(mbrubeck)
Reporter | ||
Comment 4•10 years ago
|
||
Comment on attachment 746051 [details] [diff] [review] save urls when they are set Review of attachment 746051 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/metro/base/content/browser-ui.js @@ +77,4 @@ > get _back() { return document.getElementById("cmd_back"); }, > get _forward() { return document.getElementById("cmd_forward"); }, > > + lastKnownGoodURL : "", //used when the user wants to escape unfinished url entry Nit: no space before ":" No rationale except consistency. Mozilla JS code overall is divided on this issue, but this is the dominant style in Metro so I've added it to https://wiki.mozilla.org/Firefox/Windows_8_Metro_Style_Guides#JS
Attachment #746051 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 5•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/aa00d8de9a79
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/aa00d8de9a79
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 23
Updated•9 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
•