Changes between Initial Version and Version 1 of Ticket #10248


Ignore:
Timestamp:
Jan 9, 2012, 8:43:38 PM (9 years ago)
Author:
stuartm
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10248 – Description

    initial v1  
    11Following [02bbb8ab] which converted PBB to use MythMenu it's no longer possible to delete a recording if the file is missing. The reason is that m_popupMenu is not null when the delete failed event (DELETE_FAILURES) arrives and all that happens is the warning "PlaybackBox: Delete failures not handled due to pre-existing popup."
    22
    3 We don't actually delete or NULL the MythMenu object until reaching the destructor of MythDialogBox. Since QObject deletions occur last in the event loop, after queued signals/events are processed this will always be too late. Added to that the fade effect means that several event loop iterations can pass before the popup is even deleted which just increases the likelihood that m_popupMenu will not be NULL when checked or reused.
     3We don't actually delete or NULL the MythMenu object pointer until reaching the destructor of MythDialogBox. Since QObject deletions occur last in the event loop, after queued signals/events are processed this will always be too late. Added to that the fade effect means that several event loop iterations can pass before the popup is even deleted which just increases the likelihood that m_popupMenu will not be NULL when checked or reused.