bugbash / selenium-kiwix

Selenium Kiwix Bug Bash
MIT License
4 stars 9 forks source link

Search suggestion contains duplicates #32

Closed vinithrasp closed 10 years ago

vinithrasp commented 10 years ago

Steps to reproduce:

  1. Open the zim file - wikipedia_en_ray_charles_03_2013.zim in Kiwix 0.9
  2. Confirm generation of Index
  3. In the Search box, Start typing 'Sou'

The following options starting with 'Soul' get displayed Soul Brothers Soul Meeting Soul Brothers Soul Meeting Containing Sou

Actual output: Soul Brothers Soul Meeting Soul Brothers Soul Meeting The above is repeated twice which is duplication of suggestion

Expected: Soul Brothers Soul Meeting

The search suggestion should contain unique entries.

rashiq commented 10 years ago

This is weird. On Android I'm getting the expected output screenshot_2014-09-05-14-02-42

This shouldn't be different across the platforms since the search is backed by the same zim library. @kelson42 can you take a look at that please?

kelson42 commented 10 years ago

@vinithrasp What is the version you are testing with?

This seems to have been fixed in 0.9 final, see the Changelog: http://sourceforge.net/p/kiwix/kiwix/ci/master/tree/CHANGELOG

vinithrasp commented 10 years ago

@kelson42, @Rashiq ,

I am still able to reproduce this issue on version 0.9. The search text should be 'Sou' case sensitive to reproduce the issue. I see that you have tried 'sou' as the search text.

rashiq commented 10 years ago

@vinithrasp just tried "Sou" as well (and I'm getting the expected output), maybe it's because the Android version doesn't have a full index yet (and thus the search works a bit differently).

vinithrasp commented 10 years ago

search_duplicates_bug

vinithrasp commented 10 years ago

Environment: OS: Win 7 64-bit

kelson42 commented 10 years ago

Thx you for your bug report. This is now fixed. screenshot from 2014-09-19 21 59 55