[Wesnoth-bugs] [bug #25323] segfault after showing message about errors in an add-on

2016-11-20 Thread Severin Glöckner
URL:
  

 Summary: segfault after showing message about errors in an
add-on
 Project: Battle for Wesnoth
Submitted by: shiki
Submitted on: Mon 21 Nov 2016 04:07:04 AM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group:  None of the others
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 1.13.6+dev
Operating System: Archlinux

___

Details:

I tried using sth like in an addon

#ifver <=1.13.4
small_profile="portraits/vampires/noble.png~SCALE(205,205)"
#endif

which should be #ifver WESNOTH_VERSION <=1.13.4


However, wesnoth did segfault after drooping the usual errormessage which gets
show for add-ons with broken WML.


Stack trace of thread 13764:
#0  0x0064 n/a (n/a)


(gdb) backtrace 
#0  0x0064 in  ()
#1  0x005b0be2 in gui2::widget::populate_dirty_list(gui2::window&,
std::vector >&)
(this=0x7f863c4521c0, caller=..., call_stack=std::vector of length 6, capacity
10 = {...}) at src/gui/widgets/widget.cpp:400
#2  0x0051e589 in gui2::grid::child_populate_dirty_list(gui2::window&,
std::vector > const&)
(this=0x7f863c2909d0, caller=..., call_stack=std::vector of length 5, capacity
8 = {...}) at src/gui/widgets/grid.cpp:603
#3  0x005b0be2 in gui2::widget::populate_dirty_list(gui2::window&,
std::vector >&)
(this=0x7f863c2909d0, caller=..., call_stack=std::vector of length 5, capacity
8 = {...}) at src/gui/widgets/widget.cpp:400
#4  0x0051e589 in gui2::grid::child_populate_dirty_list(gui2::window&,
std::vector > const&)
(this=0x7f863c3efc80, caller=..., call_stack=std::vector of length 4, capacity
6 = {...}) at src/gui/widgets/grid.cpp:603
#5  0x005b0be2 in gui2::widget::populate_dirty_list(gui2::window&,
std::vector >&)
(this=0x7f863c3efc80, caller=..., call_stack=std::vector of length 4, capacity
6 = {...}) at src/gui/widgets/widget.cpp:400
#6  0x00565a97 in
gui2::scrollbar_container::child_populate_dirty_list(gui2::window&,
std::vector > const&)
(this=0x7f863c02b890, caller=..., call_stack=std::vector of length 3, capacity
4 = {...})
at src/gui/widgets/scrollbar_container.cpp:870
#7  0x005b0be2 in gui2::widget::populate_dirty_list(gui2::window&,
std::vector >&)
(this=0x7f863c02b890, caller=..., call_stack=std::vector of length 3, capacity
4 = {...}) at src/gui/widgets/widget.cpp:400
#8  0x0051e589 in gui2::grid::child_populate_dirty_list(gui2::window&,
std::vector > const&)
(this=0x7f863c263900, caller=..., call_stack=std::vector of length 2, capacity
2 = {...}) at src/gui/widgets/grid.cpp:603
#9  0x005b0be2 in gui2::widget::populate_dirty_list(gui2::window&,
std::vector >&)
(this=0x7f863c263900, caller=..., call_stack=std::vector of length 2, capacity
2 = {...}) at src/gui/widgets/widget.cpp:400
#10 0x00a9f3e6 in
gui2::container_base::child_populate_dirty_list(gui2::window&,
std::vector > const&)
(this=0x7f863c2635d0, caller=..., call_stack=std::vector of length 1, capacity
1 = {...})
at src/gui/widgets/container_base.cpp:160
#11 0x005b0be2 in gui2::widget::populate_dirty_list(gui2::window&,
std::vector >&)
(this=0x7f863c2635d0, caller=..., call_stack=std::vector of length 1, capacity
1 = {...}) at src/gui/widgets/widget.cpp:400
#12 0x005b56b6 in gui2::window::draw() (this=0x7f863c2635d0) at
src/gui/widgets/window.cpp:864
#13 0x005c6da4 in std::__invoke_impl(std::__invoke_memfun_deref, void (gui2::window::*
const&)(), gui2::window*&) (__f=@0x722a690: (void
(gui2::window::*)(gui2::window * const)) 0x5b4db8 ,
__t=@0x722a6a0: 0x7f863c2635d0) at /usr/include/c++/6.2.1/functional:235
#14 0x005c61d6 in std::__invoke(void (gui2::window::* const&)(), gui2::window*&)
(__fn=@0x722a690: (void (gui2::window::*)(gui2::window * const)) 0x5b4db8
, __args#0=@0x722a6a0: 0x7f863c2635d0)
at /usr/include/c++/6.2.1/functional:260
#15 0x005c56b0 in std::_Mem_fn_base::operator()(gui2::window*&) const (this=0x722a690,
__args#0=@0x722a6a0: 0x7f863c2635d0) at 

[Wesnoth-bugs] [bug #25317] Add a lua interface for the unit preview panel dialog.

2016-11-20 Thread Daniel
Update of bug #25317 (project wesnoth):

  Status:None => Fixed  
 Open/Closed:Open => Closed 

___

Follow-up Comment #1:

already impleented in
https://github.com/wesnoth/wesnoth/commit/144ce315c3ab8e61c7e31ea99f080530b2def1fd.
Dont know why i didnt see this when i looked at that file befor opening this
bugrequest.

___

Reply to this item at:

  

___
  Nachricht gesendet von/durch Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25322] movement/resistance tooltips missing in unit preview panel widget

2016-11-20 Thread Daniel
URL:
  

 Summary: movement/resistance tooltips missing in unit preview
panel widget
 Project: Battle for Wesnoth
Submitted by: gfgtdf
Submitted on: So 20 Nov 2016 16:34:25 UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: User Interface
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 1.13.6
Operating System: windows

___

Details:

the recruit/recall dialogs doesn't have toolips that show the units movement
costs and resistance like the rigth side panel has.




___

Reply to this item at:

  

___
  Nachricht gesendet von/durch Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs