OptionSelector and ItemSelector are basically the same component

Bug #1248136 reported by Tim Peeters
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Confirmed
Low
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

They do not only have the same API, but also duplicate a lot of implementation. A single component that handles both cases, or an additional (possibly internal) component that contains the shared code would be preferred.

Revision history for this message
Tim Peeters (tpeeters) wrote :

There are more differences. Internally, the ItemSelector uses a ListItem.Standard in a few places where the OptionSelector uses StyledItem. This also needs to be evaluated.

Changed in ubuntu-ui-toolkit:
status: New → Confirmed
importance: Undecided → Low
description: updated
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.