[squeak-dev] How to yellow click with two buttons without changing mouse settings?

Marcel Taeumel marcel.taeumel at hpi.de
Mon Apr 23 06:24:57 UTC 2018


Hi Jakob,

do: "HandMorph showEvents: true" then do CTRL+RED/LEFT. You will see that you get, in fact, a yellow click. I think that there is code that checks for "control pressed" first to show the different menu. So, we do emulate that yellow-click in the VM, but we keep the "control pressed"-flag. So, the event state is different, even though you get "event yellowButtonPressed = true" both times.

To sum up some prior thoughts on this topic:
1) The VM should not provide this single-button-mouse behavior but the image should.
2) The event filters to simulate those yellow/blue clicks are already possible in the image. We do it with mouse-wheel vs. CTRL+up/down already.
3) A good transformation for CTRL+RED in such a single-button-mouse mode would be YELLOW and not CTRL+YELLOW.

Anyway, this is not an easy fix or decision to make. :-)

Best,
Marcel
Am 21.04.2018 14:35:43 schrieb Jakob Reschke <forums.jakob at resfarm.de>:
Hello,

I downloaded a VM (64 bit Cog Spur Windows) and a fresh trunk image
separately and have not changed any mouse button settings yet (swap
mouse buttons preference is on and neither 1 button mouse nor 3 button
mouse are selected in the VM preferences menu). My notebook does not
have a middle "mouse" button and the right button currently does a
blue click (opens the halo).

In this default setting, is there any way to do a yellow click?

I get the morph menu with ctrl+left click and in list morphs and on
the world I can invoke the menu with the Esc key, but I did not find a
modifier+button combination that would work universally to emulate a
yellow click. Have I missed it?

After disabling swap mouse buttons, right click becomes a yellow
click. But when the preference is on, both right click and alt+left
click produce a blue click. So with a two button mouse it seems that
nothing is actually swapped, but one button is unavailable
altogether...

A simple solution would be to turn the preference off by default.

Kind regards,
Jakob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180423/1530d351/attachment.html>


More information about the Squeak-dev mailing list