<?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>449843</bug_id>
          
          <creation_ts>2022-02-09 12:20:29 +0000</creation_ts>
          <short_desc>Can&apos;t save any configuration any more because &quot;Apply&quot; button isn&apos;t activated after changing anything (X11 mode)</short_desc>
          <delta_ts>2022-02-26 06:09:00 +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_touchpad</component>
          <version>5.24.0</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>regression</keywords>
          <priority>VHI</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andreas Hartmann">andihartmann</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>eoinlane92</cc>
    
    <cc>fabian</cc>
    
    <cc>loganturner547</cc>
    
    <cc>nate</cc>
    
    <cc>nicolas.fella</cc>
    
    <cc>pill.pt.time</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>5.24.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2102354</commentid>
    <comment_count>0</comment_count>
    <who name="Andreas Hartmann">andihartmann</who>
    <bug_when>2022-02-09 12:20:29 +0000</bug_when>
    <thetext>SUMMARY
It&apos;s impossible to save any change in system configuration -&gt; touchpad configuration, because the &quot;Apply&quot; button isn&apos;t activated.

STEPS TO REPRODUCE
1. Start systemsettings
2. Go to Hardware -&gt; Input devices
3.  Go to Touchpad
4. Use first tab and change 2 finger mode to middle mouse key. 
5. You could try to change any other parameter in any other tab. The apply button never gets activated.

OBSERVED RESULT
Apply button is not activated

EXPECTED RESULT
Apply button must be activated

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2102473</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Hartmann">andihartmann</who>
    <bug_when>2022-02-09 16:32:29 +0000</bug_when>
    <thetext>Reverting to 5.23.5 makes it working again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103130</commentid>
    <comment_count>2</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2022-02-10 23:15:25 +0000</bug_when>
    <thetext>*** Bug 449978 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103669</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-02-11 22:37:44 +0000</bug_when>
    <thetext>Cannot reproduce on Wayland, must be X11-specific.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103673</commentid>
    <comment_count>4</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2022-02-11 22:40:20 +0000</bug_when>
    <thetext>I cannot reproduce on X11 either</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103776</commentid>
    <comment_count>5</comment_count>
    <who name="Andreas Hartmann">andihartmann</who>
    <bug_when>2022-02-12 06:49:37 +0000</bug_when>
    <thetext>Doesn&apos;t work with Wayland, either (regardless if amd or nvidia). 

BTW: I even tested with a fresh account (no existing historic configuration before - same problem).

Can you say how to debug the problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103780</commentid>
    <comment_count>6</comment_count>
    <who name="Andreas Hartmann">andihartmann</who>
    <bug_when>2022-02-12 07:19:54 +0000</bug_when>
    <thetext>Maybe you could provide some debug output to the source code to narrow down, where the problem happens? I&apos;m able to recompile https://ftp.lysator.liu.se/pub/opensuse/repositories/KDE:/Frameworks5/openSUSE_Leap_15.3/src/plasma5-desktop-5.24.0-lp153.504.2.src.rpm and may add the debug output before ... .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103988</commentid>
    <comment_count>7</comment_count>
    <who name="Carlos Pinto">pill.pt.time</who>
    <bug_when>2022-02-12 23:41:32 +0000</bug_when>
    <thetext>I&apos;m also on 5.24.0 and have the same problem, on both Wayland and X11.
However, doing `kcmshell5 kcm_touchpad` in a terminal and configuring the touchpad in the window it opens, the &apos;Apply&apos; button works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104038</commentid>
    <comment_count>8</comment_count>
    <who name="Andreas Hartmann">andihartmann</who>
    <bug_when>2022-02-13 07:04:12 +0000</bug_when>
    <thetext>I already tested the &quot;konsole&quot; workaround you described - doesn&apos;t work here either. Anyway I sometimes could see differences between start via konsole and start via icon in start menu: the two radio options for 2 finger tipping (right click or middle click) are often disabled when starting from start menu - after it has been started via konsole, they are active.
If started from konsole, I&apos;m getting the following debug output:

~&gt; systemsettings kcm_touchpad
kf.configwidgets: A widget named &apos; &quot;kcfg_osdKbdLayoutChangedEnabled&quot; &apos; was found but there is no setting named &apos; &quot;osdKbdLayoutChangedEnabled&quot; &apos;
kf.configwidgets: A widget named &apos; &quot;kcfg_repeatRate&quot; &apos; was found but there is no setting named &apos; &quot;repeatRate&quot; &apos;
kf.configwidgets: A widget named &apos; &quot;kcfg_repeatDelay&quot; &apos; was found but there is no setting named &apos; &quot;repeatDelay&quot; &apos;
kf.configwidgets: A widget named &apos; &quot;kcfg_resetOldXkbOptions&quot; &apos; was found but there is no setting named &apos; &quot;resetOldXkbOptions&quot; &apos;
kf.configwidgets: A widget named &apos; &quot;kcfg_configureLayouts&quot; &apos; was found but there is no setting named &apos; &quot;configureLayouts&quot; &apos;
kf.configwidgets: A widget named &apos; &quot;kcfg_repeatRate&quot; &apos; was found but there is no setting named &apos; &quot;repeatRate&quot; &apos;
kf.configwidgets: A widget named &apos; &quot;kcfg_repeatDelay&quot; &apos; was found but there is no setting named &apos; &quot;repeatDelay&quot; &apos;
kcm_touchpad: Using X11 backend
qml: Touchpad configuration of device &apos;1 : ELAN1200:00 04F3:30BA Touchpad&apos; opened
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:283:9: QML QQuickItem* (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property &quot;preferredWidth&quot;
qrc:/libinput/touchpad.qml:108:5: QML FormLayout: Binding loop detected for property &quot;implicitHeight&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2104830</commentid>
    <comment_count>9</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2022-02-15 11:06:20 +0000</bug_when>
    <thetext>*** Bug 450293 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107841</commentid>
    <comment_count>10</comment_count>
    <who name="Fabian Vogt">fabian</who>
    <bug_when>2022-02-24 20:06:13 +0000</bug_when>
    <thetext>There&apos;s a weird &quot;Q_EMIT changed(false);&quot; in &quot;TouchpadConfigContainer::resizeEvent&quot;, which would disable the Apply button on resizes.

Can you set a breakpoint on KCModule::changed(bool) and for each call get the argument value as well as a backtrace?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107844</commentid>
    <comment_count>11</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2022-02-24 20:31:09 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/852</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107850</commentid>
    <comment_count>12</comment_count>
    <who name="Fabian Vogt">fabian</who>
    <bug_when>2022-02-24 21:05:22 +0000</bug_when>
    <thetext>Git commit 369eab6457965de99119f9966a009f98a60745bc by Fabian Vogt.
Committed on 24/02/2022 at 20:25.
Pushed by fvogt into branch &apos;master&apos;.

kcms/touchpad: Remove weird Q_EMIT changed(false) in resizeEvent

That looks rather out of place there and does actually disable the apply button
when resizing the window. I don&apos;t understand what it&apos;s supposed to be doing
there, but if it has an actual purpose it needs to be addressed differently.

M  +0    -1    kcms/touchpad/kcm/touchpadconfigcontainer.cpp

https://invent.kde.org/plasma/plasma-desktop/commit/369eab6457965de99119f9966a009f98a60745bc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107851</commentid>
    <comment_count>13</comment_count>
    <who name="Fabian Vogt">fabian</who>
    <bug_when>2022-02-24 21:05:47 +0000</bug_when>
    <thetext>Git commit 5cf2788fdd18cb8604fd172535b044c6cfd370fc by Fabian Vogt.
Committed on 24/02/2022 at 21:05.
Pushed by fvogt into branch &apos;Plasma/5.24&apos;.

kcms/touchpad: Remove weird Q_EMIT changed(false) in resizeEvent

That looks rather out of place there and does actually disable the apply button
when resizing the window. I don&apos;t understand what it&apos;s supposed to be doing
there, but if it has an actual purpose it needs to be addressed differently.


(cherry picked from commit 369eab6457965de99119f9966a009f98a60745bc)

M  +0    -1    kcms/touchpad/kcm/touchpadconfigcontainer.cpp

https://invent.kde.org/plasma/plasma-desktop/commit/5cf2788fdd18cb8604fd172535b044c6cfd370fc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2107858</commentid>
    <comment_count>14</comment_count>
    <who name="Andreas Hartmann">andihartmann</who>
    <bug_when>2022-02-24 22:35:08 +0000</bug_when>
    <thetext>The proposed patch fixes the problem of not activated apply button for me. I tested against 5.24.2.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>