[Bug 1233550] Re: With Mir enabled, OSK remains hidden
** Changed in: ubuntu-keyboard (Ubuntu) Status: Fix Committed = Fix Released ** Changed in: ubuntu-keyboard (Ubuntu Saucy) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
Here is a possible workaround in the keyboard https://code.launchpad.net/~schwann/ubuntu-keyboard/keyboard-swipe-hide- show2/+merge/191350 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
** Branch linked: lp:~bfiller/session-manager-touch/fix-maliit-hang -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
The hang is caused by this line: https://qt.gitorious.org/qt/qtdeclarative/source/d37547add0369d45182271754c0a35032d7de2d3:src/quick/items/qquickthreadedwindowmanager.cpp#L817 So the UI thread is waiting for the render thread to stop working - forever. One easy fix is to disable the threaded rendering in Qt for maliit- server -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
** Branch linked: lp:ubuntu/saucy-proposed/ubuntu-touch-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
** Changed in: ubuntu-keyboard (Ubuntu Saucy) Status: In Progress = Fix Committed ** Changed in: unity-mir Status: Opinion = Invalid ** Changed in: mir Status: Triaged = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
** Changed in: ubuntu-keyboard (Ubuntu Saucy) Assignee: Gerry Boland (gerboland) = Günter Schwann (schwann) ** Changed in: mir Assignee: (unassigned) = Ricardo Mendoza (ricmm) ** Changed in: mir Status: Opinion = Triaged ** Changed in: mir Importance: Undecided = Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
My understanding of this issue from tmoenicke: - setVisible(false) gets called on the osk window to hide it and setVisible(true) called to show it - after multiple setVisible(false) calls then subsequent calls to setVisible(true) to not make the window appear anymore - this only happens on MIR, worked fine with SF - maliit-server is not crashing, it is still running when the problem occurs ** Changed in: ubuntu-keyboard (Ubuntu Saucy) Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
Usually the keyboard (plugin) gets some InputMethod::handleFocusChange(bool) and at the end one InputMethod::show() When it should be shown. But not in that case there is no call for either. Looks like there is no communication at all. Showing/hiding the OSK by setting/removing the focus of the text field works fine it seems. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
latest debugging from gush: I upgraded my MR - with that change, the OSK always remains hidden, after swiping it away. So it's easier to reproduce the issue (at least on my maguro) ... https://code.launchpad.net/~schwann/ubuntu-keyboard/keyboard-swipe-hide- show/+merge/191263 For the focus inside the app, or the app not having the focus. I don't think that's the case. Otherwise the OSK would work again after switching to another app. So I rather think the issue is really on the maliit-server (the OSK) itself. I just added a timer - printing a debug message every second. When the display stays hidden, the output stops. Which means the maliit-server process is frozen. And with some debugging I can see that view-setVisible(false); never returns. (view is a QQuickView object). in void closeOskWindow() of file src/plugin/inputmethod_p.h I used this debug messages: void closeOskWindow() { if (!view-isVisible()) return; qWarning() Q_FUNC_INFO 1; host-notifyImInitiatedHiding(); qWarning() Q_FUNC_INFO 2; qmlRootItem-setProperty(shown, false); qWarning() Q_FUNC_INFO 3; layout.updater.resetOnKeyboardClosed(); qWarning() Q_FUNC_INFO 4; editor.clearPreedit(); qWarning() Q_FUNC_INFO 5; view-setVisible(false); qWarning() Q_FUNC_INFO 6; applicationApiWrapper-reportOSKInvisible(); qWarning() Q_FUNC_INFO 7; } and got that output: WARNING: void MaliitKeyboard::InputMethodPrivate::closeOskWindow() 1 WARNING: void MaliitKeyboard::InputMethodPrivate::closeOskWindow() 2 WARNING: void MaliitKeyboard::InputMethodPrivate::closeOskWindow() 3 WARNING: void MaliitKeyboard::InputMethodPrivate::closeOskWindow() 4 WARNING: void MaliitKeyboard::InputMethodPrivate::closeOskWindow() 5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
** Changed in: ubuntu-keyboard (Ubuntu Saucy) Assignee: Thomas Moenicke (thomas-moenicke) = Gerry Boland (gerboland) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
** Also affects: unity-mir Importance: Undecided Status: New ** Changed in: mir Status: New = Opinion ** Changed in: unity-mir Status: New = Opinion -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
** Also affects: ubuntu-keyboard (Ubuntu Saucy) Importance: Critical Assignee: Thomas Moenicke (thomas-moenicke) Status: Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
** Tags added: rls-s-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With MIR enabled, OSK remains hidden
** Changed in: ubuntu-keyboard (Ubuntu) Status: New = Triaged ** Changed in: ubuntu-keyboard (Ubuntu) Importance: Undecided = Critical ** Changed in: ubuntu-keyboard (Ubuntu) Assignee: (unassigned) = Thomas Moenicke (thomas-moenicke) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With MIR enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-keyboard/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With MIR enabled, OSK remains hidden
** Also affects: mir (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With MIR enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With MIR enabled, OSK remains hidden
** Also affects: mir Importance: Undecided Status: New ** Summary changed: - With MIR enabled, OSK remains hidden + With Mir enabled, OSK remains hidden -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1233550] Re: With Mir enabled, OSK remains hidden
** No longer affects: mir (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1233550 Title: With Mir enabled, OSK remains hidden To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1233550/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs