<table><tr><td style="">atulbi created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />atulbi requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D21269">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>On system settings, If Mouse KCM is opened first, then touchpad KCM loads the same Mouse QML file (qrc::/libinput/main.qml) instead of Touchpad Qml file.<br />
Having same url (qrc::/libinput/main.qml).</p>
<p>Fix: simply renaming qml files fixed the issue.There could be better solutions though.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Renamed main.qml to touchpad.qml .</li>
<li class="remarkup-list-item">Edited resource file to reflect change.</li>
<li class="remarkup-list-item">When compiled with these changes and opened touchpad setting, it was all blank, which was expected (because i did not changed the source).But opening mouse and then</li>
</ol>
<p>touchpad shows mouse settigs. So it Confirmed the cause.</p>
<ol class="remarkup-list" start="4">
<li class="remarkup-list-item">Now changing source and compiling it fixes the issue. Now, no more mouse on Touchpad and vice-versa.</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>BRANCH</strong><div><div>touchpad-mouse</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D21269">https://phabricator.kde.org/D21269</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcms/touchpad/src/backends/x11/libinputtouchpad.cpp<br />
kcms/touchpad/src/kcm/libinput/main.qml<br />
kcms/touchpad/src/kcm/libinput/touchpad.qml<br />
kcms/touchpad/src/kcm/libinput/touchpadconfiglibinput.cpp<br />
kcms/touchpad/src/kcm/resources.qrc</div></div></div><br /><div><strong>To: </strong>atulbi<br /><strong>Cc: </strong>plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>