Bug 345350

Summary: Combo-box on form does not display last of related records from linked table
Product: [Applications] KEXI Reporter: Ian Balchin <inksi>
Component: FormsAssignee: Jarosław Staniek <staniek>
Status: CLOSED FIXED    
Severity: major CC: adam, inksi, staniek
Priority: NOR    
Version: 2.9.1   
Target Milestone: 2.9.2   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In: 2.9.2
Sentry Crash Report:

Description Ian Balchin 2015-03-20 07:24:36 UTC
ie. if you have 5 records in the table, the combo-box will display only 4, if you have six records then it will display only 5, and so on.

Reproducible: Always

Steps to Reproduce:
1. Create combo-box linked to populated table
2. Click on combo-box to display table items for selection
3. Count the number of displayed items

Actual Results:  
The combo-box listing will not show the last record of the linked table. ie. the number of displayed records will be one less than the number of items in the linked table.

Expected Results:  
That all records will be shown.

Arrowing down will enable you to select the item which is not displayed, which is in fact displayed as a blank line.
Comment 1 Jarosław Staniek 2015-03-27 00:18:56 UTC
Git commit f05204fde1669ed241ee64d9f5ac278e13a64e25 by Jaroslaw Staniek.
Committed on 27/03/2015 at 00:11.
Pushed by staniek into branch 'calligra/2.9'.

Fix displaying records in data aware combo boxes

(there's still work to do: keyboard navigation, better geometry)
FIXED-IN:2.9.2

M  +4    -4    kexi/widget/tableview/kexicomboboxpopup.cpp

http://commits.kde.org/calligra/f05204fde1669ed241ee64d9f5ac278e13a64e25
Comment 2 Jarosław Staniek 2015-03-27 00:21:22 UTC
I hope it's better now in all cases. More work needed as mentioned above.