URL:
<http://gna.org/bugs/?11779>
Summary: Bug with filter + delete savegame
Project: Battle for Wesnoth
Submitted by: alink
Submitted on: Monday 06/02/2008 at 03:42
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: User Interface
Status: None
Privacy: Public
Assigned to: sapient
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.4 and trunk
Operating System: Linux
_______________________________________________________
Details:
After deleting a savegame, if you change the content of the filter, the new
filtered result show the deleted savegame again (if not excluded by the
filter) and all following savegame are shifted compared to what the menu
displays (can be seen by noticing inconsistencies between highlighted item
and left-panel preview, but clicking Ok also load the bad savegame). This
happens if you use filter or not before deleting.
Caused by the fact that the filter cache the initial menu and filter it at
each update (when the textbox change), but this cache is never aware of the
deletion, and so all the index conversion of the filter become badly
shifted.
Example of "real use" problems: I want to delete all "Bad N" savegames, I
filter "Bad", delete them, then I clear the filter to be able to see and
choose my "Good" savegame. All the bad ones come back, and if I click on
"Good" it will load another savegame. Worst case is if I now try to delete
other savegames, I will do unwanted deletions.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11779>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs