Merge lp:~thomas-moenicke/phablet-extras/maliit-plugins_fix_focus_out into lp:phablet-extras/maliit-plugins

Proposed by Thomas Moenicke
Status: Rejected
Rejected by: Thomas Moenicke
Proposed branch: lp:~thomas-moenicke/phablet-extras/maliit-plugins_fix_focus_out
Merge into: lp:phablet-extras/maliit-plugins
Diff against target: 27 lines (+6/-0)
2 files modified
maliit-keyboard/plugin/inputmethod.cpp (+5/-0)
maliit-keyboard/plugin/inputmethod.h (+1/-0)
To merge this branch: bzr merge lp:~thomas-moenicke/phablet-extras/maliit-plugins_fix_focus_out
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Needs Fixing
Thomas Moenicke (community) Abstain
Review via email: mp+160570@code.launchpad.net

Commit message

fixed focusOut behavior: osk should hide when focus goes away from a focusObject that accepts input method. This needs a second patch in Qt to work

Description of the change

fixed focusOut behavior: osk should hide when focus goes away from a focusObject that accepts input method. This needs a second patch in Qt to work

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Bill Filler (bfiller) wrote :

what Qt change does it need?

Revision history for this message
Bill Filler (bfiller) wrote :

Also, the deb provided by jenkins doesn't have the maliit-keyboard package, just the nemo-keyboard. Please fix it so both packages get built so I can test it.

Revision history for this message
Thomas Moenicke (thomas-moenicke) wrote :

It needs a patch which is on its way to gerrit/Qt, so lets keep this on hold until we have a qtbase containing the patch. It will only work with the patch.

review: Abstain
Revision history for this message
Thomas Moenicke (thomas-moenicke) wrote :
2111. By Thomas Moenicke

branch to get the new maliit-keyboard.

Approved by Bill Filler, PS Jenkins bot.

2112. By Thomas Moenicke

fixed focusOut behavior: osk should hide when focus goes away from a focusObject that accepts input method. This needs a second patch in Qt to work

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Thomas Moenicke (thomas-moenicke) wrote :

Unmerged revisions

2112. By Thomas Moenicke

fixed focusOut behavior: osk should hide when focus goes away from a focusObject that accepts input method. This needs a second patch in Qt to work

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'maliit-keyboard/plugin/inputmethod.cpp'
2--- maliit-keyboard/plugin/inputmethod.cpp 2013-04-11 11:47:44 +0000
3+++ maliit-keyboard/plugin/inputmethod.cpp 2013-04-25 19:20:30 +0000
4@@ -448,6 +448,11 @@
5 return d->layout.updater.activeKeyboardId();
6 }
7
8+void InputMethod::handleFocusChange(bool focusIn) {
9+ if (not focusIn)
10+ hide();
11+}
12+
13 void InputMethod::handleAppOrientationChanged(int angle)
14 {
15 Q_D(InputMethod);
16
17=== modified file 'maliit-keyboard/plugin/inputmethod.h'
18--- maliit-keyboard/plugin/inputmethod.h 2013-03-22 16:40:29 +0000
19+++ maliit-keyboard/plugin/inputmethod.h 2013-04-25 19:20:30 +0000
20@@ -64,6 +64,7 @@
21 virtual void setActiveSubView(const QString &id,
22 Maliit::HandlerState state = Maliit::OnScreen);
23 virtual QString activeSubView(Maliit::HandlerState state = Maliit::OnScreen) const;
24+ virtual void handleFocusChange(bool focusIn);
25 virtual void handleAppOrientationChanged(int angle);
26 virtual bool imExtensionEvent(MImExtensionEvent *event);
27 virtual void setKeyOverrides(const QMap<QString, QSharedPointer<MKeyOverride> > &overrides);

Subscribers

People subscribed via source and target branches