Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007059 [DCSS] Bug Report trivial have not tried 2013-05-19 03:23 2014-09-12 22:48
Reporter raskol View Status public  
Assigned To neil
Priority normal Resolution done  
Status resolved   Product Branch 0.12 ancient branch
Summary 0007059: Changing sort type twice swaps item positions in list
Description Summary is bad so I will try to make this clear and specific. In this savegame: [^]

Search for "elven." It defaults to "stacks by dist" (for me). j is [Temple] a +0 elven ring mail and k is [D:5] a +0 elven ring mail. Now hit - to change sort type to "items by dist." k and j swap. Hit - twice more and they swap back. So j and k are different even under the same search type.

I assume they're equidistant or equal in whatever way crawl sorts search results. I feel like some sort of order-preserving property would be desirable but I'm still marking this trivial.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
neil (administrator)
2014-09-12 22:48

Fixed in trunk (0.16-a0-390-gb1c4911), thanks! Now we use a stable sort.

- Issue History
Date Modified Username Field Change
2013-05-19 03:23 raskol New Issue
2014-09-12 22:48 neil Note Added: 0027219
2014-09-12 22:48 neil Status new => resolved
2014-09-12 22:48 neil Fixed in Branch => 0.16 development branch
2014-09-12 22:48 neil Resolution open => done
2014-09-12 22:48 neil Assigned To => neil

Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker