- Moderator
- #41
1. Go to TV Home, Full EPG, click on a channel, click on any show.
2. Mouse click TopBar "<", "<", then "X" to exit MePo, I get the crash.
Can reproduce a crash with these steps too.
1. Go to TV Home, Full EPG, click on a channel, click on any show.
2. Mouse click TopBar "<", "<", then "X" to exit MePo, I get the crash.
Can someone can make a video ?
Here is a Video attached: https://forum.team-mediaportal.com/...-with-the-tv-guide.122994/page-2#post-1046747
Steps to reproduce (with keyboard):
- Go to TV guide
- Select a channel
- Select a program of this channel which gets you to the program info screen
- Hit ESC two times
- Crash
It doesn't crash here but I can't select a program anymore if I go back (the point where it crashes by Holzi). It only moves the time for and back >_>
...which is the same is what I see.Zzzz, now it gets strange! Today I can't reproduce the crashes anymore... Using MP 1.6.0.
But I am seeing this behaviour now...
[2014-01-03 18:33:53,224] [Error ] [MPMain ] [ERROR] - OnMessage cntTarget.OnMessage:GUI_MSG_SETFOCUS
GUIControl cntTarget = GetControl(message.TargetControlId);
if (cntTarget != null)
{
// recalculate visibility, so a invisible item that is becoming visible
// becouse the previous component is no longer focused can be focused
// mantis issue #1755
//UpdateVisibility(); //Bav: reverting change, because it is creating a nonfocused status, when a focus is switching from one control to the other
Log.Error("OnMessage cntTarget.OnMessage:{0}", message.Message);
cntTarget.OnMessage(message);
}
/// <summary>
/// OnMessage() This method gets called when there's a new message.
/// Controls send messages to notify their parents about their state (changes)
/// By overriding this method a control can respond to the messages of its controls
/// </summary>
/// <param name="message">message : contains the message</param>
/// <returns>true if the message was handled, false if it wasnt</returns>
public virtual bool OnMessage(GUIMessage message)
{
if (message.TargetControlId == GetID)
{
switch (message.Message)
{
case GUIMessage.MessageType.GUI_MSG_SETFOCUS:
// if control is disabled then move 2 the next control
if (Disabled || !CanFocus())
{
int controlId = 0;
switch ((Action.ActionType)message.Param1)
{
case Action.ActionType.ACTION_MOVE_DOWN:
controlId = NavigateDown;
break;
case Action.ActionType.ACTION_MOVE_UP:
controlId = NavigateUp;
break;
case Action.ActionType.ACTION_MOVE_LEFT:
controlId = NavigateRight;
break;
case Action.ActionType.ACTION_MOVE_RIGHT:
controlId = NavigateLeft;
break;
}
if (controlId == 0)
{
controlId = Navigate((Direction)message.Param1);
}
if (controlId != -1 && controlId != GetID)
{
FocusControl(WindowId, controlId, (Direction)message.Param1);
}
return true;
}
Focus = true;
return true;