Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #782349

Qt-client: assertion '((void *)0) != theme_name && theme_name[0] != '\0'' failed.

Added by Marko Lindqvist almost 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
gui-qt
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I run S2_6 Qt-client, noticed that there was no theming (assumed it to be related to the fact that I run directly from build directory (that is not same as source directory)) and played with tileset options. Afterwards I found from the console:

1: in theme_reread_callback() [../../../src/client/themes_common.c::141]: assertion '((void *)0) != theme_name && theme_name0 != '\0'' failed.


Related issues

Related to Freeciv - Bug #853130: Qt client configuration can end up with illegal theme "Freeciv", leading to display problemsClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Marko Lindqvist almost 3 years ago

It's because there's no suitable themes found at all. qtg_get_gui_specific_themes_directories() returns just one directory, and it's probably ./data in the build directory. Autotools creates (empty) themes/gui-qt directory hierarchy there, so to qtg_get_gui_specific_themes_directories() it looks like the directory to use.

#2 Updated by Marko Lindqvist almost 3 years ago

  • Category set to gui-qt
  • Status changed from New to In Progress
  • Sprint/Milestone set to 2.6.1

#4 Updated by Marko Lindqvist over 2 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

#5 Updated by Jacob Nevins over 1 year ago

  • Related to Bug #853130: Qt client configuration can end up with illegal theme "Freeciv", leading to display problems added

Also available in: Atom PDF