GNOME Bugzilla – Bug 362120
Query reset after removing images
Last modified: 2006-11-10 14:02:13 UTC
Please describe the problem: Forwarding from https://launchpad.net/distros/ubuntu/+source/f-spot/+bug/66077 and confirmed to exist in 0.2.2 on IRC "When I am working on my new (thus untagged) photo's, and deleting these, f-spot goes back to the 'total' gallery of all photo's, instead of staying with the untagged ones. This is very anoying, for everytime I delete photo's from this section, I have to search again for untagged photo's. VERY anooying bug this is." Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
probably happens because the untagged state isn't persisting properly. I'll try to look into it soon.
*** Bug 373070 has been marked as a duplicate of this bug. ***
Changing title...
This code snippet solve this bug diff -r1.325 MainWindow.cs 2569c2569,2574 < query.Tags = null; --- > if (query.Untagged) { > query.Tags = null; > query.Untagged = true; > } else > query.Tags = null; > but I'll look further, I'm not sure that's the better way to fix that...
Created attachment 76327 [details] [review] Here's the proper fix That's the right way to fix it (and probably other strange things with queries in the future)