[mythtv-commits] Ticket #4132: In some menu's ESCAPE action is not handled appropriately

MythTV mythtv at cvs.mythtv.org
Mon Nov 5 20:30:49 UTC 2007


#4132: In some menu's ESCAPE action is not handled appropriately
---------------------+------------------------------------------------------
 Reporter:  danielk  |       Owner:  danielk
     Type:  patch    |      Status:  new    
 Priority:  minor    |   Milestone:  0.21   
Component:  mythtv   |     Version:  head   
 Severity:  medium   |     Mlocked:  0      
---------------------+------------------------------------------------------
 In a number of MythPopupBox::Show...() dialogs pressing escape
 will act like pressing the first button rather than being processed as a
 Rejected action.

 This is due to a previously applied changeset [14478], which was supposed
 to fix this type of problem for other MythPopupBox based dialogs. It
 changed the reject action that MythDialog inherited dialogs used from -1
 to 0, to match the reject action of QDialog. Before this change sometimes
 the QDialog reject of 0 was returned, and sometimes the MythTV reject
 value of -1 was returned which caused this type of aliasing for other
 dialogs. Unfortunately I missed a whole set of dialogs using the
 defaultButtonPressedHandler() in that changeset.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4132>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list