[kovarex] Having an unpadded button in the left top will cause the hover to trigger when losing window focus

This subforum contains all the issues which we already resolved.
Post Reply
Anyone
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Mon Apr 25, 2016 11:02 am
Contact:

[kovarex] Having an unpadded button in the left top will cause the hover to trigger when losing window focus

Post by Anyone »

If you have a button in the left top window (or any other element really), of which hits the top left corner (thus no padding), it will trigger the hover effect when your factorio game instance loses window focus.

The bug can be reproduced with the redmew scenario, any scenario from this list should do: https://github.com/Refactorio/RedMew/re ... 26-06743fa

Here's a twitch clip showing the hover (made by TheOrangeAngle) https://clips.twitch.tv/EndearingFineBu ... RedBlaster
Here's a screenshot that I made, notice my mouse being on discord (second monitor, fullscreen game mode, also happens in windowed)
Image

User avatar
Cooldude2606
Long Handed Inserter
Long Handed Inserter
Posts: 97
Joined: Sat Sep 16, 2017 9:04 pm
Contact:

Re: [kovarex] Having an unpadded button in the left top will cause the hover to trigger when losing window focus

Post by Cooldude2606 »

I have found that it doesnt even need to be a loss of focus, I have a duel monitor setup and even when the game is focused if my mouse is on the other screen then it will act at 1,1. I saw that it was at 1,1 by enabling crtl+f6 and seeing that the mod_gui_button_flow was being selected by the debug popup.

Note that in this picture I do not click onto the other widow and that factorio still recives the keyboard inputs.
Image
--- Developer for Explosive Gaming and Clusterio. Please contact me via our Discord. ---

kovarex
Factorio Staff
Factorio Staff
Posts: 8170
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] Having an unpadded button in the left top will cause the hover to trigger when losing window focus

Post by kovarex »

Thanks for the report, it is now fixed for the next release.

Post Reply

Return to “Resolved Problems and Bugs”