[mythtv-commits] Ticket #2078: Better mythcontrols UI and reorganizes logic

MythTV mythtv at cvs.mythtv.org
Mon Oct 16 20:11:06 UTC 2006


#2078: Better mythcontrols UI and reorganizes logic
-----------------------------+----------------------------------------------
 Reporter:  mfgalizi at uwo.ca  |        Owner:  danielk 
     Type:  enhancement      |       Status:  reopened
 Priority:  minor            |    Milestone:  0.21    
Component:  mythcontrols     |      Version:  head    
 Severity:  low              |   Resolution:          
-----------------------------+----------------------------------------------
Comment (by otto at kolsi dot fi):

 I'm having following problems with SVN 11533:

 When trying to remove e.g. key 'O' / TOGGLEBROWSE from the TV Playback
 context, mythcontrols mixes the context. It shows dialog: "Confirm -
 Delete this key binding from context Music?". If Confirm is selected,
 there's an error about telling that this is mandatory action.

 Following shows this from the DB:

 {{{
 mysql> select context, action, keylist from keybindings where keylist =
 'O';
 +-------------+--------------+---------+
 | context     | action       | keylist |
 +-------------+--------------+---------+
 | TV Frontend | UPCOMING     | O       |
 | TV Playback | TOGGLEBROWSE | O       |
 | Music       | STOP         | O       |
 +-------------+--------------+---------+
 }}}

 If I go to Music, I can delete the 'O' binding from there and it really
 removes the Music binding.

 Even if I add a second key binding to TV Playback, TV Frontend and
 Music, mythcontrols still won't let me delete the 'O' keybinding from
 the TV Playback. It says it's mandatory action.

 {{{
 mysql> select context, action, keylist from keybindings where keylist
 like '%O,%';
 +-------------+--------------+----------+
 | context     | action       | keylist  |
 +-------------+--------------+----------+
 | TV Frontend | UPCOMING     | O,Ctrl+D |
 | TV Playback | TOGGLEBROWSE | O,Ctrl+A |
 | Music       | STOP         | O,Ctrl+D |
 +-------------+--------------+----------+
 }}}

 Just to verify that there are no actions that have only the 'O' mapping,
 which would justify the "mandatory error message":

 {{{
 mysql> select context, action, keylist from keybindings where keylist =
 'O';

 Empty set (0.00 sec)
 }}}

 So it seems to get confused from which context user want's to delete a
 key. And also fails to correctly identify a mandatory action.

 Previous example is not the only one that fails for me, just an example.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2078#comment:7>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list