Modify

Opened 8 years ago

Last modified 3 years ago

#8045 accepted Bug Report - General

Video Menu not displaying on dvd being inserted

Reported by: John Harvey <john.p.harvey@…> Owned by: stichnot
Priority: minor Milestone: unknown
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I've been chasing down a problem where when mythtv is set to switch to dvd menu when a dvd is inserted it end up displaying the main menu instead (or sometimes nothing) The cause of the problem is that the mediahandler notification sends a message "ExitToMainMenu?" and then calls the media handlers. The mythvideo media handler executes and displays the video menu. Eventually the system handles the ExitToMainMenu? message which then causes mythtv to exit the new video menu and return to the main menu.

If you are using the OpenGL painter & were already on the main menu because this occurs while the original main menu is fading it ends up with the main menu not being drawn.

There are a couple of ways i can think of fixing it.

1) Delay the media callbacks until the main menu is displayed. 2) Implement and AddStack? that sends an event and so the AddStack? for the new menu gets done after the ExitToMainMenu? 3) Somehow make the system ignore the 1st exit when it is done on the menu after being launched in this way.

I am investigating fixes and will attempt to produce a patch for this.

I suspect 1) is the most general but could have more impact 2) Is probably easier and would just affect mythvideo 3) I really don't like this.

Attachments (1)

videomenu_display_patch (2.2 KB) - added by John Harvey <john.p.harvey@…> 8 years ago.

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by John Harvey <john.p.harvey@…>

comment:1 Changed 8 years ago by John Harvey <john.p.harvey@…>

Attached is a patch that implements the 1st option. It uses some code that was in the ExitToMenu? implementation but appeared to be unused, so it now calls the mediahandler callback after getting back to the main menu. I had to change the implementation in ExitToMainMenu? since the 2nd callback was only called if the 1st callback didnt exist but since the 1st one always does exist i have removed the else so the mediahandler callback always gets called.

comment:2 Changed 8 years ago by robertm

  • Component changed from Plugin - MythVideo to MythTV - General
  • Owner changed from awithers to ijr

Not MythVideo? code.

comment:3 Changed 7 years ago by robertm

  • Owner changed from ijr to nigel
  • Status changed from new to assigned

comment:4 Changed 6 years ago by stuartm

  • Owner changed from nigel to stichnot
  • Type changed from defect to Bug Report - General

Jim is looking at Jumppoint related bugs atm, he can decide if this gets fixed for 0.25

comment:5 Changed 6 years ago by stichnot

  • Milestone changed from unknown to 0.26
  • Status changed from assigned to accepted

I'm not comfortable making changes this far into the 0.25 release. Let's get it right for 0.26.

comment:6 Changed 5 years ago by stichnot

  • Milestone changed from 0.26 to unknown

See #10407.

comment:7 Changed 3 years ago by stuarta

  • Version changed from unknown to Unspecified

Add Comment

Modify Ticket

Action
as accepted The owner will remain stichnot.
Author


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

 
Note: See TracTickets for help on using tickets.