Bug 821373 - Xmodmap not applied consitently
Summary: Xmodmap not applied consitently
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk3
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-14 09:26 UTC by arturj
Modified: 2012-05-18 23:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-18 23:39:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 674716 0 None None None Never

Description arturj 2012-05-14 09:26:23 UTC
Description of problem:
I use a ~/Xmodmap to reverse mouse/touchpad scrolling (natural scolling) and after updating Fedora 16 to Fedora 17 RC this does not work anymore in a consistent manner:

Evolution and most other native GTK apps ignore my settings
Gedit and Firefox still obey my settings

Also tried to set scrolling via "xinput --set-button-map ID 1 2 3 5 4" with the same result.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. run in shell xmodmap -e "pointer = 1 2 3 5 4 7 6 8 9 10 11 12"
2. verify that ALL apps have reverse scolling direction
3.
  
Actual results:
not all apps show same results

Expected results:
reverse works system wide (all apps)

Additional info:

Comment 1 Owen Taylor 2012-05-14 13:37:19 UTC
This is because with current GTK+ its using XInput2 to get scroll events directly from the device rather than working via the old method of sending fake button events 4/5 for the scroll events.

See upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=674716 for detailed discussion and an approach that may work for for Synaptics touchpads.

Comment 2 arturj 2012-05-14 19:04:29 UTC
Will XInput2 on the other hand work with all apps in a consistent manner when setup properly or is Xmodmap still needed for "legacy" apps. Thank you.

Comment 3 Matthias Clasen 2012-05-15 20:13:26 UTC
I don't know, you'll have to try.

Comment 4 Matthias Clasen 2012-05-18 23:39:16 UTC
In any case, this is not a gtk bug - gtk does not apply xmodmap directly.


Note You need to log in before you can comment on or make changes to this bug.