[Wesnoth-bugs] [bug #25332] Texts including alphanumeric or symbol are not displayed in help when language is Japanese or Chinese.

2016-11-21 Thread Wedge009
Follow-up Comment #3, bug #25332 (project wesnoth):

Oh, never mind. Single-line verbatim windows in my browser don't have the
adjustable handle to resize the verbatim section. So I thought the Chinese
text got truncated.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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


[Wesnoth-bugs] [bug #25332] Texts including alphanumeric or symbol are not displayed in help when language is Japanese or Chinese.

2016-11-21 Thread Wedge009
Follow-up Comment #2, bug #25332 (project wesnoth):

Ugh, looks like gna doesn't like non-Latin characters.


20161122 17:13:17 error gui/layout:
pango_text::font::pango_text::set_markup_helper text 'Chinese Chinese
Chinese Chinese Chinese' has broken markup, set to normal text.


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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


[Wesnoth-bugs] [bug #25332] Texts including alphanumeric or symbol are not displayed in help when language is Japanese or Chinese.

2016-11-21 Thread Wedge009
Follow-up Comment #1, bug #25332 (project wesnoth):

Thanks for your input. I don't think the issue - at least in the screenshots
provided - is related to +/- symbols (I only see + signs in the image, not
text). In this case, it looks like it's having trouble rendering the Japanese
text in italics.

Strangely enough, I couldn't even try the Japanese help on either Windows or
Linux because of bug #25334. The Chinese translations - traditional and
simplified - didn't have that gameplay page translated. That it could be due
to the error I saw in the log:


20161122 17:13:17 error gui/layout:
pango_text::font::pango_text::set_markup_helper text '使用编辑器的
文件 菜单来创建一个 新场景 以使用高级特性。'
has broken markup, set to normal text.


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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


[Wesnoth-bugs] [bug #25334] Stack overflow / segmentation fault on viewing Help in Japanese

2016-11-21 Thread Wedge009
Follow-up Comment #1, bug #25334 (project wesnoth):

Forgot to mention this was on both Windows and Linux.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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


[Wesnoth-bugs] [bug #25334] Stack overflow / segmentation fault on viewing Help in Japanese

2016-11-21 Thread Wedge009
URL:
  

 Summary: Stack overflow / segmentation fault on viewing Help
in Japanese
 Project: Battle for Wesnoth
Submitted by: wedge009
Submitted on: Tue 22 Nov 2016 05:50:40 PM AEDT
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Translations
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 1.13.6+dev
Operating System: All

___

Details:

Encountered this while checking bug #25332, I compiled on commit cbf1c50b.

I don't know if this issue happens with other languages - I tried several but
only found this happening on Japanese. To replicate:

1. Start Wesnoth
2. Change language to Japanese (assuming you're not already using it)
3. Open Help.
4. Observe crash.

Stack trace I got from Windows build looks like it's stuck on recursion in
help_text_area::add_text_item():


ntdll.dll!770fdf76()Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]  
[External Code] 
wesnoth.exe!font::word_wrap_text(const
std::basic_string,std::allocator > &
unwrapped_text, int font_size, int max_width, int max_height, int max_lines,
bool partial_line) Line 433 C++
wesnoth.exe!help::split_in_width(const
std::basic_string,std::allocator > & s,
const int font_size, const unsigned int width) Line 1334C++
wesnoth.exe!help::help_text_area::add_text_item(const
std::basic_string,std::allocator > & text,
const std::basic_string,std::allocator > &
ref_dst, bool broken_link, int _font_size, bool bold, bool italic, SDL_Color
text_color) Line 327C++
wesnoth.exe!help::help_text_area::add_text_item(const
std::basic_string,std::allocator > & text,
const std::basic_string,std::allocator > &
ref_dst, bool broken_link, int _font_size, bool bold, bool italic, SDL_Color
text_color) Line 362C++
[repeat another 1836 times...]
wesnoth.exe!help::help_text_area::set_items() Line 150  C++
wesnoth.exe!help::help_text_area::show_topic(const help::topic & t) Line
63  C++
wesnoth.exe!help::help_browser::show_topic(const help::topic & t, bool
save_in_history) Line 213   C++
wesnoth.exe!help::help_browser::show_topic(const
std::basic_string,std::allocator > &
topic_id) Line 188  C++
wesnoth.exe!help::show_help(CVideo & video, const help::section &
toplevel_sec, const
std::basic_string,std::allocator > &
show_topic, int xloc, int yloc) Line 216C++
wesnoth.exe!help::show_help(CVideo & video, const
std::basic_string,std::allocator > &
show_topic, int xloc, int yloc) Line 119C++
wesnoth.exe!gui2::dialogs::title_screen::pre_show::__l2::(gui2::window
& __formal) Line 301C++
[External Code] 
wesnoth.exe!gui2::dialogs::register_button::__l2::(gui2::event::dispatcher
& w, gui2::event::ui_event __formal, bool & __formal, bool & __formal) Line
164 C++
[External Code] 
wesnoth.exe!gui2::event::trigger::operator()(std::function
functor, gui2::event::dispatcher & dispatcher, const gui2::event::ui_event
event, bool & handled, bool & halt) Line 141C++
wesnoth.exe!gui2::event::implementation::fire_event,gui2::event::trigger>(const gui2::event::ui_event event,
std::vector,std::allocator > > & event_chain, gui2::widget * dispatcher,
gui2::widget * w, gui2::event::trigger functor) Line 451C++
wesnoth.exe!gui2::event::fire_event,gui2::event::trigger>(const gui2::event::ui_event event, gui2::widget *
dispatcher, gui2::widget * w, gui2::event::trigger functor) Line 528C++
wesnoth.exe!gui2::event::dispatcher::fire(const gui2::event::ui_event event,
gui2::widget & target) Line 173 C++
wesnoth.exe!gui2::event::mouse_button<7,8,9,10,11,12>::mouse_button_click(gui2::widget
* widget) Line 594  C++
wesnoth.exe!gui2::event::mouse_button<7,8,9,10,11,12>::signal_handler_sdl_button_up(const
gui2::event::ui_event event, bool & handled, const gui2::point & coordinate)
Line 551C++
[External Code] 
wesnoth.exe!gui2::event::trigger_mouse::operator()(std::function functor, gui2::event::dispatcher & dispatcher, const
gui2::event::ui_event event, bool & handled, bool & halt) Line 193  C++
wesnoth.exe!gui2::event::implementation::fire_event,gui2::event::trigger_mouse>(const
gui2::event::ui_event event, std::vector,std::allocator > > & event_chain, gui2::widget * dispatcher,
gui2::widget * w, gui2::event::trigger_mouse functor) Line 451  C++
wesnoth.exe!gui2::event::fire_event,gui2::event::trigger_mouse>(const
gui2::event::ui_event event, gui2::widget * dispatcher, gui2::widget * w,
gui2::event::trigger_mouse functor) Line 528C++
wesnoth.exe!gui2::event::dispatcher::fire(const gui2::event::ui_event event,
gui2::widget & target, const gui2::point & coordinate) Line 203 C++
wesnoth.exe!gui2::e

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

2016-11-21 Thread Wedge009
Update of bug #25322 (project wesnoth):

  Status:None => Confirmed  
Operating System: windows => All

___

Follow-up Comment #1:

This isn't a feature I've really used, though I suppose it is nice to have.
Did we ever have this in 1.13.x and it got lost in the update to gui2? It
doesn't appear to be in 1.12.x, it's only in the side-bar there as well.

I'm inclined to see this more as a feature request than a bug.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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


[Wesnoth-bugs] [bug #25332] Texts including alphanumeric or symbol are not displayed in help when language is Japanese or Chinese.

2016-11-21 Thread Hironori Fujimoto
Additional Item Attachment, bug #25332 (project wesnoth):

File name: help_Japanese.png  Size:572 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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


[Wesnoth-bugs] [bug #25332] Texts including alphanumeric or symbol are not displayed in help when language is Japanese or Chinese.

2016-11-21 Thread Hironori Fujimoto
URL:
  

 Summary: Texts including alphanumeric or symbol are not
displayed in help when language is Japanese or Chinese.
 Project: Battle for Wesnoth
Submitted by: ratarmy
Submitted on: Tue 22 Nov 2016 01:41:39 AM 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+dev
Operating System: Linux

___

Details:

When language is Japanese or Chinese, some texts in help are not displayed.
Those texts always include alphanumeric or symbols(+, -, etc).

Here are the screenshots of a help page to compare English and Japanese.



___

File Attachments:


---
Date: Tue 22 Nov 2016 01:41:39 AM UTC  Name: help_English.png  Size: 568kB  
By: ratarmy



___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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


[Wesnoth-bugs] [bug #24700] Timer settings not remembered on Configure Game screen

2016-11-21 Thread SigurdFireDragon
Follow-up Comment #5, bug #24700 (project wesnoth):

I think the best way to resolve the issue in the OP would be to give the timer
settings memory like other Game Settings entries and have a 'Defaults' button
for the timer group to reset it, like there is for Custom Options under GUI2.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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


[Wesnoth-bugs] [bug #22335] Options collision that prevents values from being initialized as variables

2016-11-21 Thread SigurdFireDragon
Follow-up Comment #3, bug #22335 (project wesnoth):

looks to be fixed, thanks.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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


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

2016-11-21 Thread Daniel
Follow-up Comment #3, bug #25323 (project wesnoth):

Note that you cna temporarily work around this issue by adding 

disable_loadingscreen_animation=yes

to your preferences file.

___

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 #25323] segfault after showing message about errors in an add-on

2016-11-21 Thread Daniel
Follow-up Comment #2, bug #25323 (project wesnoth):

Thx for this additional research.

This is loaginscreen issue, the problem here is that we show another dialog
(somwhere in game_config_manager.cpp) while the loadingscreen is up which
casues threadign issue in the gui2 code, the proper fix is to somehow move the
other dialog ourt of the wokring thread so that the working thread just stores
erros somehwere and then the mainthread shows these erromessages after the
loadingscren was shown.

___

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 #25323] segfault after showing message about errors in an add-on

2016-11-21 Thread Matthias Krüger
Follow-up Comment #1, bug #25323 (project wesnoth):

I can reproduce by corrupting "the north wind" and going into the MP game
dialog.

log attached

(file #29506)
___

Additional Item Attachment:

File name: lobby_crash.logSize:13 KB


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


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