Closed Bug 729623 Opened 12 years ago Closed 12 years ago

Selecting readonly input element launches the keyboard

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
ProductDemo

People

(Reporter: oteo, Assigned: cjones)

Details

Attachments

(2 files)

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
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
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: