FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.68k stars 394 forks source link

Too many warnings when saving the submarine in the editor can push the "Ok" button off-screen #13850

Closed Regalis11 closed 2 months ago

Regalis11 commented 2 months ago

Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/13847

Originally posted by **NotWendy** April 26, 2024 ### Disclaimers - [X] I have searched the issue tracker to check if the issue has already been reported. - [ ] My issue happened while using mods. ### What happened? If the player somehow makes too many warnings appear when they save the submarine in the sub editor, the list of warnings will push the OK button off-screen. The message can still be closed by pressing Enter. It'd be better if the size of the window was capped and the text inside was scrollable. ![602960_20240426161115_1](https://github.com/FakeFishGames/Barotrauma/assets/47554589/d3f5d510-4f12-4866-8a32-e4201e730187) ### Reproduction steps 1. Open a submarine file in the submarine editor. 2. Create problems (vents with not enough oxygen, lack of certain items and tags). 3. Save the submarine to see the list of warnings. 4. Repeat until the list becomes too long. ### Bug prevalence Happens every time I play ### Single player or multiplayer? Happens outside single player or multiplayer game modes (e.g. game launches on startup, something broken in the main menu) ### - _No response_ ### Version v1.4.4.1 (Blood in the Water Update) ### - _No response_ ### Which operating system did you encounter this bug on? Windows ### Relevant error messages and crash reports _No response_
Rokvach commented 2 months ago

Tested, working correctly. Can be merged and closed.