Selecting readonly input element launches the keyboard

RESOLVED FIXED in ProductDemo

Status

Firefox OS
General
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: oteo, Assigned: cjones)

Tracking

unspecified
ProductDemo
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Created attachment 599695 [details]
Test case example attach

An input element, that has been edited, is changed to readonly. When selecting the input element again, the keyboard is displayed, despite it is readonly. 
The problem also occurs even if event preventDefault is executed.

Test Case: After editing and saving a telephone number of a Contact, when it is clicked on the number again, instead of starting the dialing the keyboard is displayed.
This sounds Fennec-specific, but I'm not sure where to put it.  Justin, any idea?
Vivien, could this be due to the way we're checking focus to fire the ime notification?

(Moving to B2G since it's likely a problem with our chrome wrapper.)
Component: DOM → General
Product: Core → Boot2Gecko
QA Contact: general → general
Target Milestone: --- → ProductDemo
Version: Trunk → unspecified
Created attachment 600030 [details] [diff] [review]
Don't fire showime for readonly inputs

Sorry for the review spam.  Whoever can grab this first.
Assignee: nobody → jones.chris.g
Attachment #600030 - Flags: review?(philipp)
Attachment #600030 - Flags: review?(fabrice)
Attachment #600030 - Flags: review?(21)
Comment on attachment 600030 [details] [diff] [review]
Don't fire showime for readonly inputs

Not familiar enough with this code to be able to do a meaningful review, sorry.
Attachment #600030 - Flags: review?(philipp)
Attachment #600030 - Flags: review?(fabrice)
Attachment #600030 - Flags: review?(21)
Attachment #600030 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/096020a8face
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.