[Bug 1492769] Re: OSK should be closed before removing page from PageStack

2015-11-12 Thread Zsombor Egri
OSK is removed by the Qt's TextInput or TextEdit components losing focus. Those lose focus also when the component is deleted or made invisible. As OSK and the UI are running in separate threads, it is obvious that you will receive the signal after the page has been closed. ** Changed in: ubuntu-u

[Bug 1492769] Re: OSK should be closed before removing page from PageStack

2015-09-23 Thread Matti Rinta-Nikkola
OSK does disappear but the page where OSK has been activated is removed before OSK signals visibleChanged(). As a result the signal is captured on page where OSK has not been activated. The same will happen if you simply after Qt.inputMethod.hide() put pageStack.pop() without setting a time delay.

[Bug 1492769] Re: OSK should be closed before removing page from PageStack

2015-09-23 Thread Michael Sheldon
** Changed in: ubuntu-keyboard (Ubuntu) Assignee: (unassigned) => Michael Sheldon (michael-sheldon) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1492769 Title: OSK should be closed before remo

[Bug 1492769] Re: OSK should be closed before removing page from PageStack

2015-09-22 Thread Zsombor Egri
Every button press by default grabs the active focus. Therefore OSK should disappear in any case. if OSK stays still, this is OSK issue. ** Also affects: ubuntu-keyboard (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu

[Bug 1492769] Re: OSK should be closed before removing page from PageStack

2015-09-22 Thread Zsombor Egri
This is somehow not related to the PageStack or whatever. Recently the OSK does;'t disappear in some cases when the app is closed either! So it's rather OSK than PageStack issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://

[Bug 1492769] Re: OSK should be closed before removing page from PageStack

2015-09-20 Thread Matti Rinta-Nikkola
As a work around the bug can be resolved by overriding the default PageStack back button: head.backAction: Action { iconName: "back" onTriggered: { Qt.inputMethod.hide() myTimer.delay(pageStack.pop, 500) } } -- You received this bug notific

[Bug 1492769] Re: OSK should be closed before removing page from PageStack

2015-09-11 Thread Christian Dywan
** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: (unassigned) => Christian Dywan (kalikiana) ** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: Christian Dywan (kalikiana) => Tim Peeters (tpeeters) -- You received this bug notification because you are a member of Ubuntu Bugs, which