<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: Plasma, VDG.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />ngraham 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/D25361">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This patch exposes a UI for choosing what happens when you left-click in the scroll trough<br />
in a Qt or KDE app. The default behavior is unchanged (left-click to page up/page down)<br />
but now you can choose to warp the scroll handle straight to the clicked position.</p>
<p>Having this setting in the Workspace KCM opens the door to later making it also change<br />
the behavior for GTK apps as well, allowing us to remove one more setting from the GTK<br />
KCM and bringing us one step closer to finishing <a href="https://phabricator.kde.org/T10611" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">T10611: Set options for GTK apps in the respective KCMs</a>.</p>
<p>BUG: 379498<br />
FIXED-IN: 5.18.0</p>
<p>Depends on <a href="https://phabricator.kde.org/D25360" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D25360</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p><a href="https://phabricator.kde.org/F7768893" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F7768893: New option.png</a></p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Apply <a href="https://phabricator.kde.org/D25360" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D25360</a></li>
<li class="remarkup-list-item">Click on "Scrolls to the clicked location" in the KCM</li>
<li class="remarkup-list-item">Click in the scroll trough in a Qt/KDE app</li>
<li class="remarkup-list-item">See that the scroll handle position jumps right there</li>
<li class="remarkup-list-item">Click on "Scrolls one page up or down" in the KCM</li>
<li class="remarkup-list-item">Click in the scroll trough in a Qt/KDE app</li>
<li class="remarkup-list-item">See that the scroll handle moves up or down by one page height</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>BRANCH</strong><div><div>left-click-warps-scrollbar-settings-ui (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25361">https://phabricator.kde.org/D25361</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kcms/workspaceoptions/package/contents/ui/main.qml<br />
kcms/workspaceoptions/workspaceoptions.cpp<br />
kcms/workspaceoptions/workspaceoptions.h</div></div></div><br /><div><strong>To: </strong>ngraham, Plasma, VDG<br /><strong>Cc: </strong>gikari, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>