bugBattle for Wesnoth - Bugs: bug #13420, Dialogue window resize error

Show feedback again

bug #13420: Dialogue window resize error

Submitted by:  Jan Herzog <reisiger>
Submitted on:  Fri 24 Apr 2009 10:48:42 AM UTC  
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: WML
Status: FixedPrivacy: Public
Assigned to: Mark de Wever <mordante>Open/Closed: Closed
Release: r35156Operating System: Win7 x64

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Sun 15 Nov 2009 04:28:59 PM UTC, comment #7:

Fix confirmed at r39768.

Eric S. Raymond <esr>
Project Member
Sun 08 Nov 2009 05:08:28 PM UTC, comment #6:

I can no longer reproduce the problem with r39638, could you please test whether the problem is gone for you as well?

Mark de Wever <mordante>
Project MemberIn charge of this item.
Fri 29 May 2009 09:13:29 PM UTC, comment #5:

Disabling the story screen code completely by removing the WML that triggers it, reveals that the issue must be originated by some other component.

I'm assigning it back to Mordante until someone can find the culprit.

Ignacio R. Morelle <shadowmaster>
Project Administrator
Fri 22 May 2009 04:50:26 PM UTC, comment #4:

@Shadow_Master: Starting Httt and cl to level 21 still showes the problem. I guess it might be caused by your storyscreen changes (it only happens in 1.7) so I assigned it to you.

Mark de Wever <mordante>
Project MemberIn charge of this item.
Wed 29 Apr 2009 06:47:11 PM UTC, SVN revision 35328:

Better validate the map area size.

This fixes the result of bug #13420 (the cause still needs to be fixed).

(Browse SVN revision 35328)

Mark de Wever <mordante>
Project MemberIn charge of this item.
Tue 28 Apr 2009 09:31:52 PM UTC, comment #2:

Just tested with the 1.6 branch and the bug is not there. (Part of the fix will still apply to 1.6 but the way it's triggered seems a new bug in trunk.)

Mark de Wever <mordante>
Project MemberIn charge of this item.
Sun 26 Apr 2009 09:30:23 PM UTC, comment #1:

I managed to reproduce the bug and find a fix. Only I want to look a bit further since there are other glitches as well.

I expect the bug also to be present in 1.6, so need to check there as well.

Mark de Wever <mordante>
Project MemberIn charge of this item.
Fri 24 Apr 2009 10:48:42 AM UTC, original submission:

When playing scenario 'The Elven Council' of the HttT campaign, a dialogue window fails to resize when pressing 'next' right after the scenario loads.

Two assertion errors are shown by the MSVC C++ Runtime Library with information about where they happened:

File: e\projects_ext\wesnoth\trunk\src\gui\wi...\grid.cpp
Line: 587

File: e\projects_ext\wesnoth\trunk\src\gui\...\window.cpp
Line: 697

stderr.txt (not full log):

Battle for Wesnoth v1.7.0-svn
Started on Fri Apr 24 12:34:29 2009

Overriding data directory with ..\..\..

Data directory: E:/Projects_Ext/Wesnoth/trunk/projectfiles/VC9/Debug (fast)/..\..\..
User configuration directory: E:/Projects_Ext/Wesnoth/trunk/projectfiles/VC9/Debug (fast)/userdata

Checking video mode: 1280x768x32...
setting mode to 1280x768x32
Create an empty image
20090424 12:35:33 error gui_layout: Failed to resize window, wanted width 1795 available width 0.
20090424 12:43:40 error general: 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 :
e:\projects_ext\wesnoth\trunk\src\gui\widgets\window.cpp:604 in function 'gui2::twindow::layout' found the following problem: Failed to size window; wanted size 1770,125 available size 0,738 screen size 1280,768.

Jan Herzog <reisiger>
Project Member


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #5686:  HttT-The_Elven_Council.gz added by reisiger (29kB - application/x-gzip)
file #5687:  stderr.zip added by reisiger (12kB - application/zip)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by alink (Updated the item)
  • -unavailable- added by shadowmaster (Posted a comment)
  • -unavailable- added by mordante (Posted a comment)
  • -unavailable- added by esr (Updated the item)
  • -unavailable- added by soliton (Updated the item)
  • -unavailable- added by reisiger (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 04 Dec 2009 10:22:44 PM UTCalinkOpen/ClosedOpen=>Closed
    Sun 15 Nov 2009 04:28:58 PM UTCesrStatusReady For Test=>Fixed
    Sun 08 Nov 2009 05:08:28 PM UTCmordanteStatusIn Progress=>Ready For Test
    Fri 29 May 2009 09:13:29 PM UTCshadowmasterAssigned toshadowmaster=>mordante
    Fri 22 May 2009 04:50:26 PM UTCmordanteAssigned tomordante=>shadowmaster
    Sun 26 Apr 2009 09:30:23 PM UTCmordanteStatusNone=>In Progress
    Fri 24 Apr 2009 08:32:36 PM UTCesrAssigned toNone=>mordante
    Fri 24 Apr 2009 02:58:34 PM UTCsolitonAssigned toNone=>mordante
      Releaser35156=>trunk r35156
    Fri 24 Apr 2009 10:50:24 AM UTCreisigerAttached File-=>Added HttT-Home_of_the_North_Elves-Auto-Save13.gz, #5688
    Fri 24 Apr 2009 10:48:42 AM UTCreisigerAttached File-=>Added HttT-The_Elven_Council.gz, #5686
      Attached File-=>Added stderr.zip, #5687
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup