[mythtv] [mythtv-commits] Ticket #10045: Prevent looping in button list when less than three buttons

Dan Wilga mythtv-dev2 at dwilga-linux1.amherst.edu
Mon Sep 19 14:12:20 UTC 2011


On 9/18/11 11:10 AM, Xavier Hervy wrote:
> On 18/09/11 15:42, John P Poet wrote:
>    
>> Would it not be better just to "fix" the offending themes, so it is
>> obvious which button is selected?
>>
>>
>> John
>>      
> The problem does not come from the theme but from my brain :(
> The themes show a difference between the selected button and the others
> but If there is only two buttons on the list, I have to remember that
> the grey text it the selected one and the white one is not selected
> (default theme).
> When there is more than two buttons, I know that only one have the
> focus, so that ok.
> With only two, there is no need to loop anyway so...
> Regards,
> Xavier
>    
Having run into this a few times, myself, I agree with Xavier. If his 
change is applied, it will always be possible to ensure which button has 
focus, by pressing a key.

For example, if I want to choose the second button in a list of two, I 
just have to press Down. If the first button had focus, the second then 
gets it. If the second already had focus, it keeps it.

Without this patch, pressing Down always toggles the states of both 
buttons, and it's not obvious which has focus.

-- 
Dan Wilga                                                        "Ook."



More information about the mythtv-dev mailing list