Opened 15 years ago

Closed 14 years ago

#3570 closed defect (fixed)

libmythui: allow horizlistbuttonlist to inherit a buttonlist xml definition. causes a crash for me.

Reported by: skamithi Owned by: stuartm
Priority: trivial Milestone: 0.21
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no


If I define the following:

<buttonlist name="commonelements">

<horizontalbuttonlist name="ok_cancel_buttons" from="commonelements">
</horizontalbuttonlist> crashes. if I specify commonelement tag as a horiztontalbuttonlist, it works.

patch attach to resolve this for me.

Attachments (1)

allow_horizbuttonlist_to_use_buttonlist_xml_tag.diff (1.5 KB) - added by skamithi 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by skamithi

comment:1 Changed 14 years ago by stuartm

Owner: changed from Isaac Richards to stuartm
Priority: minortrivial
Severity: mediumlow
Status: newassigned
Version: unknownhead

comment:2 Changed 14 years ago by stuartm

Status: assignedaccepted

Just so you know what I intend to do with this issue, I want to combine the horizontal button list with the vertical one which solves the issue of inheritance and gives us a more flexible widget. I also plan a grid layout.


<buttonlist name="commonelements">



<buttonlist name="ok_cancel_buttons" from="commonelements">

<area>50,500,500,100</area> <items>2</items> <orientation>horizontal</orientation>


This would give us huge flexibility when theming. The buttonlist widget could then be used to replace the listarea widget, the main menus, the popup menus, the mythvideo/mythgallery gallery widget and with some imagination and transition effect it would permit apple style albumart browsing.

comment:3 Changed 14 years ago by stuartm

Milestone: unknown0.21
Resolution: fixed
Status: acceptedclosed

Fixed by [15721]

Note: See TracTickets for help on using tickets.