URL: <http://gna.org/bugs/?19544>
Summary: Failed to show a dialog, which doesn't fit on the screen Project: Battle for Wesnoth Submitted by: slowthinker Submitted on: Tue Mar 13 15:36:53 2012 Category: Bug Severity: 3 - Normal Priority: 5 - Normal Item Group: Graphics Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: 1.10.0 Operating System: Win XP Pro _______________________________________________________ Details: The bug has ben observed with a Wesnoth's textbox: If '[message] [text_input] label=' is too long and the Wesnoth window is not wide enough then an error message is shown (see below) and the game is ended. It might be just a different effect of this bug: https://gna.org/bugs/index.php?19237 also because the error message is identical with both bugs: "An error due to possibly invalid WML occurred The error message is : Failed to show a dialog, which doesn't fit on the screen. When reporting the bug please include the following error message : src\gui\widgets\window.cpp:940 in function 'layout' found the following problem: Failed to size window; wanted size 844,126 available size 694,676 screen size 896,706." You can reproduce the bug if you run the attached scenario in a smaller window. a note: the textbox is very wide and doesn't reflect max_length, and so it occupies a lot of window width. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue Mar 13 15:36:54 2012 Name: test_bug_textinput.zip Size: 435B By: slowthinker <http://gna.org/bugs/download.php?file_id=15364> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?19544> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Wesnoth-bugs mailing list Wesnoth-bugs@gna.org https://mail.gna.org/listinfo/wesnoth-bugs