andialbrecht / crunchyfrog

Head over to RunSQLRun, the successor of CrunchyFrog
http://runsqlrun.org
GNU General Public License v3.0
5 stars 2 forks source link

Strange behaviour of Context-List when pressing Auto-Complete #91

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect to a database with many Tables
2. Type "select * from X" where X is a string that many tables in your database 
start with
3. Press shortcut for auto-complete
--> A list of matching items will appear. (For reproducing this issue the list 
must be long enough to have a scrollbar)
4. Press POS1 or END
--> Nothing happens (would be cool! Probably a feature request)
5. Press PAGEUP or PAGEDOWN
--> Cursor jumps for first / last element of the actually shown elements, not 
of whole list (is this by design?)
6. Use DOWNARROW to scroll through whole list. 
--> After the last element the selection disappears (i guess the first element 
is selected, but not shown)
7. Hit DOWNARROW once more
--> The SECOND element is shown and selected (hece the guess that the first 
element was selected before)

What is the expected output? What do you see instead?
1. POS1 / END should jump to first / last element on list
2. PAGEUP / PAGEDOWN should jump over X items (probably as much as the list 
currently shows - so: jump to the next page)
3. When scrolling over the last item via DOWNARROW the first item should be 
shown when selected
4. When scrolling over the last item via DOWNARROW and thus jumping to the 
first item it should be possible to jump back to the last item via UPARROW

What version of the product are you using? On what operating system? Python
version?

Crunchyfrog 0.4.2-dev
Python2.6
Ubuntu 10.04

Original issue reported on code.google.com by martin.b...@gmail.com on 24 Jun 2010 at 10:42

GoogleCodeExporter commented 9 years ago

Original comment by albrecht.andi on 24 Jun 2010 at 10:42