Bug 305498 - kde ignores Emulate3Buttons option from xorg
Summary: kde ignores Emulate3Buttons option from xorg
Status: RESOLVED DOWNSTREAM
Alias: None
Product: unknown
Classification: Miscellaneous
Component: general (show other bugs)
Version: 3.4.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-20 16:00 UTC by systemofdown
Modified: 2012-08-27 18:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description systemofdown 2012-08-20 16:00:45 UTC
kde ignores Option "Emulate3Buttons"  "no" from xorg
When the two mouse buttons are pressed this still emulates the middle bottom

Reproducible: Always

Steps to Reproduce:
Press left mouse button + right one
Comment 1 Christoph Feck 2012-08-20 22:35:16 UTC
KDE does have no mouse button emulation code. Please ask in the forum of your distribution which configuration could cause this issue.
Comment 2 systemofdown 2012-08-27 17:59:38 UTC
mv .kde kde-backup and starting kde with a new user didn't fix the problem, seems it's a built-in kde problem, my xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 295.59  (buildmeister@swio-display-x86-rhel47-03.nvidia.com)  Wed Jun  6 22:23:02 PDT 2012

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "false"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "HP L200b"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 580"
    Option "ColorSpace" "YCbCr444"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "CRT: nvidia-auto-select +1920+0, DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection




Also I tried "no" and removing Emulate3Buttons option and still doesn't fix

Gnome-shell and ubuntu unity doesn't enable buttons emulation this only happens with kde.
Comment 3 Christoph Feck 2012-08-27 18:25:27 UTC
Please do not reopen, unless you point me to the source code line where KDE messes with button emulation.

I checked the sources previously, and there is nothing in KDE that tries to enable, workaround, or disable X11 button emulation, or even implements it itself.

Please check with the providers of your distribution.