[kovarex] [0.17.14]Mod gui buttons not working (with custom scaling)

This subforum contains all the issues which we already resolved.
Choumiko
Smart Inserter
Smart Inserter
Posts: 1352
Joined: Fri Mar 21, 2014 10:51 pm
Contact:

[kovarex] [0.17.14]Mod gui buttons not working (with custom scaling)

Post by Choumiko »

To reproduce:
  • Settings/Resolution: UI scale: 100%, 1920x1080, windowed, maximized
  • Load the attached save with the attached mod
  • Move the cursor over Button 20 (from top to bottom)
  • Eventually it will no longer be displayed as selected and the entity info for the research lab which is under the button will show up
The same problem occurs with automatic scaling (75%) if you change the mod to create 30 buttons and set frame.style.height = 900

Additional bug reports from my mods:
https://github.com/Choumiko/ModuleInserter/issues/8 (Factorio 0.17.9, Mod version 4.0.3 https://mods.factorio.com/download/Modu ... 000c04b52d )

https://mods.factorio.com/mod/FARL/disc ... 000bce22bf (Mod: https://mods.factorio.com/download/FARL ... 000de83be3,
reproduced with Factorio 0.17.14, 1920x1080, windowed, maximized, UI scale 125%,)

Code: Select all

   0.000 2019-03-15 23:52:20; Factorio 0.17.14 (build 43773, linux64, alpha)
   0.030 Operating system: Linux (Ubuntu 16.04)
   0.030 Program arguments: "./factorio" 
   0.030 Read data path: /home/choumiko/factorio/data
   0.030 Write data path: /home/choumiko/factorio [29478/195884MB]
   0.030 Binaries path: /home/choumiko/factorio/bin
   0.035 System info: [CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 8 cores, RAM: 15996 MB]
   0.035 Environment: DISPLAY=:0, WAYLAND_DISPLAY=<unset>
   0.035 Display options: [FullScreen: 0] [VSync: 0] [UIScale: custom (100.0%)] [Native DPI: 1] [Screen: 1] [Special: 00] [Lang: en]
   0.264 Available displays: 2
   0.264  [0]: SMBX2450 24" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.264  [1]: PLX2783H 27" - {[1920,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.366 Initialised OpenGL:[1] GeForce GTX 1070/PCIe/SSE2; driver: 3.3.0 NVIDIA 370.28
   0.366   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.366   [Version] 3.3
   0.390 Graphics settings preset: very-high
   0.390   Dedicated video memory size 8192 MB
   0.390 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality]
   0.390                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Color: 32bit]
Attachments
GUIButtonTestMod.zip
(2.14 MiB) Downloaded 83 times
TestModGui_3.0.0.zip
(936 Bytes) Downloaded 88 times
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [0.17.14]Mod gui buttons not working (with custom scaling)

Post by kovarex »

Hello.

This (and other similar problems), were caused by the limitation of the size of each of the mod gui containers.

To solve this (hopefully) once and for all, especially when different mods could compete for space, we changed in a way, that when the mod gui can't fit the designed space, it will be scrollable.

So fixed for 0.17.36
Post Reply

Return to “Resolved Problems and Bugs”