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
SilicaListView
andListItem
to show some elements in the UI - Use
ListItem::hidden
to hide some of those elements - Make a UI design decision to switch from a
ListView
to aGridView
- Find that it’s not as simple as changing the delegate type, as
hidden
is 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”.