2011-09-04, 11:24
I need some help in figuring this out. This is my window menu, options menu, or whatever it should be called.
A problem was reported about navigating this menu.
Whenever "Sort by" and "Ascending/descending" are not enabled (like in recently added episodes), the selection doesn't move from "choose viewtype" to the next enabled entry, which would be the "hide watched/show all" button.
It doesn't skip over the two disabled options so to speak.
When only "Sort by" is disabled it does skip over that one and goes to "Ascending/descending"
This has worked as expected before and this code has been largely untouched for quite a while.
When I give an ID to the groupcontrol that contains the buttons to select viewtypes, the selection does move over the disabled buttons. However that results in unwanted behavior.
The strange thing is that while trying to troubleshoot this, I often find that when reloading the skin the "ascending/descending" button gets enabled all of a sudden even though it should not be available here. When I hit that button XBMC hangs for a while until eventually I'm able to return to the container with nothing changed in the sorting order.
So it seems like the problem is caused by the status of availability for that button being unclear? Skinning wise I just can't really find a cause for this, and like I said this has been working fine before.
A problem was reported about navigating this menu.
Whenever "Sort by" and "Ascending/descending" are not enabled (like in recently added episodes), the selection doesn't move from "choose viewtype" to the next enabled entry, which would be the "hide watched/show all" button.
It doesn't skip over the two disabled options so to speak.
When only "Sort by" is disabled it does skip over that one and goes to "Ascending/descending"
This has worked as expected before and this code has been largely untouched for quite a while.
When I give an ID to the groupcontrol that contains the buttons to select viewtypes, the selection does move over the disabled buttons. However that results in unwanted behavior.
The strange thing is that while trying to troubleshoot this, I often find that when reloading the skin the "ascending/descending" button gets enabled all of a sudden even though it should not be available here. When I hit that button XBMC hangs for a while until eventually I'm able to return to the container with nothing changed in the sorting order.
So it seems like the problem is caused by the status of availability for that button being unclear? Skinning wise I just can't really find a cause for this, and like I said this has been working fine before.