Closed
Bug 555019
Opened 14 years ago
Closed 14 years ago
Need implementation of VKB state (open/closed) for GetIMEEnabled method
Categories
(Core Graveyard :: Widget: Qt, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: romaxa, Assigned: mjarvin)
References
Details
(Keywords: inputmethod)
Attachments
(1 file)
1.34 KB,
patch
|
romaxa
:
review-
|
Details | Diff | Splinter Review |
nsWindow::GetIMEEnabled is not implemented crrectly for Qt, because we don't have right API. We need to solve this problem.
Updated•14 years ago
|
Keywords: inputmethod
Comment 1•14 years ago
|
||
this is basically a plattform issue for meego / maemo, there is no "general" ime for qt we could refer to.
Assignee | ||
Comment 2•14 years ago
|
||
Added patch, which checks whether input method is visible on screen. This can be only checked when MOZ_ENABLE_MEEGOTOUCH is used, because Qt doesn't have API for this.
Reporter | ||
Comment 3•14 years ago
|
||
Comment on attachment 466702 [details] [diff] [review] Patch which checks area consumed by vkb on meegotouch build >+#ifdef MOZ_ENABLE_MEEGOTOUCH - >+ MInputMethodState *inputState = MInputMethodState::instance(); should be + >+ MInputMethodState* inputState = MInputMethodState::instance(); - >+ const QRect &vkbArea = inputState->inputMethodArea(); should be + >+ const QRect& vkbArea = inputState->inputMethodArea(); >+ return vkbArea.height() > 5; here should be !vkbArea.isEmpty(), "> 5" looks like hack >+ }
Attachment #466702 -
Flags: review?(romaxa) → review-
Comment 4•14 years ago
|
||
I just realize that this is wrong. Its not about the size of the VKB we are talking here. Its about if IME is active or not - which is also true in cases when the VKB is hidden and a Hardware Keyboard is active (just think about real external keyboards with BT). There is no api to ask if IME is active actually, so lets keep it as it is - with the flag and maybe request an api for this from meego input method framework.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•