** 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
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.
** 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.
** 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
** 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
** 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,
** 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
** 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:
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)
** 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:
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
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
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
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
** 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
** 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
** 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.
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
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
** 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
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
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
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
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
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
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
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
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
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)
29 matches
Mail list logo