The patch I made to qtdeclarative makes all events (touch, keyboard,
etc) reach QQuickItems through their QObject::event() methods. Before
that QQuickWindow was calling QQuickItems internal event handlers
directly (e.g. QQuickItemPrivate::handleTouchEvent(), etc).

Because of that it's important that you let your QQuickItems process the
events it receives. But it seems that's not happening with
KTerminalDisplay.

The patch I'm attaching should solve it.

NB: The only place where I found konsole-qml-plugin was ~hiroshidi
/ubuntu-terminal-app/konsole-qml-plugin. But I'm not sure if this where
its upstream lives as it conflicts with code in lp:ubuntu-terminal-app
(Qml complains about use of unexisting properties from KTerminal and
KSession). Thus I was unable to properly test my path

** Patch added: "konsole-qml-plugin-fixEnterAndBackspace.patch"
   
https://bugs.launchpad.net/ubuntu-terminal-app/+bug/1257791/+attachment/3971626/+files/konsole-qml-plugin-fixEnterAndBackspace.patch

** Changed in: ubuntu-keyboard
       Status: In Progress => Invalid

** Changed in: qtdeclarative-opensource-src (Ubuntu)
       Status: In Progress => Invalid

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1257791

Title:
  Enter and backspace broken in terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-keyboard/+bug/1257791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to