<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Enable middle-button-drag coexisting with scroll emulation"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106435">106435</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Enable middle-button-drag coexisting with scroll emulation
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>libinput
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>john+bugs_freedesktop_org@daaave.org
</td>
</tr></table>
<p>
<div>
<pre>I have a Trackpoint mouse ("eraser mouse") and when scroll wheel emulation is
enabled there's no way to do a middle-button-drag, because as soon as you hold
down the middle mouse button, it activates the scroll wheel emulation.
The thought I had, and I admit this is hacky and I'm open to suggestions, was
that if you hold the middle mouse button down for a threshold amount of time
without moving the pointer, it would switch back from scroll wheel emulation to
normal behaviour (where the middle button is acting like a middle button
again). So you can do a middle-button-drag, you just have to hold the mouse
button down for say 1 second before you can start dragging. Not perfect, but
certainly better than not ever being able to do it at all.
I'd say this functionality would probably require two new configurable values:
1. The amount of time (in milliseconds) you have to hold the middle button down
(or both buttons down, if it's a two-button setup where the middle button
itself is being emulated)
2. The distance the mouse is allowed to move during the delay without
triggering scroll emulation
In other words, if the settings above were "1000 ms" and "10 pixels", then
you'd have to hold the button for one second and keep the pointer within a
10-pixel radius to initiate a middle-button-drag.
There's also a related question of whether the user should be notified that the
operational switch has occurred (and if so, how)? Personally I'm fine with no
notification and just doing it by muscle memory, but I'm sure I'd be happy with
other approaches as well.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>