2016-01-25 15:07:56 |
Olivier Tilloy |
bug |
|
|
added bug |
2016-01-25 15:08:29 |
Víctor R. Ruiz |
bug task added |
|
qtubuntu |
|
2016-01-25 15:08:54 |
Víctor R. Ruiz |
affects |
qtubuntu |
canonical-devices-system-image |
|
2016-01-25 15:10:59 |
Víctor R. Ruiz |
qtubuntu (Ubuntu): status |
New |
Confirmed |
|
2016-01-25 15:24:17 |
Michał Sawicz |
canonical-devices-system-image: status |
New |
Triaged |
|
2016-01-25 15:24:20 |
Michał Sawicz |
canonical-devices-system-image: importance |
Undecided |
High |
|
2016-01-25 15:24:22 |
Michał Sawicz |
canonical-devices-system-image: assignee |
|
Michał Sawicz (saviq) |
|
2016-01-25 15:24:25 |
Michał Sawicz |
canonical-devices-system-image: milestone |
|
ww04-2016 |
|
2016-01-26 16:49:30 |
Albert Astals Cid |
bug |
|
|
added subscriber Albert Astals Cid |
2016-01-26 20:16:20 |
Michael Terry |
attachment added |
|
TextInput-ignore-events-with-modifiers.patch https://bugs.launchpad.net/ubuntu/+source/qtubuntu/+bug/1537782/+attachment/4557054/+files/TextInput-ignore-events-with-modifiers.patch |
|
2016-01-26 20:23:14 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2016-01-26 22:15:46 |
Michael Terry |
affects |
qtubuntu (Ubuntu) |
qtdeclarative-opensource-src (Ubuntu) |
|
2016-01-26 22:15:46 |
Michael Terry |
qtdeclarative-opensource-src (Ubuntu): status |
Confirmed |
In Progress |
|
2016-01-26 22:15:46 |
Michael Terry |
qtdeclarative-opensource-src (Ubuntu): assignee |
|
Michael Terry (mterry) |
|
2016-01-28 12:26:58 |
Michał Sawicz |
canonical-devices-system-image: status |
Triaged |
In Progress |
|
2016-01-28 15:27:09 |
Michał Sawicz |
qtdeclarative-opensource-src (Ubuntu): status |
In Progress |
Invalid |
|
2016-01-28 15:27:16 |
Michał Sawicz |
canonical-devices-system-image: assignee |
Michał Sawicz (saviq) |
Bill Filler (bfiller) |
|
2016-01-28 15:27:20 |
Michał Sawicz |
canonical-devices-system-image: milestone |
ww04-2016 |
|
|
2016-01-28 15:27:23 |
Michał Sawicz |
canonical-devices-system-image: status |
In Progress |
New |
|
2016-01-28 15:27:30 |
Michał Sawicz |
bug task added |
|
webbrowser-app (Ubuntu) |
|
2016-01-28 15:27:39 |
Michał Sawicz |
qtdeclarative-opensource-src (Ubuntu): assignee |
Michael Terry (mterry) |
|
|
2016-01-28 15:29:05 |
Michał Sawicz |
summary |
Modifier ignored when pressing a key if TextInput has active focus |
Need to use (Q)Shortcuts instead of Keys.onPressed for shortcuts |
|
2016-01-28 15:29:33 |
Michał Sawicz |
description |
On a phone with a bluetooth keyboard connected, with the following standalone example, if I press Ctrl+T I expect the message "Ctrl+T pressed" to be printed on the console, but instead the Ctrl key is ignored and "t" is inserted in the text field.
import QtQuick 2.4
Item {
TextInput {
anchors.centerIn: parent
width: parent.width - 20
height: 100
Component.onCompleted: forceActiveFocus()
}
Keys.onPressed: {
console.log("key pressed:", event.key, event.modifiers)
if (event.key == Qt.Key_T && event.modifiers == Qt.ControlModifier) {
console.log("Ctrl+T pressed")
event.accepted = true
}
}
} |
On a phone with a bluetooth keyboard connected, with the following standalone example, if I press Ctrl+T I expect the message "Ctrl+T pressed" to be printed on the console, but instead the Ctrl key is ignored and "t" is inserted in the text field.
import QtQuick 2.4
Item {
TextInput {
anchors.centerIn: parent
width: parent.width - 20
height: 100
Component.onCompleted: forceActiveFocus()
}
Keys.onPressed: {
console.log("key pressed:", event.key, event.modifiers)
if (event.key == Qt.Key_T && event.modifiers == Qt.ControlModifier) {
console.log("Ctrl+T pressed")
event.accepted = true
}
}
}
=========================================================================
See the discussion on https://codereview.qt-project.org/#/c/147556/, Qt's behaviour is correct here.
QShortcut [1], or QML's Shortcut [2] from qt-5.5 should be used for this instead.
[1] http://doc.qt.io/qt-5/qshortcut.html
[2] http://doc.qt.io/qt-5/qml-qtquick-shortcut.html |
|
2016-01-28 19:06:39 |
Olivier Tilloy |
tags |
patch |
keyboard patch |
|
2016-02-04 02:00:09 |
Pat McGowan |
canonical-devices-system-image: status |
New |
Confirmed |
|
2016-02-04 02:00:09 |
Pat McGowan |
canonical-devices-system-image: milestone |
|
ww08-2016 |
|
2016-02-04 09:08:51 |
Olivier Tilloy |
webbrowser-app (Ubuntu): status |
New |
Confirmed |
|
2016-02-04 09:08:53 |
Olivier Tilloy |
webbrowser-app (Ubuntu): assignee |
|
Olivier Tilloy (osomon) |
|
2016-02-04 09:08:55 |
Olivier Tilloy |
webbrowser-app (Ubuntu): importance |
Undecided |
High |
|
2016-02-29 18:33:05 |
Pat McGowan |
canonical-devices-system-image: status |
Confirmed |
In Progress |
|
2016-03-15 15:27:02 |
Bill Filler |
canonical-devices-system-image: milestone |
ww08-2016 |
11 |
|
2016-03-15 15:27:09 |
Bill Filler |
canonical-devices-system-image: status |
In Progress |
Confirmed |
|
2016-03-29 11:01:43 |
Olivier Tilloy |
webbrowser-app (Ubuntu): status |
Confirmed |
In Progress |
|
2016-03-29 11:01:43 |
Launchpad Janitor |
branch linked |
|
lp:~osomon/webbrowser-app/qquickshortcuts |
|
2016-04-12 16:52:48 |
Timo Jyrinki |
bug task added |
|
webbrowser-app (Ubuntu RTM) |
|
2016-04-12 17:00:11 |
Łukasz Zemczak |
webbrowser-app (Ubuntu RTM): status |
New |
Fix Released |
|
2016-04-13 01:37:34 |
Launchpad Janitor |
webbrowser-app (Ubuntu): status |
In Progress |
Fix Released |
|
2016-04-13 07:42:06 |
Olivier Tilloy |
canonical-devices-system-image: status |
Confirmed |
Fix Committed |
|
2016-06-02 12:14:39 |
Pat McGowan |
canonical-devices-system-image: status |
Fix Committed |
Fix Released |
|