[MP1-4739] ALT-Enter to switch from full to windowed screen stopped working in V1.13.0 Pre (2 Viewers)

perky

Portal Pro
January 23, 2014
59
28
62
Home Country
England England
See JIRA issue MP1-4739.

Just updated to V1.13.0 Pre, it appears ALT-Enter doesn't work any more for switching screen modes (full to windowed). I'm not sure if this is related to Microsoft MCE being replaced. Anyone else have the same problem?
Mark.
 
Last edited by a moderator:

Stéphane Lenclud

Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    I'm not sure if this is related to Microsoft MCE being replaced.
    Should not have anything to do with the MCE handler changes.

    Doesn't work in 1.13 final either. I use it a lot, so I'm gonna go with 1.12 until its fixed.
    Odd, I just tested it and it works for me.
    Never used that before BTW. That Mini TV mode is just really cool. I did not know MP could do that. This app is just fantastic, 3 years later I'm still discovering functionalities, thanks to you guys :)

    So back on topic. I have no idea what could be going on.
    I suggest you do some head scratching of your own, check your logs, check your keyboard mapping (not HID), check if Alt+Enter is working in other apps that could be using it.
    By all means, if it's a show-stopper for you, feel free to stick to 1.12 until someone identifies the problem and finds a fix.

    Any ideas from @Testers or @Developers maybe?
     
    Last edited:

    ravenrocks

    Portal Pro
    October 11, 2007
    351
    96
    I started MP1.13 final and pressed alt-enter, nothing happened. So I exited and checked the log, this is what I found:

    [2015-12-31 14:51:26,817] [Log ] [MPMain ] [ERROR] - Exception: System.Collections.Generic.KeyNotFoundException: Den angivna nyckeln finns inte i uppslagslistan.
    vid SharpLib.Hid.Event.GetDirectionPadState()
    vid SharpLib.Hid.Event..ctor(Message aMessage, HidEventRepeatDelegate aRepeatDelegate, Boolean aRepeat, Int32 aRepeatDelayInMs, Int32 aRepeatSpeedInMs)
    vid SharpLib.Hid.Handler.ProcessInput(Message& aMessage)
    vid MediaPortal.InputDevices.HidListener.WndProc(Message& msg, Action& action, Char& key, Keys& keyCode)
    vid MediaPortal.InputDevices.InputDevices.WndProc(Message& msg, Action& action, Char& key, Keys& keyCode)
    vid MediaPortalApp.WndProc(Message& msg) Message: Den angivna nyckeln finns inte i uppslagslistan. Site : SharpLib.Hid.DirectionPadState GetDirectionPadState() Source : SharpLibHid Stack Trace: vid SharpLib.Hid.Event.GetDirectionPadState()
    vid SharpLib.Hid.Event..ctor(Message aMessage, HidEventRepeatDelegate aRepeatDelegate, Boolean aRepeat, Int32 aRepeatDelayInMs, Int32 aRepeatSpeedInMs)
    vid SharpLib.Hid.Handler.ProcessInput(Message& aMessage)
    vid MediaPortal.InputDevices.HidListener.WndProc(Message& msg, Action& action, Char& key, Keys& keyCode)
    vid MediaPortal.InputDevices.InputDevices.WndProc(Message& msg, Action& action, Char& key, Keys& keyCode)
    vid MediaPortalApp.WndProc(Message& msg)


    Could this be an indicator?
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    I started MP1.13 final and pressed alt-enter, nothing happened. So I exited and checked the log, this is what I found:

    [2015-12-31 14:51:26,817] [Log ] [MPMain ] [ERROR] - Exception: System.Collections.Generic.KeyNotFoundException: Den angivna nyckeln finns inte i uppslagslistan.
    vid SharpLib.Hid.Event.GetDirectionPadState()
    vid SharpLib.Hid.Event..ctor(Message aMessage, HidEventRepeatDelegate aRepeatDelegate, Boolean aRepeat, Int32 aRepeatDelayInMs, Int32 aRepeatSpeedInMs)
    vid SharpLib.Hid.Handler.ProcessInput(Message& aMessage)
    vid MediaPortal.InputDevices.HidListener.WndProc(Message& msg, Action& action, Char& key, Keys& keyCode)
    vid MediaPortal.InputDevices.InputDevices.WndProc(Message& msg, Action& action, Char& key, Keys& keyCode)
    vid MediaPortalApp.WndProc(Message& msg) Message: Den angivna nyckeln finns inte i uppslagslistan. Site : SharpLib.Hid.DirectionPadState GetDirectionPadState() Source : SharpLibHid Stack Trace: vid SharpLib.Hid.Event.GetDirectionPadState()
    vid SharpLib.Hid.Event..ctor(Message aMessage, HidEventRepeatDelegate aRepeatDelegate, Boolean aRepeat, Int32 aRepeatDelayInMs, Int32 aRepeatSpeedInMs)
    vid SharpLib.Hid.Handler.ProcessInput(Message& aMessage)
    vid MediaPortal.InputDevices.HidListener.WndProc(Message& msg, Action& action, Char& key, Keys& keyCode)
    vid MediaPortal.InputDevices.InputDevices.WndProc(Message& msg, Action& action, Char& key, Keys& keyCode)
    vid MediaPortalApp.WndProc(Message& msg)


    Could this be an indicator?

    Very odd, that could indeed be the cause of your problems. Can you post the full logs, with extended HID logs enabled. Do use our Watchdog.
    Then try disabling the HID handler and confirm that Alt+Enter is working again.
    It could be that this exception is interrupting our workflow thus preventing the keyboard handler to do its job.
     
    Last edited:

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Just updated to V1.13.0 Pre, it appears ALT-Enter doesn't work any more for switching screen modes (full to windowed). I'm not sure if this is related to Microsoft MCE being replaced. Anyone else have the same problem?
    Mark.

    I can not confirm it.
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    @ravenrocks Can you try that build and tell me if it fixes your ALT+ENTER issue.
    Please provide the logs of you results. Please also do try out the HID demo I linked above and provide screenshots of your results.
    Do show me the list of HID devices you have, it should look like that:
    upload_2015-12-31_21-59-11.png

    I'm trying to figure out what could be the root cause of your problem. It most likely comes as a side effect from some sort of HID/USB devices you have connected to your PC, remote receiver, mouse, keyboard, gamepads, joystick, headset, audio DAC, any USB device really. I'll need the references from those devices.

    @perky Please do confirm you have indeed the same issue by looking in your logs. Then try going through the same exercise to figure what does your setup has in common with @ravenrocks
    The build I provided above just consolidates MP to better cope with the problem but we need to understand where it's coming from so that we get a better more complete and definitive fix for it.
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Maybe not related, but we have the fullscreen option in MP config and if enable the switch between windowed <-> fullscreen will not work :

    The 'Keep MediaPortal fullscreen mode ......'

    upload_2016-1-1_9-54-50.png
     

    Users who are viewing this thread

    Top Bottom