[1.1.32] Buggy base game GUI when using large relative GUIs

Post your bugs and problems so we can fix them.
Post Reply
Xorimuth
Filter Inserter
Filter Inserter
Posts: 280
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

[1.1.32] Buggy base game GUI when using large relative GUIs

Post by Xorimuth »

I can work around this by setting `maximal_height = 930` on the outermost frame, but I'm pretty sure the behaviour is unwanted.

To reproduce, load the save with the attached mod (not the same as the version on the mod portal), and click on the spidertron. You can use the patrol remote (click on the ground) to expand the height of the UI and the 'cross' or 'reset' buttons to shrink it. When the height gets too large, the bottom of the GUI is just blank and unresponsive, and the top of the relative GUI pops out above the top of the main GUI.

This issue only occurs on larger UI scales, but it is present at 1080p 100% scale (see screenshot). It doesn't occur on smaller-than-recommend scalings, or the default 175% scale on my 3072 × 1920 display (which is 16:10, so more space anyway). Using the `maximal_height = 930` workaround means that on the high-DPI, 16:10 display it doesn't use the full height like it used to.

Screenshot 2021-05-01 at 23.41.16.png
Screenshot 2021-05-01 at 23.41.16.png (291.11 KiB) Viewed 368 times
Attachments
Buggy UI.zip
(499.19 KiB) Downloaded 33 times
SpidertronPatrols_2.0.0.zip
(204.8 KiB) Downloaded 49 times
factorio-current.log
(18.76 KiB) Downloaded 37 times

Xorimuth
Filter Inserter
Filter Inserter
Posts: 280
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: [1.1.32] Buggy base game GUI when using large relative GUIs

Post by Xorimuth »

My hardcoded maximal_height workaround doesn't even work when another mod is taking up some of the relative space: https://mods.factorio.com/mod/Spidertro ... 5c11dd15bf

Xorimuth
Filter Inserter
Filter Inserter
Posts: 280
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: [1.1.32] Buggy base game GUI when using large relative GUIs

Post by Xorimuth »

This does not cause any issues with https://mods.factorio.com/mod/production-potential (v1.2.0) which has a relative GUI, a scroll box, but no `maximal_height`, implying that it is an issue specific to entity GUIs.

Post Reply

Return to “Bug Reports”