[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-06-02 Thread Pat McGowan
** Changed in: canonical-devices-system-image 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/1545802 Title: activeFocus not being forwarded to TextInput

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-18 Thread Oliver Grawert
note that the same seems to happen at the login window (waking up the device has the password field auto-focused, enabling a BT keyboard unsets the focus and you have to tap it first) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-13 Thread Christian Dywan
** Branch linked: lp:~ubuntu-sdk-team/ubuntu-ui- toolkit/inputMainFocusTrunks ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-12 Thread Jean-Baptiste Lallement
** Changed in: canonical-devices-system-image Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545802 Title: activeFocus not being forwarded to TextInput

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-12 Thread Timo Jyrinki
** Also affects: ubuntu-ui-toolkit (Ubuntu RTM) 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/1545802 Title: activeFocus not being forwarded to TextInput

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-09 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/mainFocus ** Branch linked: lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/inputMainFocus ** Branch linked: lp:~ubuntu-sdk-team/ubuntu-ui- toolkit/inputMainFocusTrunk -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-06 Thread Christian Dywan
** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Confirmed => 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/1545802 Title: activeFocus not being forwarded to TextInput inside

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-06 Thread Pat McGowan
** Changed in: canonical-devices-system-image Importance: Undecided => Critical ** Changed in: canonical-devices-system-image Status: New => In Progress ** Changed in: canonical-devices-system-image Milestone: None => 11 ** Changed in: canonical-devices-system-image Assignee:

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-06 Thread Olivier Tilloy
I’m looking at the code in InputHandler.qml (https://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/src/Ubuntu/Components/1.3/InputHandler.qml#L289) and something looks suspicious to me: input.focus is set to false when the main control (in our case the TextField)

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-06 Thread Łukasz Zemczak
** Tags added: lt-blocker -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545802 Title: activeFocus not being forwarded to TextInput inside TextField To manage notifications about this bug go to:

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-05 Thread Olivier Tilloy
Another occurrence of the issue just happened when running the QML unit tests for this branch: lp:~osomon/webbrowser-app/browserpage. That’s with a different TextField (the search field in the history view, not the address bar), but the symptom is similar: at some point the code calls

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-05 Thread Olivier Tilloy
The call to forceActiveFocus() that triggers the problem is there: https://bazaar.launchpad.net/~osomon/webbrowser- app/browserpage/view/head:/src/app/webbrowser/HistoryViewWide.qml#L168. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-05 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545802

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-05 Thread Olivier Tilloy
Another (simpler) way of reproducing this issue on a touch device (initially reported as bug #1578304), on the latest rc-proposed image: - ensure that the webview has active focus - tap once on the address bar The entire text inside the address bar gets selected, as expected, but the active

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-05-05 Thread Olivier Tilloy
** Changed in: canonical-devices-system-image Status: Fix Committed => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545802 Title: activeFocus not being forwarded to TextInput inside

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-04-27 Thread Christian Dywan
** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: (unassigned) => Christian Dywan (kalikiana) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545802 Title: activeFocus not being forwarded to

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-04-13 Thread Olivier Tilloy
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-04-12 Thread Launchpad Bug Tracker
This bug was fixed in the package webbrowser-app - 0.23+16.04.20160408.1-0ubuntu1 --- webbrowser-app (0.23+16.04.20160408.1-0ubuntu1) xenial; urgency=medium [ CI Train Bot ] * Resync trunk. [ Loïc Molinari ] * Made AddressBar height scalable with regards to the grid units

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-04-08 Thread Olivier Tilloy
I still haven’t gotten to the bottom of things, but I found a workaround in the browser: in Browser.qml at line 70¹, if I comment out the call to contentsContainer.forceActiveFocus(), the issue goes away. The underlying bug still exists in the UITK. I’m marking webbrowser-app also affected, and

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-04-08 Thread Launchpad Bug Tracker
** Branch linked: lp:~osomon/webbrowser-app/qquickshortcuts -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545802 Title: activeFocus not being forwarded to TextInput inside TextField To manage

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-04-07 Thread Olivier Tilloy
Yep, that analysis is correct, but I still don’t know what sets focus to false on the QQuickTextInput, and why. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545802 Title: activeFocus not being

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-04-07 Thread Andrea Bernabei
That should not make a difference, as far as I know. FocusScope redirects focus to the last child who requested it. I believe in this case, the problem might be that something is setting focus:false on the QQuickTextInput. When you do that, the FocusScope does not know whom to redirect the focus

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-04-07 Thread Olivier Tilloy
I’m still unable to reproduce the issue in a standalone example, however there is clearly a problem with the TextField component in the UITK, if it allows active focus to not be forwarded to its child QQuickTextInput under certain circumstances. In TextField.qml, the TextInput element (with id

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-04-07 Thread Olivier Tilloy
The same issue affects https://code.launchpad.net/~osomon/webbrowser- app/qquickshortcuts/+merge/290299 (which changes the condition for focusing the address bar on opening a new tab from [wide layout] to [has physical keyboard]). -- You received this bug notification because you are a member of

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-03-29 Thread Olivier Tilloy
The problem persists in the latest rc-proposed image. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545802 Title: activeFocus not being forwarded to TextInput inside TextField To manage

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-02-15 Thread Olivier Tilloy
I’ve replaced the implementation of the AddressBar component with a simple TextField with no added cruft (only placeholder properties and signals that embedders expect), and the problem persists, so it’s not with the AddressBar implementation. -- You received this bug notification because you

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-02-15 Thread Olivier Tilloy
I have commented out the definition of the custom primaryItem and secondaryItem in the browser’s AddressBar, and the problem persists. So at least we can rule out those two custom components stealing focus. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-02-15 Thread Olivier Tilloy
I added some debugging to TextField13.qml, and I can confirm that when I observe the issue, 'focus' is being set to false on the QQuickTextInput. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545802

[Bug 1545802] Re: activeFocus not being forwarded to TextInput inside TextField

2016-02-15 Thread Olivier Tilloy
I just tried a very ugly hack to work around the issue: TextField { objectName: "addressBarTextField" onActiveFocusChanged: { if (activeFocus) { var textInput = findChild(textField, "text_input") console.log("address bar got active focus, text input =", textInput)