Modify

Ticket #5444 (closed patch: fixed)

Opened 4 years ago

Last modified 4 years ago

Segfault in Mythappearance on key press

Reported by: Mike Rice <mikerice1969@…> Owned by: ijr
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Using SVN trunk 17456.

Pressing a key after entering the wizard segfaults here:

bool MythAppearance::keyPressEvent(QKeyEvent *event) {

if (GetFocusWidget?()->keyPressEvent(event))

return true;

as GetFocusWidget?() is returning NULL.

This is apparently because SetFocusWidget? is not called for the MythAppearance? object. Not sure what the desired fix might be but I added a SetFocusWidget?() call.

It also looks like there are duplicate lines setting m_offsets and m_changeamount. Patch attached.

Attachments

mythapp.patch (864 bytes) - added by Mike Rice <mikerice1969@…> 4 years ago.
patch

Change History

Changed 4 years ago by Mike Rice <mikerice1969@…>

patch

comment:1 Changed 4 years ago by nigel

  • Status changed from new to closed
  • Resolution set to fixed

This was fixed (differently) in [18161]

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.