Project

General

Profile

Actions

Bug #1503

open

Deleting Timer from epgsearch´s own timer edit menu

Added by Ramirez over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
09/17/2013
Due date:
% Done:

0%

Estimated time:

Description

1. Go to VDR´s timer menu
2. Open editing of the timer (option to use VDR´s own timer edit menu has to be off)
3. Press red for delete

=> Depending on the complexity of the skin the percentage VDR crashes.

The problem seems that the DeleteTimer function in menu_myedittimer.c returns osBack. As a result the skin tries to redraw the timer menu in which one item is related to the deleted timer. Your code tries to inform VDR by calling Timers.SetModified. But there is a timing problem.

I made a small fix by returning osTimers (http://www.vdr-portal.de/board17-developer/board21-vdr-plugins/p1161686-epgsearch-kleine-%C3%A4nderung-l%C3%B6schen-aus-timeredit-men%C3%BC/#post1161686) and the crash does never haben, as VDR is instructed to completely redraw the menu.

But now of course the user is always send to the timers menu even if he opened the edit menu from schedules for example.

I am not so deep in the code that I can figure out from what menu the edit menu was called, otherwise I could return osTimers only if it was the timers menu.

Would be nice if you could fix this.

No data to display

Actions

Also available in: Atom PDF