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 #850290

Qt client will only load new themes from the same directory as its startup theme

Added by Jacob Nevins almost 2 years ago. Updated almost 2 years ago.

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

0%

Estimated time:

Description

qtg_gui_load_theme() caches its 'directory' parameter the first time it's called. On the second and subsequent times, it ignores 'directory' in favour of its cached real_data_dir.

The fix for bug #782349 arranged for all theme directories to be searched, but if more than one of them actually contains themes, then a user selecting a theme from a different directory than the starting theme will meet failure. (A segfault, in my case, which I didn't diagnose.)

m-30-qt-theme-cache.patch (1.95 KB) m-30-qt-theme-cache.patch Jacob Nevins, 2019-12-01 05:06 AM
26-qt-theme-cache.patch (1.88 KB) 26-qt-theme-cache.patch Jacob Nevins, 2019-12-01 05:07 AM

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 Jacob Nevins almost 2 years ago

#2 Updated by Jacob Nevins almost 2 years ago

  • Status changed from Resolved to Closed

#3 Updated by Jacob Nevins almost 2 years 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