The International Simutrans Forum

Development => Bug Reports => Topic started by: whoami on November 09, 2015, 01:06:01 AM

Title: [old bug, but check r7640] building by dragging starts on the wrong tile
Post by: whoami on November 09, 2015, 01:06:01 AM
Quite often, when building (ways, bridges, signals) by dragging, building does not start on the tile that I clicked on, but on the next tile in dragging direction - or even further on, if building is not possible before, but this makes sense by omitting tiles that cannot be built on. But mostly, it leads to gaps in ways and misplaced signals and bridge ends. This behaviour appeared a long time ago.
Title: Re: [old bug, but check r7640] building by dragging starts on the wrong tile
Post by: Ters on November 09, 2015, 06:32:24 AM
So it isn't just me! I commented on this once, but nobody seemed to have the same problem, so I assumed it was just me or something with my computer.
Title: Re: [old bug, but check r7640] building by dragging starts on the wrong tile
Post by: whoami on November 09, 2015, 07:15:37 AM
It does not happen every time, but very often, and I cannot see a rule behind it happening or not.
Title: Re: [old bug, but check r7640] building by dragging starts on the wrong tile
Post by: Vladki on November 09, 2015, 07:53:53 AM
I have seen this even on places with no obstacles at all. My observation was a jumpy mouse combined with zoom out and slow cpu. As if the first movement when dragging was ignored, allowing the pointer to jump over a few tiles before the action (building track, signals, whatever) began. A workaround is to hold the button a drag a little inside the start tile until you get the bulldozer icon. Only when bulldozer appears you can drag further out from the start tile.
Title: Re: [old bug, but check r7640] building by dragging starts on the wrong tile
Post by: Isaac Eiland-Hall on November 09, 2015, 11:23:55 AM
Vladki is spot on. I was using a much slower computer for a long time, and I've noticed that it's directly bound to that. Faster computer = much less problem. Slower computer can be very off, so click and hold until the bulldozer appears, then drag. :)
Title: Re: [old bug, but check r7640] building by dragging starts on the wrong tile
Post by: whoami on November 09, 2015, 02:46:58 PM
That sounds like an explanation. And the remedy might be easy (I hope), because the location of the first click is known and is the one of the expected starting tile.
Title: Re: [old bug, but check r7640] building by dragging starts on the wrong tile
Post by: Dwachs on November 09, 2015, 03:15:59 PM
Which executables are affected? Win / Linux / SDL / GDI / etc. Does it affect all versions? Or is only one particular version afffected?
Title: Re: [old bug, but check r7640] building by dragging starts on the wrong tile
Post by: Vladki on November 09, 2015, 04:32:57 PM
Linux 32 bit standard nightly.
Title: Re: [old bug, but check r7640] building by dragging starts on the wrong tile
Post by: Ters on November 09, 2015, 07:00:25 PM
My computer shouldn't be slow, nor do I zoom in or out. Maybe I'm a faster user? I use 32-bit self-compiled on 64-bit Windows.
Title: Re: [old bug, but check r7640] building by dragging starts on the wrong tile
Post by: whoami on November 10, 2015, 03:58:50 AM
Here: Windows 7 , with the Nightly (is that GDI?).
Title: Re: [old bug, but check r7640] building by dragging starts on the wrong tile
Post by: An_dz on November 11, 2015, 12:15:15 AM
Quote from: whoami on November 10, 2015, 03:58:50 AM
Here: Windows 7 , with the Nightly (is that GDI?).
Yes, and if you want to confirm: SDL has its own cursor that's black.