qutebrowser/tests/unit/completion
Ryan Roden-Corrent c6cb6ccd07 Fix fetch/delete sql category bug.
Fixes #2868, where pressing <shift-tab> then <ctrl-d> in history
completion (with > 256 items) would cause later items to disappear (and
cause a crash if you try to delete again).

Cause:
Scrolling to the bottom would fetch an additional 256 items (in addition
to the 256 that are fetched at first). Deleting causes the query to
re-run, but it only fetches the initial 256 items, so the current index
is now invalid.

Fix:
After deleting from the history category, call fetchMore until it has
enough rows populated that the current index is valid.
2017-07-28 09:07:30 -04:00
..
test_completer.py Don't regenerate completion model needlessly. 2017-06-19 07:44:11 -04:00
test_completionmodel.py Fix completion-item-del on undeletable item. 2017-07-22 17:16:35 -04:00
test_completionwidget.py Merge pull request #2853 from rcorre/fix-completionview 2017-07-27 12:31:01 +02:00
test_histcategory.py Fix fetch/delete sql category bug. 2017-07-28 09:07:30 -04:00
test_listcategory.py Fix unused imports and removeRow override. 2017-07-23 17:30:09 -04:00
test_models.py Fix bind completion for bindings with arguments. 2017-07-25 12:55:44 -04:00