Bug 345350 - Combo-box on form does not display last of related records from linked table
Summary: Combo-box on form does not display last of related records from linked table
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: Forms (show other bugs)
Version: 2.9.1
Platform: Mint (Ubuntu based) Linux
: NOR major
Target Milestone: 2.9.2
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-20 07:24 UTC by Ian Balchin
Modified: 2015-03-27 00:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.9.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.