qutebrowser/tests/unit
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
..
browser Merge pull request #2295 from rcorre/really_complete 2017-07-21 15:05:43 +02:00
commands Merge different FakeTabbedBrowser objects 2017-06-20 15:19:53 +02:00
completion Fix fetch/delete sql category bug. 2017-07-28 09:07:30 -04:00
config Release v0.11.0 2017-07-04 18:02:34 +02:00
javascript Finally update copyrights... 2017-05-09 21:37:03 +02:00
keyinput tests: Use match= for pytest.raises 2017-05-23 09:36:00 +02:00
mainwindow Improve test for messageview timeout 2017-07-11 09:25:53 +02:00
misc Fix tests for QProcess changes 2017-07-23 22:10:50 +02:00
scripts Finally update copyrights... 2017-05-09 21:37:03 +02:00
utils Use ctypes instead of PyOpenGL for QtWebEngine Nvidia workaround 2017-07-27 09:22:12 +02:00
test_app.py Finally update copyrights... 2017-05-09 21:37:03 +02:00