[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Release of Enigma 1.30-alpha

From: Sidney Markowitz
Subject: Re: Release of Enigma 1.30-alpha
Date: Fri, 25 Dec 2020 10:13:09 +1300
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

That could explain it. I have a MacBook Pro laptop with two external monitors attached. The virtual machine display is on one of the external monitors. I can imagine that a bug in the interaction between SDL2 and the virtual graphics stuff could result in coordinates with large numbers as if the three screens were one huge virtual display. I'll try it with the VM displayed on just the laptop screen, and try with the external monitors unplugged to see if it makes a difference. If that helps we can see if there is a way to get it to work with external monitors.

Do have an idea what is different with the mouse when it is in a menu screen and the magic wand mouse cursor does display and move correctly?



Andreas Lochmann wrote on 25/12/20 9:52 am:
A mouse event with so large numbers is discarded by Enigma on purpose, because the black ball would suddenly be subjected to an enormous impulse, if the mouse event would have been interpreted the normal way. So, the ball not moving is a logical and necessary consequence to an overly large mouse xrel/yrel-pairing. So ... we have to ask: Why does SDL2 report so large xrel/yrel-values?

I cannot reproduce the bug ... could you please answer the following questions?

Do you use a special kind of mouse or mouse port?

Do you use an intermediary program (like a logger) or a remote desktop? (Those might manipulate the mouse coordinates. The fact that you observe the same problem using VirtualBox can be explained by (1) VirtualBox manipulating the mouse coordinates or (2) the host OS being involved in the bug.)

Were there other windows on the screen, besides Enigma's window?

There is a bug report about SDL 2 here concerning "jumpy" relative mouse motion:
It needs other windows other than Enigma to be present. It should be closed on X11, but your host OS might still be reporting wrong numbers. However, the numbers you report are so much larger, that it just doesn't make sense, unless you use something like a 40.000 x 20.000 pixel display?


Am Do., 24. Dez. 2020 um 15:20 Uhr schrieb Sidney Markowitz <sidney@sidney.com>:
I tried installing on Ubuntu 20.04 based Linux Mint Mate and got the same
problem with the mouse while in the level.

At this point the only point of difference I see is that I'm running it on a
VirtualBox virtual machine.

In other news, I've built and uploaded a macOS dmg that anyone can use to
install Enigma on macOS without having to have Homebrew and without building
from source. So far it has only been tested on macOS Catalina. If it doesn't
work on High Sierra or Mojave, let me know and I can build it on a High Sierra
machine instead, which should be forward-compatible to Mojave and Catalina.
Big Sur will have to wait until I can set up a machine to play with it.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]