The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Simutrans-Extended bug reports => Topic started by: 1993matias on June 20, 2022, 03:48:10 PM

Title: Minimap panning movement is weird
Post by: 1993matias on June 20, 2022, 03:48:10 PM
Using the latest nightly, I have found that moving/panning the minimap around has become next to impossible. Right-clicking and dragging the mouse around used to move the map exactly as the mouse moved, but now it seems to move much more randomly or sluggishly. It definitely doesn't change direction of movement when I do.
Is it possible to revert to the old behaviour?
Title: Re: Minimap panning movement is weird
Post by: RESTRICTED ACCOUNT on June 20, 2022, 10:27:53 PM
Certainly such a change has occurred recently. But the behavior is exactly the same as standard. I wonder if r10565 is a commitment about it.

Quote from: 1993matias on June 20, 2022, 03:48:10 PMIs it possible to revert to the old behaviour?
I don't know if that is possible. I'm afraid to destroy something else.
Title: Re: Minimap panning movement is weird
Post by: jamespetts on November 05, 2022, 04:30:13 PM
Unfortunately, I see that this is still a problem. Does anyone have any idea what is going on in the code with this?
Title: Re: Minimap panning movement is weird
Post by: RESTRICTED ACCOUNT on November 05, 2022, 04:58:27 PM
As far as I tried r10782, I can confirm that the behavior is the same as the standard.
Note that right-clicking does not move in the direction in which the mouse is moved, but determines the direction and speed of movement depending on which direction the pointer is from the position where the mouse is clicked.

However, it seems that this is probably conscious of touch operation, but I think it is indeed a weird behavior.
Even if there is no pointer at the center position, it feels strange that it does not move when the mouse is stopped.
Title: Re: Minimap panning movement is weird
Post by: waerth on November 06, 2022, 11:00:02 AM
Suffering from the same issue yes
Title: Re: Minimap panning movement is weird
Post by: prissi on November 06, 2022, 12:19:43 PM
That is certainly not intended, since panning with left click works differently. I will have a look.