<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>395401</bug_id>
          
          <creation_ts>2018-06-14 23:54:48 +0000</creation_ts>
          <short_desc>[evdev] Mouse settings are not loaded up at login</short_desc>
          <delta_ts>2022-04-01 19:46:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_mouse</component>
          <version>5.13.0</version>
          <rep_platform>Neon</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=26518</see_also>
    
    <see_also>https://bugs.kde.org/show_bug.cgi?id=395722</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>VHI</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alex Ander">aalexandera</reporter>
          <assigned_to name="Furkan Tokac">furkantokac34</assigned_to>
          <cc>akshar26</cc>
    
    <cc>eneeen</cc>
    
    <cc>jactor</cc>
    
    <cc>lehoangphuongbg</cc>
    
    <cc>mails.bugs.kde.org-2025-1</cc>
    
    <cc>miroslav</cc>
    
    <cc>mutlaqja</cc>
    
    <cc>nate</cc>
    
    <cc>peter</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>shawn</cc>
    
    <cc>slartibart70</cc>
    
    <cc>Stubenhocker1399</cc>
    
    <cc>tim</cc>
    
    <cc>unassigned-bugs-null</cc>
    
    <cc>zhx</cc>
          
          <cf_commitlink>https://commits.kde.org/plasma-desktop/e8de7085371f263e445ffbfc3ca7b5be5a732fc8</cf_commitlink>
          <cf_versionfixedin>5.14.6</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1761264</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Ander">aalexandera</who>
    <bug_when>2018-06-14 23:54:48 +0000</bug_when>
    <thetext>The bug is quite the same, as #26518
I just wasn&apos;t sure if I should open a new one or reopen the old one.

Quote from there, with a little changes:
The mouse settings set using KDE Control Center (Peripherals/Mouse)
are not applied after logging in via kdm.

The settings are properly saved in ~/.config/kcminputrc:
[Mouse]
Acceleration=2.5
MouseButtonMapping=LeftHanded
ReverseScrollPolarity=false
Threshold=4

and they work as expected immediately after changing the settings but after logout and login the mouse is back at the default behavior and you have to go to the control center and push the &quot;Apply&quot; button again to get the desired setup.
Important for me is &quot;LeftHanded&quot; flag.

I tried it with a new user and on another laptop - the bug persists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1761315</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-06-15 02:50:03 +0000</bug_when>
    <thetext>...KDM? Does it work with SDDM? Libinput or evdev?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1761415</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Ander">aalexandera</who>
    <bug_when>2018-06-15 11:41:37 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #1)
&gt; ...KDM? Does it work with SDDM? Libinput or evdev?

I&apos;m using KDE Neon with default input and DM libraries: evdev and SDDM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1761437</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-06-15 12:36:58 +0000</bug_when>
    <thetext>Neon dev or Neon user?

Are you sure you don&apos;t have Libinput installed? Do you have xserver-xorg-input-libinput-hwe-16.04 installed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1761500</commentid>
    <comment_count>4</comment_count>
    <who name="Alex Ander">aalexandera</who>
    <bug_when>2018-06-15 15:57:35 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #3)
&gt; Neon dev or Neon user?
Neon User.
 
&gt; Are you sure you don&apos;t have Libinput installed? Do you have
&gt; xserver-xorg-input-libinput-hwe-16.04 installed?

I have libinput10 and libinput-bin, but xserver-xorg-input-evdev installed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1761502</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-06-15 16:05:40 +0000</bug_when>
    <thetext>Ok, you&apos;re using evdev, then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1761503</commentid>
    <comment_count>6</comment_count>
    <who name="Alex Ander">aalexandera</who>
    <bug_when>2018-06-15 16:08:32 +0000</bug_when>
    <thetext>It&apos;s a two years old installation, which was regularly upgraded. This problem exists after the last big one, in Plasma 5.13.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1761848</commentid>
    <comment_count>7</comment_count>
    <who name="Akshar Patel">akshar26</who>
    <bug_when>2018-06-17 07:17:11 +0000</bug_when>
    <thetext>I can confirm this. I am having the same problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1761908</commentid>
    <comment_count>8</comment_count>
    <who name="Akshar Patel">akshar26</who>
    <bug_when>2018-06-17 14:56:19 +0000</bug_when>
    <thetext>Current Workaround can be found here till the bug gets resolved: https://askubuntu.com/questions/1047325/mouse-button-order-gets-reset-after-restart</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1762047</commentid>
    <comment_count>9</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2018-06-18 12:16:13 +0000</bug_when>
    <thetext>*** Bug 395541 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1764186</commentid>
    <comment_count>10</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-06-28 13:07:15 +0000</bug_when>
    <thetext>*** Bug 395920 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1767051</commentid>
    <comment_count>11</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-07-15 12:56:41 +0000</bug_when>
    <thetext>*** Bug 396532 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1771143</commentid>
    <comment_count>12</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-08-09 17:49:04 +0000</bug_when>
    <thetext>*** Bug 397296 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1774826</commentid>
    <comment_count>13</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-08-28 19:21:47 +0000</bug_when>
    <thetext>*** Bug 397971 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1774894</commentid>
    <comment_count>14</comment_count>
    <who name="Shawn Sörbom">shawn</who>
    <bug_when>2018-08-28 23:41:33 +0000</bug_when>
    <thetext>*** Bug 398004 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1774895</commentid>
    <comment_count>15</comment_count>
    <who name="Shawn Sörbom">shawn</who>
    <bug_when>2018-08-28 23:44:43 +0000</bug_when>
    <thetext>I should note that whatever is causing the settings to not be applied doesn&apos;t seem to affect kwin_wayland, at least as far as the left handed setting is concerned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1779330</commentid>
    <comment_count>16</comment_count>
    <who name="Shawn Sörbom">shawn</who>
    <bug_when>2018-09-06 18:41:50 +0000</bug_when>
    <thetext>Bug Still exists in Plasma 5.13.5, Applications 18.08.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1780307</commentid>
    <comment_count>17</comment_count>
    <who name="Roman Gilg">subdiff</who>
    <bug_when>2018-09-12 17:29:36 +0000</bug_when>
    <thetext>Git commit a4c724173b5c6a59331587f2e5db746dffbabdc6 by Roman Gilg.
Committed on 12/09/2018 at 17:29.
Pushed by romangilg into branch &apos;master&apos;.

[Mouse KCM] Avoid changes to touchpads in libinput backend

Summary:
Similar to evdev backend we need to ignore touchpad devices explicitly in the
libinput backend because these are also pointer devices.

XInput2 can do this in theory via input classes, but my touchpad did not set
the class correctly. So just switch to using XInput like in the evdev backend
to query all pointer devices and then use the XI_TOUCHPAD atom to filter out
touchpads.
Related: bug 395722, bug 396269

Test Plan: Manually

Reviewers: #plasma, hein

Reviewed By: #plasma, hein

Subscribers: acrouthamel, ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D15256

M  +20   -12   kcms/mouse/backends/x11/x11_libinput_dummydevice.cpp

https://commits.kde.org/plasma-desktop/a4c724173b5c6a59331587f2e5db746dffbabdc6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1781365</commentid>
    <comment_count>18</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2018-09-16 11:43:57 +0000</bug_when>
    <thetext>*** Bug 398696 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792783</commentid>
    <comment_count>19</comment_count>
    <who name="Jacopo Torrini">jactor</who>
    <bug_when>2018-10-09 14:20:48 +0000</bug_when>
    <thetext>Bug still exists in Plasma 5.14.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792788</commentid>
    <comment_count>20</comment_count>
    <who name="Jacopo Torrini">jactor</who>
    <bug_when>2018-10-09 14:25:31 +0000</bug_when>
    <thetext>(In reply to Jacopo Torrini from comment #19)
&gt; Bug still exists in Plasma 5.14.0

Way to reproduce: open mouse system settings. Click the Invert scroll direction checkbox. Mouse whell scroll is reversed. Reboot. In mouse systemsettings checkbox is checked but mouse whell scroll is not reversed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792790</commentid>
    <comment_count>21</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-10-09 14:28:17 +0000</bug_when>
    <thetext>:(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1798464</commentid>
    <comment_count>22</comment_count>
    <who name="Shawn Sörbom">shawn</who>
    <bug_when>2018-10-26 20:53:00 +0000</bug_when>
    <thetext>Bug still exists in Plasma 5.14.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1801389</commentid>
    <comment_count>23</comment_count>
    <who name="Shawn Sörbom">shawn</who>
    <bug_when>2018-10-27 17:03:44 +0000</bug_when>
    <thetext>Bug Still exists in 5.14.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1808215</commentid>
    <comment_count>24</comment_count>
    <who name="Lê Hoàng Phương">lehoangphuongbg</who>
    <bug_when>2018-11-05 07:01:39 +0000</bug_when>
    <thetext>&gt; Way to reproduce: open mouse system settings. Click the Invert scroll direction checkbox. Mouse whell scroll is reversed. Reboot. In mouse systemsettings checkbox is checked but mouse whell scroll is not reversed.

Another way to reproduce:
My mouse is bluetooth usb mouse, pulling the receiver out then plugging it in will make its settings reset to default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1823467</commentid>
    <comment_count>25</comment_count>
    <who name="Shawn Sörbom">shawn</who>
    <bug_when>2018-11-30 19:23:12 +0000</bug_when>
    <thetext>Bug still exists in 5.14.4. Has there been any progress in tracking it down?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825391</commentid>
    <comment_count>26</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-12-09 17:08:04 +0000</bug_when>
    <thetext>*** Bug 380997 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825398</commentid>
    <comment_count>27</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-12-09 17:09:22 +0000</bug_when>
    <thetext>*** Bug 350240 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1828700</commentid>
    <comment_count>28</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-12-27 03:00:46 +0000</bug_when>
    <thetext>*** Bug 402345 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1834882</commentid>
    <comment_count>29</comment_count>
    <who name="Jacopo Torrini">jactor</who>
    <bug_when>2019-01-30 08:29:59 +0000</bug_when>
    <thetext>Bug still exists in 5.14.5. Any progress?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1834936</commentid>
    <comment_count>30</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-01-30 14:43:47 +0000</bug_when>
    <thetext>I&apos;m afraid not. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1835946</commentid>
    <comment_count>31</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-02-05 20:11:33 +0000</bug_when>
    <thetext>*** Bug 403872 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1836169</commentid>
    <comment_count>32</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2019-02-06 11:28:48 +0000</bug_when>
    <thetext>Git commit e8de7085371f263e445ffbfc3ca7b5be5a732fc8 by David Edmundson.
Committed on 06/02/2019 at 11:28.
Pushed by davidedmundson into branch &apos;Plasma/5.14&apos;.

[kcms/mouse] Load current server settings in kcminit

Summary:
Without loading the current server status m_handed will remain
Handed::NotSupported;

EvdevSettings::load relies on various properties of X11EvdevBackend to
be initialised properly. When we load the settings from the config it&apos;ll
then save the fact that the server doesn&apos;t support setting which hand mouse to use as none was loaded - and assume that means we probably can&apos;t apply any setting.

Test Plan:
Ran in virtualbox (to get evdev used)
kcminit_startup was going into the right codepaths

Reviewers: #plasma, ngraham, mart

Reviewed By: #plasma, ngraham, mart

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18777

M  +1    -1    kcms/mouse/backends/x11/x11_evdev_backend.cpp

https://commits.kde.org/plasma-desktop/e8de7085371f263e445ffbfc3ca7b5be5a732fc8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1838964</commentid>
    <comment_count>33</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-02-18 22:21:30 +0000</bug_when>
    <thetext>*** Bug 404448 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>