bugBattle for Wesnoth - Bugs: bug #22263, inspect doesnt show variables if...

 
 
Show feedback again

bug #22263: inspect doesnt show variables if first is empty

Submitted by:  Daniel <gfgtdf>
Submitted on:  Thu Jul 3 00:52:16 2014  
 
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: User Interface
Status: FixedPrivacy: Public
Assigned to: Ignacio R. Morelle <shadowmaster>Open/Closed: Closed
Release: 1.13.0-devOperating System: win7

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue Oct 20 19:20:17 2015, comment #2:

I may have accidentally fixed this with commit 019d829b4145fa3b02f69015290154df54065075. I had no idea this bug existed, but even then the fact that other non-empty entries weren't displayed sounds concerning.

Ignacio R. Morelle <shadowmaster>
Project AdministratorIn charge of this item.
Tue Oct 20 12:02:24 2015, comment #1:

Does this still happen? I followed your instructions in 1.13.1+dev and the remaining variables were non-empty in the inspector. Might it be specific to the scenario or save game?

Wedge009 <wedge009>
Project Member
Thu Jul 3 00:52:16 2014, original submission:

ye if the first variable in the list is empty the others aren't shown neigher.

to reproduce:
start any scenario and use
:debug
then
:lua wesnoth.set_variable("_a","")
and then (i assume there is no variable in the scenario with a more top name)
:inspect
you will see no content of _a which is normal since its empty, but you also won't see the contents of other variables.

if you change it to 'unit' and then back to 'variables' you'll also get a warning:
error gui/general: vertical_scrollbar [_vertical_scrollbar] gui2::tscrollbar_::recalculate: Can't recalculate size, force a window layout phase.

Daniel <gfgtdf>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by vultraz (Updated the item)
  • -unavailable- added by shadowmaster (Posted a comment)
  • -unavailable- added by wedge009 (Posted a comment)
  • -unavailable- added by gfgtdf (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Feb 23 14:50:56 2016vultrazStatusNone=>Fixed
      Assigned toNone=>shadowmaster
      Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup