Page 1 of 1

[kovarex] [0.16.23] Gui bug, train station order changes by itself

Posted: Thu Feb 15, 2018 3:34 am
by staviq
If you have enough train stations to overflow the window, like here:

Image

Selecting stations that are in the portion of the list that needs to be scrolled down to be visible, will automatically scroll the list up, and the movement of the list is treated like a mouse movement and starts the drag and drop of the item, resulting in the station being moved up.

In this particular example, selecting station "Wall NE", will cause it to go up, above the last "Kaboom" station on the list.

This seems to happen only if i click on the upper half of the train station name box ( the top half of the single line of the text )

I am using gui scaling, currently at 85%, but the bug still happens without gui scaling.

What should happen:
Selecting stations that is on the bottom of long list shound result in the station being selected and nothing else.
What does happen instead:
Selecting station that is on the bottom of long list selects this station and automatically changes it's order on the list.


EDIT:

Actually, it seems this happens to all stations on the list, as long as:
1. List is long enough to have a scrollbar
2. List is scrolled down.

Re: [0.16.23] Gui bug, train station order changes by itself

Posted: Thu Feb 15, 2018 4:12 am
by Rseding91
Thanks for the report however I can't reproduce any problem. When I try the steps you list it works perfectly.

Can you reproduce the issue without the mods you're using?

Re: [0.16.23] Gui bug, train station order changes by itself

Posted: Thu Feb 15, 2018 5:13 am
by staviq
Rseding91 wrote:Thanks for the report however I can't reproduce any problem. When I try the steps you list it works perfectly.

Can you reproduce the issue without the mods you're using?
It seems indeed it's being caused by a mod, i have narrowed it down to the https://mods.factorio.com/mod/bobplates, i can reproduce with only this mod ( and required boblibrary mod )

So i guess it's up to You to decide whether it's Your a bug or not :)

Re: [0.16.23] Gui bug, train station order changes by itself

Posted: Thu Feb 15, 2018 5:26 am
by Rseding91
I still can't reproduce it with those two mods installed.

Re: [0.16.23] Gui bug, train station order changes by itself

Posted: Thu Feb 15, 2018 5:45 am
by staviq
Rseding91 wrote:I still can't reproduce it with those two mods installed.
This is the game save i'm testing on.

There is a train next to the player when you load the game, it has the schedule that i have posted in the screenshot.
1. Open the train schedule
2. Scroll the station list all the way down
3. Click on the top half, of the last station name

The last two stations will flip on the list.

If you still can't reproduce, i'll try to post a video.

Re: [0.16.23] Gui bug, train station order changes by itself

Posted: Thu Feb 15, 2018 6:13 am
by Rseding91
Ok, the mod settings was the key thing. It was changing the inventory size of the player which was the 1 thing different and that triggers the behavior.

Re: [Kovarex] [0.16.23] Gui bug, train station order changes by itself

Posted: Tue Feb 27, 2018 9:24 pm
by kovarex
Thanks for the report, it is fixed for 0.16.27 now.