[Bug 1470825] Re: Onboard focus with KWin
** Changed in: onboard Status: Confirmed => Fix Released ** Changed in: onboard (Ubuntu) Status: Confirmed => 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/1470825 Title: Onboard focus with KWin To manage notifications about this bug go to: https://bugs.launchpad.net/onboard/+bug/1470825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1470825] Re: Onboard focus with KWin
Working great, thanks much!! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470825 Title: Onboard focus with KWin To manage notifications about this bug go to: https://bugs.launchpad.net/onboard/+bug/1470825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1470825] Re: Onboard focus with KWin
> Thanks for the quick feedback, I think I need to look at the touch driver as > well. You're welcome. I think you won't need to do this anymore. Screens/kernel/drivers are probably fine. I could eventually reproduce both issues in KWin and 1) was an Onboard thing. Wrong order of initialization, that apparently had no ill effect in compiz, where I did most of the touch testing. Trunk has a fix and I don't get the fall-back mouse-events mode anymore in KWin, meaning you'd likely have multi-touch available too. It works with either XInput or GTK event source here, but I'd suggest you return to "XInput", because a few of Onboard's features require/work better with this. Still working on 2), though I expect you won't hit this anymore with default settings. Others might, wacom touch-screen people in particular (on KWin). > AttributeError: 'X11DeviceXI2' object has no attribute 'touch_active' Thank you, should be fixed too now. ** Also affects: onboard Importance: Undecided Status: New ** Changed in: onboard Status: New => Confirmed ** Changed in: onboard (Ubuntu) Status: New => Confirmed ** Changed in: onboard Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470825 Title: Onboard focus with KWin To manage notifications about this bug go to: https://bugs.launchpad.net/onboard/+bug/1470825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1470825] Re: Onboard focus with KWin
This combination worked (for single press only, no multitouch obviously): Preferences->Keyboard->Advanced->"Touch input"="none" Preferences->Keyboard->Advanced->"Input event source"="GTK" Setting "Touch Input" back to "Multitouch" I get this error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/Onboard/TouchInput.py", line 538, in _on_button_press_event self._can_handle_pointer_event(event), File "/usr/lib/python3/dist-packages/Onboard/TouchInput.py", line 526, in _can_handle_pointer_event not device.touch_active AttributeError: 'X11DeviceXI2' object has no attribute 'touch_active' For KWin vs KDE, I meant to edit my original statement, I tried it with KDE and then Gnome and had the same behaviour. My setup is KWin standalone. I am also very familiar with that SYNA7500 thread haha. The SYNA7500 is an i2c device, not USB. I have to use this kernel for the moment because I do have another device which uses a different touchscreen (ELAN), that has the same behaviour. However I know that this device worked fine in the past, so I think this points to something that changed in the touchscreen driver for the kernel build that I am using. Thanks for the quick feedback, I think I need to look at the touch driver as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470825 Title: Onboard focus with KWin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/1470825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1470825] Re: Onboard focus with KWin
Great log file, thank you. Here's what happens: ... 12:43:42.951 Enter 12:43:42.952 TouchBegin (master, dev_id=2) 12:43:43.066 ButtonRelease (slave, dev_id=13) 12:43:43.067 TouchEnd (master, dev_id=2) ... Two observations: 1) There are indeed touch events coming in, but only from the master pointer, none directly from the touch screen device 13. That's new, I haven't seen that happening before. Onboard sticks with mouse events (ButtonPress/ButtonRelease) in that case (meaning multi-touch won't be available). 2) The first ButtonPress event is missing, there's only a ButtonRelease. That's why there's no reaction to the first touch. When you use the mouse the initial ButtonPress event is there. I've looked into 1) a bit. The screen seems to be USB connected and probably uses the hid-multitouch kernel driver and the evdev X driver. Support for the SYNA7500 seems relatively sensitive to the kernel version. This thread reports mixed results with various kernels and failures in particular with Vivid's kernel 3.19: http://ubuntuforums.org/showthread.php?t=2187204&page=14&s=34cfa4caf159096f7cce745988b1ab59 If everything else fails, trying different kernels may make sense. No idea what could cause 2) yet. I'm working on some way to reproduce it. Is there anything I should know about your setup? Is this plain KWin without any other bits of KDE? Things you could try: Set Preferences->Keyboard->Advanced->"Touch input" to "none". If there's no change (likely) set Preferences->Keyboard->Advanced->"Input event source" to "GTK". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470825 Title: Onboard focus with KWin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/1470825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1470825] Re: Onboard focus with KWin
I have a full log attached, here were my actions: - Start onboard with debugging - Touch 'a' key (no effect) - Touch 'a' key again (a key registered) - Touch 's' key (s key registered) - Touch away from keyboard - Touch 'a' key (no effect) - Touch 'a' key again (a key registered) - Touch 's' key (s key registered) - Touch away from keyboard - drag into keyboard - Touch 'a' key (a key registered) - Mouse press away from keyboard - Mouse press 'a' key (a key registered) ** Attachment added: "onboard.log" https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/1470825/+attachment/4423516/+files/onboard.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470825 Title: Onboard focus with KWin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/1470825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1470825] Re: Onboard focus with KWin
Hmm, there's no touch visible in your log. The last line is an Enter event (xi_type=7) from the master pointer (dev_id=2). A touch would start with TouchBegin (xi_type=18) and would come from your touch screen slave device (dev_id=13). Could you attach a longer log, up until the point when you get the first reaction from Onboard? $ onboard -d all &>onboard-kwin.log > The keyboard won't get focus unless I tap on it twice To be sure I understand, is that once after starting Onboard or each time you switch between some application and the keyboard? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470825 Title: Onboard focus with KWin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/1470825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs