[2.0.76] right and bottom row of pixels of the screen doesn't register mouse hover events

Post your bugs and problems so we can fix them.
aglaron
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sun Apr 19, 2026 7:59 pm
Contact:

[2.0.76] right and bottom row of pixels of the screen doesn't register mouse hover events

Post by aglaron »

When mouse cursor is moved to the right-most or the bottom-most edge of the screen, game stops registering hover events from the mouse. The game does register hover events while left mouse button is held pressed.

Steps:
(0. Graphics settings -> Full screen = checked)
1. Start new Freeplay game.
2. Turn on "GUI style view" (Control+F6).
3. Move mouse cursor to the bottom edge of screen below quickbar.

Actual: GUI style view overlay isn't visible. It disappears right when cursor reaches the bottom-most row of pixels of the screen.

4. Move mouse cursor to the right edge of the screen beside minimap.

Actual: GUI style view overlay isn't visible. It disappears right when cursor reaches the right-most column of pixels of the screen.

5. Press and hold left mouse button. Repeat steps #3 and #4.

Actual: though GUI style view overlay doesn't appear, the gui frames are highlighted as expected. It proves mouse cursor is not out of bounds.

Expected: GUI style view overlay is visible after steps #3 and #4.

My use case: I'm making a mod that will place thin invisible UI elements on those edges of the screen. These UI elements will listen for mouse hover event to detect when player have moved the cursor to an edge of the screen. It is important for them to be as thin as it can be but currently it is possible to move cursor "below" such element without triggering hover event.

Notes:
- display_resolution = 2160x3840
- display_scale = 2
- display_density_scale = 3
- Graphics settings -> Full screen = true
Attachments
factorio-current.log
(13.78 KiB) Downloaded 4 times
Post Reply

Return to “Bug Reports”