Opened 17 years ago
Closed 17 years ago
#6873 closed patch (fixed)
Assert failure caused by MythUIButtonTree
| Reported by: | Owned by: | stuartm | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.22 |
| Component: | MythTV - User Interface Library | Version: | head |
| Severity: | medium | Keywords: | MythUI Crash |
| Cc: | Ticket locked: | no |
Description
The frontend crashes for me when traversing a button tree to a leaf node on the right. I experienced the crash in the MythGame plugin.
It appears to be an index off-by-one error introduced in [18256].
I think the patch is self explanatory in terms of fixing the off-by-one error. I think it also maintains the expected logic of the button tree, but I'm not that familiar with the code or the button tree.
Attachments (2)
Change History (5)
by , 17 years ago
| Attachment: | buttontree.backtrace added |
|---|
by , 17 years ago
| Attachment: | buttontree.patch added |
|---|
patch to fix the of-by-one error in the button tree.
comment:1 by , 17 years ago
| Status: | new → accepted |
|---|
comment:2 by , 17 years ago
I also just realized that this error is only repeatable for me in MythGame when I'm using the MythCenter non-wide screen where there are only two columns of the tree visible. With the wide theme there are three columns and the error doesn't occur.

Backtrace of the button tree failure.