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

This subforum contains all the issues which we already resolved.
aglaron
Burner Inserter
Burner Inserter
Posts: 11
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 51 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 17434
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Thanks for the report. It looks like this is working correctly in 2.1 and later. I was able to reproduce it in 2.0.76 and it seems to work fine in the latest 2.1..
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”