Page 1 of 1

[Dominik][0.16.29] All functions in scrollable GUI become unclickable

Posted: Mon Mar 12, 2018 10:52 pm
by rublue3748
(My original post, I just changed it because I feel that it better fits this)
When you scroll to the very bottom of a GUI, Any of the buttons that you were able to click become unclickable (See my original post below.)

Link to Impatient's post, who has a similar bug: viewtopic.php?f=7&t=58650

When I go to the controls menu and scroll to the ABSOLUTE bottom of the page, I am unable to change any of my key bindings.

When I am normally able to change the key binds, the box turns yellow/orange and I can click it to change it. (Pictured Below)
Screenshot (10).png
Screenshot (10).png (2.02 MiB) Viewed 4369 times
But when I scroll all the way to the bottom, I am unable to change the key binds (I am actually clicking the options) and I the box does not turn orange/yellow (Again, Pictured below) (Sorry the cursor isn't showing, I don't know how to fix that, but the mouse is directly on top of ALT for show info and the option is not changing, also I assume there is a graphical bug with the enter, THAT IS NOT WHERE MY CURSOR IS)
Screenshot (12).png
Screenshot (12).png (2.02 MiB) Viewed 4369 times
I can confirm this also works when you drag the scrollbar to the right to the bottom as well.
Log file below.

Edit: Can confirm this persists into [0.16.30] as well.
(Pardon my inability to respond if needed... Freak storm heading my way... may lose power etc.)

Re: [0.16.29] All functions in scrollable GUI become unclickable

Posted: Tue Mar 13, 2018 12:31 am
by kitcat
Could you check if it works if you pull the scrollbar up by 1 pixel?

Sounds like the inverse of the recently fixed 57667.

Re: [0.16.29] All functions in scrollable GUI become unclickable

Posted: Tue Mar 13, 2018 2:35 am
by rublue3748
Can confirm that it DOES work when I move it up by 1 pixel. I agree that it sounds like the inverse of said bug.

Re: [Dominik][0.16.29] All functions in scrollable GUI become unclickable

Posted: Tue Mar 13, 2018 8:34 pm
by Dominik
Hi, I am the one responsible, sorry :)
As before, I am unable to reproduce it.
I see that you use some strange UI scale. Can you please try to use default, to rule this out as a reason?
Can someone else confirm the bug and post their log? Thanks :)

Re: [Dominik][0.16.29] All functions in scrollable GUI become unclickable

Posted: Tue Mar 13, 2018 10:46 pm
by rublue3748
From my testing, the bug ONLY occurs on GUI scale range 111%-114%. Nothing else for me is able to recreate the bug (Default 100% works fine).

Re: [Dominik][0.16.29] All functions in scrollable GUI become unclickable

Posted: Tue Mar 13, 2018 11:46 pm
by kitcat
I easily reproduced this at default UI scale (100%) at a game height of 715-719px (excluding window decorations). This is another pixel-precision thing. The issue doesn’t appear at a game height of 714 or 720.

How to reproduce:
  • Start Factorio.
  • If fullscreen, switch to windowed. (This resizes the game to 1280x720 for me.)
  • Go to keyboard settings in the main menu. No need to start or load a game.
  • Scroll down to the bottom.
    • Reduce the window height by one pixel.
    • Scroll the list a bit up and then down to the bottom again. If you don’t scroll, just resizing will have no influence on the issue.(*)
    • Check if the list reacts to mouseover.
  • Repeat the three steps above until the list stops reacting to mouseover.
(*)
  • When it’s working, you can resize the window to a height that can trigger the issue, but as long as you don’t scroll, everything is fine.
  • Once it’s broken, it will stay broken no matter how you resize the window, as long as you don’t scroll.

Re: [Dominik][0.16.29] All functions in scrollable GUI become unclickable

Posted: Wed Mar 14, 2018 1:54 pm
by Dominik
It was actually much more simple to invoke - all it needs is to scroll so that the top is over a gap between rows. Which is exactly what I did not think about before. It should be ok now though.