Closed
Bug 1020403
Opened 10 years ago
Closed 10 years ago
View URL web activity in navigate method not working
Categories
(Firefox OS Graveyard :: Gaia::Search, defect)
Tracking
(blocking-b2g:2.0+, b2g-v2.0 verified, b2g-v2.1 verified)
People
(Reporter: benfrancis, Assigned: benfrancis)
Details
(Keywords: regression, Whiteboard: [systemsfe][p=2])
Attachments
(1 file)
STR: * Enable homescreen 2 * Type a URL into homescreen search and hit enter Expected: * Loads URL Actual: * Nothing
Comment 1•10 years ago
|
||
This is interesting... E/GeckoConsole( 3585): Can only start activity from user input or chrome code I assume this is because we send an IAC message to launch the activity? We definitely need to add an integration test for this and get this turned on for TBPL.
Comment 2•10 years ago
|
||
After looking at this some more, it appears that the cancel button is getting a click event first, sending the search app to the background. This happens even though the search bar definitely has focus. I think this is possibly a bug in keyboard perhaps? I'm doing a ni? on rudy and tim to see if they know any recent keyboard changes that would cause click events or other focus problems.
Flags: needinfo?(timdream)
Flags: needinfo?(rlu)
Comment 3•10 years ago
|
||
Was this ever working? Just wondering if this is a regression or not.
Comment 4•10 years ago
|
||
Yup, it was definitely working before. Adding the regression keyword, but feel free to tag it up however you see fit :)
Keywords: regression
Comment 5•10 years ago
|
||
Note for the window here - you'll need to bisect this using eng. builds with the vertical homescreen enabled.
blocking-b2g: --- → 2.0?
Keywords: regressionwindow-wanted
Comment 6•10 years ago
|
||
AFAIK, we did not change anything around sending the 'Enter' key recently. At a first glance, I think this issue is about pressing 'Enter' key in a form would trigger the click event of the first button in a form. Have we changed the HTML structure or the key event handling in the search app recently?
Flags: needinfo?(timdream)
Flags: needinfo?(rlu)
Assignee | ||
Comment 7•10 years ago
|
||
Interesting, does that not happen for reset buttons? If not, then it could have been caused by the type attribute change in bug 1015923. Is there a way to prevent the event getting fired on the button. We are already doing e.preventDefault();
Assignee | ||
Comment 8•10 years ago
|
||
Aha, type=button :)
Assignee | ||
Updated•10 years ago
|
Whiteboard: [systemsfe][p=2]
Target Milestone: --- → 2.0 S3 (6june)
Comment 9•10 years ago
|
||
Comment on attachment 8434913 [details] [review] https://github.com/mozilla-b2g/gaia/pull/20074 Aww crap, apologies, now that homescreen is enabled we can get the integrations tests back on that would have caught this, but best get this fixed and I / we can get some better tests in soon
Attachment #8434913 -
Flags: review?(dale) → review+
Updated•10 years ago
|
Keywords: regressionwindow-wanted
Updated•10 years ago
|
blocking-b2g: 2.0? → 2.0+
Assignee | ||
Comment 10•10 years ago
|
||
https://github.com/benfrancis/gaia/commit/ab6a47fcb551d0ebd40554ac2f06574c4c7f47ac
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
status-b2g-v2.0:
--- → fixed
Comment 11•10 years ago
|
||
(In reply to Ben Francis [:benfrancis] from comment #7) > Interesting, does that not happen for reset buttons? > > If not, then it could have been caused by the type attribute change in bug > 1015923. > > Is there a way to prevent the event getting fired on the button. We are > already doing e.preventDefault(); To my understanding, this is because "submit" is the default value for a button's type attribute, if you don't specify type for a button. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Attributes :)
tried with www, http://www., https://www.. There's a bug on the transition being smaller before. See bug 1026287 Gaia 82e957160ca017087bd374cd051339e55b641e68 Gecko https://hg.mozilla.org/mozilla-central/rev/f78e532e8a10 BuildID 20140619040201 Version 33.0a1 ro.build.version.incremental=108 ro.build.date=Tue Jun 10 19:40:40 CST 2014
You need to log in
before you can comment on or make changes to this bug.
Description
•