Closed
Bug 799029
Opened 12 years ago
Closed 11 years ago
[keyboard] Cursor cannot be positioned by the user
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Tracking
(blocking-kilimanjaro:?, blocking-basecamp:-, firefox18 affected, firefox19 affected, firefox20 affected, firefox21 fixed, b2g18 affected, b2g18-v1.0.1 affected)
RESOLVED
FIXED
DeveloperPhone
People
(Reporter: jmcf, Unassigned)
References
Details
Attachments
(1 file)
26.36 KB,
image/png
|
Details |
Go to the FB Import login page. start editing the user name and then try to reposition the cursor in between the provided letters. The cursor cannot be positioned and you need to reset the entire content to amend it.
Updated•12 years ago
|
Whiteboard: [dupeme]
haven't found the dup. closest thing I came was bug 225109 so far. :|
Updated•12 years ago
|
Assignee: nobody → nhirata.bugzilla
Updated•12 years ago
|
Assignee: nhirata.bugzilla → nobody
QA Contact: nhirata.bugzilla
bug 652168 and bug 795045... they are only for FF for android?
Comment 3•12 years ago
|
||
Blocking on this bug until we find a b2g platform bug.
blocking-basecamp: ? → +
Assignee: nobody → cpeterson
Comment 4•12 years ago
|
||
(In reply to Jose M. Cantera from comment #0)
> Go to the FB Import login page. start editing the user name and then try to
> reposition the cursor in between the provided letters. The cursor cannot be
> positioned and you need to reset the entire content to amend it.
Jose, by "FB Import login page", do you mean the Contacts app's "Import from Facebook" login?
Comment 5•12 years ago
|
||
I can reproduce the problem on my Otoro phone, but not the B2G Desktop build. I see the following interesting error messages when I type in the "Import from Facebook" text fields (on the B2G Desktop):
JS Component Loader: ERROR chrome://browser/content/forms.js:242
NS_ERROR_INVALID_POINTER: Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMessageSender.sendAsyncMessage]
JS Component Loader: ERROR chrome://browser/content/forms.js:242
NS_ERROR_INVALID_POINTER: Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMessageSender.sendAsyncMessage]
JavaScript error: chrome://browser/content/forms.js, line 50: can't access dead object
JavaScript error: chrome://browser/content/forms.js, line 50: can't access dead object
JavaScript error: chrome://browser/content/forms.js, line 50: can't access dead object
JavaScript error: chrome://browser/content/forms.js, line 50: can't access dead object
JavaScript error: chrome://browser/content/forms.js, line 50: can't access dead object
Updated•12 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [dupeme]
Comment 6•12 years ago
|
||
'New Tweet' dialog box too on Twitter is another case
Updated•12 years ago
|
Priority: -- → P3
Updated•12 years ago
|
Component: Gaia → Gaia::System::Keyboard
Comment 7•12 years ago
|
||
This bug is not specific to B2G. I can reproduce the Facebook login bug [1] on Firefox for Android. I can reproduce the Twitter tweet bug [2] with both Firefox for Android and desktop!
[1] https://m.facebook.com/
[2] https://mobile.twitter.com/compose/tweet
Comment 8•12 years ago
|
||
I think these are content bugs. I will open evangelism bugs for these issues:
1. Bug 814274: Twitter's CSS specifies "-moz-user-select:none", which regrettably behaves differently from "-webkit-user-select:none". Twitter should use "-moz-user-select:-moz-none".
2. Facebook sends us non-touch aware CSS because they do not recognize our Gecko User-Agent string. If I send a WebKit User-Agent string, then Facebook sends us a page that works correctly.
Depends on: 814274
Reporter | ||
Comment 9•12 years ago
|
||
(In reply to Chris Peterson (:cpeterson) from comment #8)
> I think these are content bugs. I will open evangelism bugs for these issues:
>
> 2. Facebook sends us non-touch aware CSS because they do not recognize our
> Gecko User-Agent string. If I send a WebKit User-Agent string, then Facebook
> sends us a page that works correctly.
That's not true. Actually, for Facebook, B2G sends a Webkit-Android like UA String and Facebook recognizes us as an Android device. And the proof is that they offer the possibility of downloading the Android app (see attached capture). Maybe even in that case their mark-up is wrong but that's another story.
Reporter | ||
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
(In reply to Jose M. Cantera from comment #9)
> That's not true. Actually, for Facebook, B2G sends a Webkit-Android like UA
> String and Facebook recognizes us as an Android device. And the proof is
> that they offer the possibility of downloading the Android app (see attached
> capture). Maybe even in that case their mark-up is wrong but that's another
> story.
oops. You are correct, Jose. I had overlooked Gaia's ua-override-prefs.js.
With the correct User-Agent string for facebook.com, I see the same problem we have on mobile.twitter.com: bug 814274. Facebook's CSS is preventing input text selection by using "-moz-user-select:none", which behaves differently from "-webkit-user-select:none".
Comment 12•12 years ago
|
||
I'm not sure this is evang. Should user-select be affecting the ability to position the cursor? Our own docs read like it just affects selection.
Comment 13•12 years ago
|
||
(In reply to Wesley Johnston (:wesj) from comment #12)
> I'm not sure this is evang. Should user-select be affecting the ability to
> position the cursor? Our own docs read like it just affects selection.
wesj, -moz-user-select affects positioning of the cursor using the mouse (and touch), but not the keyboard. For example, if I use Firefox's Page Inspector to add -moz-user-select:none to this Bugzilla textarea, I can no longer position the cursor with my mouse. Perhaps this is a bug in -moz-user-select's implementation (or docs).
Comment 14•12 years ago
|
||
I opened bug 816298 to investigate changing "-moz-user-select:none" to behave like WebKit, IE, and Opera (and "-moz-user-select:-moz-none"). That change would fix these Twitter and Facebook bugs.
Depends on: 816298
Comment 15•12 years ago
|
||
This issue is found on other Mozilla platforms and can be worked around by deleting the inputted characters and re-inputting.
blocking-basecamp: + → -
Priority: P3 → --
Comment 16•12 years ago
|
||
This bug has been fixed in Gecko 21.
Updated•12 years ago
|
status-b2g18:
--- → affected
status-firefox18:
--- → affected
status-firefox19:
--- → affected
status-firefox20:
--- → affected
status-firefox21:
--- → fixed
Comment 17•12 years ago
|
||
Batch edit: Bugs marked status-b2g18: affected after 2/13 branching of v1.0.1 are now also status-b2g18-v1.0.1: affected
status-b2g18-v1.0.1:
--- → affected
Updated•11 years ago
|
Assignee: cpeterson → nobody
Status: ASSIGNED → NEW
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•