[ListItems] too many different ListItems that are not flexible enough
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Ubuntu UI Toolkit |
Fix Committed
|
Wishlist
|
Zsombor Egri | |
| ubuntu-ui-toolkit (Ubuntu) |
Wishlist
|
Zsombor Egri | ||
| Vivid |
Undecided
|
Unassigned | ||
| ubuntu-ui-toolkit (Ubuntu RTM) |
Undecided
|
Unassigned |
Bug Description
Feedback from Michael Zanetti:
"Maybe I just missed the one i wanted. But in general I have the feeling there are to many different ones and they are not flexible enough.
For example I have one ListView which I use for different models. The delegates always have an image and a label, sometimes also a subtitle. Using only the available Delegates I could use either a single line delegate or a two line delegate. Using the two line delegate doesn't center the text vertically if the model doesn't provide a subtitle."
Related branches
- PS Jenkins bot: Approve (continuous-integration) on 2014-12-03
- Tim Peeters: Approve on 2014-12-02
-
Diff: 4615 lines (+4323/-22)35 files modifiedcomponents.api (+57/-0)
documentation/overview.qdoc (+5/-0)
modules/Ubuntu/Components/Themes/Ambiance/ListItemPanel.qml (+180/-0)
modules/Ubuntu/Components/Themes/Ambiance/ListItemStyle.qml (+36/-0)
modules/Ubuntu/Components/Themes/Ambiance/qmldir (+4/-0)
modules/Ubuntu/Components/plugin/plugin.cpp (+13/-0)
modules/Ubuntu/Components/plugin/plugin.pro (+14/-2)
modules/Ubuntu/Components/plugin/propertychange_p.cpp (+76/-0)
modules/Ubuntu/Components/plugin/propertychange_p.h (+39/-0)
modules/Ubuntu/Components/plugin/quickutils.cpp (+23/-0)
modules/Ubuntu/Components/plugin/quickutils.h (+1/-0)
modules/Ubuntu/Components/plugin/ucaction.h (+2/-0)
modules/Ubuntu/Components/plugin/uclistitem.cpp (+1260/-0)
modules/Ubuntu/Components/plugin/uclistitem.h (+126/-0)
modules/Ubuntu/Components/plugin/uclistitem_p.h (+202/-0)
modules/Ubuntu/Components/plugin/uclistitemactions.cpp (+541/-0)
modules/Ubuntu/Components/plugin/uclistitemactions.h (+113/-0)
modules/Ubuntu/Components/plugin/uclistitemactions_p.h (+61/-0)
modules/Ubuntu/Components/plugin/uclistitemactionsattached.cpp (+247/-0)
modules/Ubuntu/Components/plugin/uclistitemattached.cpp (+207/-0)
modules/Ubuntu/Components/plugin/uclistitemstyle.cpp (+70/-0)
modules/Ubuntu/Components/plugin/uclistitemstyle.h (+53/-0)
modules/Ubuntu/Components/plugin/ucstyleditembase.cpp (+2/-4)
modules/Ubuntu/Test/UbuntuTestCase.qml (+3/-6)
tests/qmlapicheck.sh (+1/-1)
tests/resources/listitems/ListItemTest.qml (+201/-0)
tests/unit/tst_performance/ItemList.qml (+30/-0)
tests/unit/tst_performance/ListItemList.qml (+30/-0)
tests/unit/tst_performance/ListItemWithActionsList.qml (+43/-0)
tests/unit/tst_performance/ListItemWithInlineActionsList.qml (+41/-0)
tests/unit/tst_performance/ListItemsBaseList.qml (+29/-0)
tests/unit/tst_performance/ListItemsEmptyList.qml (+29/-0)
tests/unit/tst_performance/tst_performance.cpp (+7/-8)
tests/unit/tst_performance/tst_performance.pro (+7/-1)
tests/unit_x11/tst_components/tst_listitem.qml (+570/-0)
summary: |
- [ListItems] too many different ones that are not flexible enough + [ListItems] too many different ListItems that are not flexible enough |
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Tim Peeters (tpeeters) |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
information type: | Private → Public |
Changed in ubuntu-ui-toolkit: | |
assignee: | Tim Peeters (tpeeters) → nobody |
Zsombor Egri (zsombi) wrote : | #1 |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
assignee: | nobody → Zsombor Egri (zsombi) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | Undecided → Wishlist |
status: | New → In Progress |
PS Jenkins bot (ps-jenkins) wrote : | #2 |
Fix committed into lp:ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown
Changed in ubuntu-ui-toolkit: | |
status: | In Progress → Fix Committed |
Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package ubuntu-ui-toolkit - 1.1.1364+
---------------
ubuntu-ui-toolkit (1.1.1364+
[ Zsombor Egri ]
* Theming fixes: application theming, binding loop fix, auto-theming
moved into MainView and it is applicable only on Ambiance and
SuruDark, SuruGradient is no longer auto-themed.
Fixes: LP: #1213043, LP: #1277647, LP: #1330510, LP: #1356779,
LP: #1389792.
* ServiceProperties component to Ubuntu.Components 1.1.
Fixes: LP: #1391877.
* New ListItem component base. Support for leading/trailing actions.
Exported in Ubuntu.Components 1.2 UNSTABLE release.
Fixes: LP: #1097728, LP: #1372592, LP: #1383870.
* removing failing ServiceProperties and app-theming branches
* Application theming ant other theming related binding loop fixes
* ServiceProperties DBus property watcher
[ Christian Dywan ]
* Do the default theme check properly: for non-debug and without
build errors.
* Don't activate the control in ListItem.Standard implicitly.
Fixes: LP: #1372563.
* Improve AutoPilot caret dragging test cases.
* Use new qt_gl_set_
Fixes: LP: #1397979.
* Add sortCaseSensitivity to the SortFilterModel example.
Fixes: LP: #1391034.
* Change offending links into bold font. Fixes: LP: #1395011.
[ Daniel d'Andrada ]
* This is needed by unity8 for the "shell rotation" feature (ie
shell does all the rotation work instead of apps rotating
themselves). unity8's dialogs (like the power dialog when you
long press the power button) should follow its parent item
rotation and size, as one would expect, and not be sneakily
reparented to the scene root item, in which case the shell
UI would be rotated but its dialog would not.
Related bug LP: #1394511. Fixes: LP: #1394511.
[ Tim Peeters ]
* Remove the old header separator style. Fixes: LP: #1372590.
[ Loïc Molinari ]
* Made the UCAlarmPrivate destructor private.
[ Ubuntu daily release ]
* New rebuild forced
-- Ubuntu daily release <email address hidden> Tue, 09 Dec 2014 11:47:33 +0000
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu Vivid): | |
status: | New → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
status: | New → Fix Released |
The new ListItem will solve this for you, but you will have to build the layout yourself. The good thing is that you will be able to optimise the layout.