Bug 56557 - Pointer emulation on root window is broken
Summary: Pointer emulation on root window is broken
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/Core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 56558 56578
  Show dependency treegraph
 
Reported: 2012-10-30 00:49 UTC by Peter Hutterer
Modified: 2016-11-28 04:40 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Hutterer 2012-10-30 00:49:02 UTC
Touch pointer emulation on the root window does not work correctly.

Simple test case, both on a plain X server:
xev, tap into xev window, events registered are Motion, ButtonPress, ButtonRelease (plus optional motions in between)

xev -root, tap on root window, only a MotionNotify is seen, no button events.
Comment 1 Peter Hutterer 2012-10-30 05:04:39 UTC
Cause of the issue is that on the root window, the client selecting for events is not the window owner. This causes failed resource lookups in RetrieveTouchDeliveryData() and thus no event is ever sent.
Comment 2 Peter Hutterer 2012-11-02 04:31:56 UTC
FWIW, test cases:
TouchTestXI2Version.EmulatedButtonMaskOnTouchBeginEndCore
TouchTestXI2Version.EmulatedButtonMaskOnTouchBeginEndXI2

as of 38cced5e5313d3235e83b282ba0bb54e02e61d16 in

http://cgit.freedesktop.org/~whot/xorg-integration-tests/tree/tests/server/touch.cpp#n159
Comment 4 Peter Hutterer 2012-11-19 06:05:25 UTC
and this one: http://lists.x.org/archives/xorg-devel/2012-November/034480.html
Comment 6 Peter Hutterer 2016-11-28 04:40:00 UTC
This is a mass change of bugs. Bugs assigned to me that haven't been updated in the last 3 years are closed as WONTFIX, because, well, let's at least be honest about it.

Please do not re-open unless you have a really good reason to do so (e.g. you're fixing it yourself). If it hasn't been fixed in the last 3 years, it probably won't be fixed anytime soon either. Sorry.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.