Closed Bug 1618763 Opened 4 years ago Closed 4 years ago

[GTK] Set GtkInputPurpose via inputmode attribute

Categories

(Core :: DOM: UI Events & Focus Handling, enhancement, P3)

Desktop
Linux
enhancement

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

(Keywords: inputmethod)

Attachments

(2 files)

Actually, GtkInputPurpose is set by <input type=XXXX>. But we should reference inputmode attribute to set it.

Since we cannot use HTMLInputElement.GetInputMode since we still support
mozAwesomebar, inputmode attribute isn't sanitized. Since I would like to reduce
comparing cost, it should be lower case except to mozAwesomebar.

Let's use GtkInputPurpose and GtkInputHints by inputmode for software keyboard.

Depends on D67770

Attachment #9134946 - Attachment description: Bug 1618763 - Use GtkInputPurpose and GtkInputHints by inputmode. → Bug 1618763 - Part 2. Use GtkInputPurpose and GtkInputHints by inputmode.
Assignee: nobody → m_kato
Status: NEW → ASSIGNED

Moving all open keyboard/IME handling bugs to DOM: UI Events & Focus Handling component.

Component: Widget: Gtk → DOM: UI Events & Focus Handling
Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/ac1ff4be2662
Part 1. mHTMLInputInputmode should be lower case except to mozAwesomebar. r=masayuki
https://hg.mozilla.org/integration/autoland/rev/0b9d1afee478
Part 2. Use GtkInputPurpose and GtkInputHints by inputmode. r=masayuki

Ah, I have to update widget/gtk/compat-gtk3/gtk/gtkenums.h

Priority: -- → P3
Summary: Set GtkInputPurpose via inputmode attribute → [GTK] Set GtkInputPurpose via inputmode attribute
Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/32b70d050756
Part 1. mHTMLInputInputmode should be lower case except to mozAwesomebar. r=masayuki
https://hg.mozilla.org/integration/autoland/rev/eef52683020b
Part 2. Use GtkInputPurpose and GtkInputHints by inputmode. r=masayuki
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
Flags: needinfo?(m_kato)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: