Bug 330886 - Scrollbars sometimes appear in combo box popup even when they are not needed
Summary: Scrollbars sometimes appear in combo box popup even when they are not needed
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: Tables (show other bugs)
Version: 2.8 beta2
Platform: unspecified All
: NOR normal
Target Milestone: 2.8
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-07 13:00 UTC by Jarosław Staniek
Modified: 2014-02-20 10:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Scrollbars appear (25.79 KB, image/png)
2014-02-07 13:00 UTC, Jarosław Staniek
Details
Test database (12.00 KB, application/octet-stream)
2014-02-07 13:02 UTC, Jarosław Staniek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jarosław Staniek 2014-02-07 13:00:05 UTC
Even when not needed, scrollbars sometimes appear in combo box popup.

Reproducible: Always

Steps to Reproduce:
1. Open the attached database and g26 table
2. Drop down a combo in column 'person'

Actual Results:  
Scrollbars appear in the combo box popup. See the attached screenshot.

Expected Results:  
Scrollbars should not appear.

The issue may depend on data type and thus specific editor/delegate. This needs to be further analyzed.
Comment 1 Jarosław Staniek 2014-02-07 13:00:48 UTC
Created attachment 85033 [details]
Scrollbars appear
Comment 2 Jarosław Staniek 2014-02-07 13:02:53 UTC
Created attachment 85034 [details]
Test database
Comment 3 Jarosław Staniek 2014-02-20 09:58:21 UTC
Git commit b1b274e7fd79fe13f7cb3cb6bbc9acde023fe904 by Jaroslaw Staniek.
Committed on 07/02/2014 at 13:11.
Pushed by staniek into branch 'calligra/2.8'.

Fix misplaced combobox editor and unnecessary scrollbars

- Misplaced editor in table view's combo box for right alignment
- Scrollbars sometimes appear in combo box popup even when they are not needed
Related: bug 330885
REVIEW:115537

M  +14   -8    kexi/widget/tableview/kexicomboboxtableedit.cpp
M  +23   -21   kexi/widget/tableview/kexiinputtableedit.cpp
M  +1    -0    kexi/widget/tableview/kexiinputtableedit.h
M  +5    -4    kexi/widget/tableview/kexitableedit.cpp
M  +4    -4    kexi/widget/tableview/kexitableview.cpp

http://commits.kde.org/calligra/b1b274e7fd79fe13f7cb3cb6bbc9acde023fe904
Comment 4 Jarosław Staniek 2014-02-20 10:08:48 UTC
Git commit 79193099af0b1c713574a7a4bf8e88ec992822db by Jaroslaw Staniek.
Committed on 07/02/2014 at 13:11.
Pushed by staniek into branch 'master'.

Fix misplaced combobox editor and unnecessary scrollbars

- Misplaced editor in table view's combo box for right alignment
- Scrollbars sometimes appear in combo box popup even when they are not needed
Related: bug 330885

M  +14   -8    kexi/widget/tableview/kexicomboboxtableedit.cpp
M  +23   -21   kexi/widget/tableview/kexiinputtableedit.cpp
M  +1    -0    kexi/widget/tableview/kexiinputtableedit.h
M  +5    -4    kexi/widget/tableview/kexitableedit.cpp
M  +4    -4    kexi/widget/tableview/kexitableview.cpp

http://commits.kde.org/calligra/79193099af0b1c713574a7a4bf8e88ec992822db