REPRODUCIBILITY: 100%
OS VERSION: 4.4.0.72 (but likely all)
HARDWARE: n/a
UI LANGUAGE: n/a
REGRESSION: no
DESCRIPTION:
Sailfish Silica provides ListItem and GridItem QML types, intended to be use as delegates in SilicaListView and SilicaGridView types, respectively.
ListItem exposes a hidden property, which allows delegates to not be displayed in a View, while their data remains in the model. This is very useful.
GridItem is very similar in purpose, but does not have a hidden property.
PRECONDITIONS:
none
STEPS TO REPRODUCE:
- Write some kind of Silica-based application
- Use
SilicaListViewandListItemto show some elements in the UI - Use
ListItem::hiddento hide some of those elements - Make a UI design decision to switch from a
ListViewto aGridView - Find that it’s not as simple as changing the delegate type, as
hiddenis not available any more.
EXPECTED RESULT:
Similar/equivalent/compatible features of
SilicaListView + ListItem, and SilicaGridView + GridItem QML types.
ACTUAL RESULT:
n/a
MODIFICATIONS:
n/a
ADDITIONAL INFORMATION:
I realize that this may be considered a Feature Request rather than a bug, but I think my expectation of these type pairs to be compatible/exchangeable is reasonable in the light of the use case described under “Steps”.