Opened 14 years ago

Closed 14 years ago

#7748 closed patch (fixed)

External requests to quit are processed the same as internal requests

Reported by: sueprm1@… Owned by: danielk
Priority: minor Milestone: 0.23
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

This comes from an issue where the user tries to use the Gnome menu to logout or reboot the system. QT receives a closeEvent, and then MythTV takes that close event and translates it into a keypress forcing the close menu to come up.

This is not the correct behavior. When the user presses the X or uses the exit key, that menu should come up, but when restarting the system or logging out, it should obey the system's request to close the app.

I'm attaching a patch that should fix this behavior.

Attachments (2)

spontaneous.patch (767 bytes) - added by superm1@… 14 years ago.
spontaneous-trunk.patch (771 bytes) - added by superm1@… 14 years ago.

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by superm1@…

Attachment: spontaneous.patch added

Changed 14 years ago by superm1@…

Attachment: spontaneous-trunk.patch added

comment:1 Changed 14 years ago by superm1@…

Those two patches should apply to 0.22 and trunk respectively.

comment:2 Changed 14 years ago by stuartm

Component: MythTV - User Interface LibraryMythTV - General
Owner: changed from stuartm to Isaac Richards
Status: newassigned

comment:3 Changed 14 years ago by Stuart Auchterlonie

Milestone: unknown0.23

comment:4 Changed 14 years ago by danielk

Owner: changed from Isaac Richards to danielk
Status: assignedaccepted

comment:5 Changed 14 years ago by danielk

Resolution: fixed
Status: acceptedclosed

It appears this change has already been made in trunk.

Note: See TracTickets for help on using tickets.