[no Bug] Wrong behavior when restoring from tray (1 Viewer)

Swede

Portal Pro
September 6, 2006
490
47
West Coast Archipelago
Home Country
Sweden Sweden
Wen resuming from tray, MP sends a "Goto previous window" command which must be a bug.

2010-06-08 12:38:35.624646 [Info.][MPMain(1)]: D3D: Minimizing to tray on GUI exit
2010-06-08 12:38:35.652647 [Debug][MPMain(1)]: VMR9: SetRepaint()
2010-06-08 12:38:35.661648 [Debug][MPMain(1)]: ACTION_TOGGLE_AUTOCROP
2010-06-08 12:38:41.217966 [Info.][MPMain(1)]: D3D: Restoring from tray
2010-06-08 12:38:41.238967 [Info.][MPMain(1)]: Main: OnSizeChanged - Resetting device
2010-06-08 12:38:41.241967 [Debug][MPMain(1)]: D3D: Switch to exclusive mode - Playing media: True
2010-06-08 12:38:41.242967 [Debug][MPMain(1)]: GUIFont:texture disposing:0 debug
2010-06-08 12:38:41.244967 [Debug][MPMain(1)]: GUIFont:texture disposing:1 font10
2010-06-08 12:38:41.244967 [Debug][MPMain(1)]: GUIFont:texture disposing:2 font11
2010-06-08 12:38:41.245967 [Debug][MPMain(1)]: GUIFont:texture disposing:3 font12
2010-06-08 12:38:41.245967 [Debug][MPMain(1)]: GUIFont:texture disposing:4 font13
2010-06-08 12:38:41.245967 [Debug][MPMain(1)]: GUIFont:texture disposing:5 font14
2010-06-08 12:38:41.245967 [Debug][MPMain(1)]: GUIFont:texture disposing:6 font15
2010-06-08 12:38:41.246967 [Debug][MPMain(1)]: GUIFont:texture disposing:7 font16
2010-06-08 12:38:41.247967 [Debug][MPMain(1)]: GUIFont:texture disposing:8 font17
2010-06-08 12:38:41.247967 [Debug][MPMain(1)]: GUIFont:texture disposing:9 font18
2010-06-08 12:38:41.248967 [Info.][MPMain(1)]: TexturePacker: disposing texture:1999
2010-06-08 12:38:41.297970 [Info.][(12)]: planescene:presentImage() frame:0 enabled:True allowed:False
2010-06-08 12:38:41.311971 [Info.][(12)]: planescene:presentImage() frame:1 enabled:True allowed:False
2010-06-08 12:38:41.330972 [Info.][(12)]: planescene:presentImage() frame:2 enabled:True allowed:False
2010-06-08 12:38:41.350973 [Info.][(12)]: planescene:presentImage() frame:3 enabled:True allowed:False
2010-06-08 12:38:41.370974 [Info.][(12)]: planescene:presentImage() frame:4 enabled:True allowed:False
2010-06-08 12:38:41.389975 [Info.][MPMain(1)]: TexturePacker: disposing texture:1998
2010-06-08 12:38:41.390975 [Info.][MPMain(1)]: TexturePacker: disposing texture:1997
2010-06-08 12:38:41.392976 [Info.][MPMain(1)]: TexturePacker: disposing texture:1996
2010-06-08 12:38:41.392976 [Info.][(12)]: planescene:presentImage() frame:5 enabled:True allowed:False
2010-06-08 12:38:41.401976 [Debug][MPMain(1)]: D3D: Switched to windowed mode successfully
2010-06-08 12:38:41.402976 [Info.][MPMain(1)]: Main: OnDeviceReset called
2010-06-08 12:38:41.402976 [Info.][MPMain(1)]: Main: Resetting DX9 device
2010-06-08 12:38:41.405976 [Debug][MPMain(1)]: Windowmanager: Goto previous window
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    If video playback was in fullscreen when minimizing MP then that is correct behavior. Unfortunately MP1 Skin Engine is what it is and fixing some nasty bugs (like black screen after resume from tray when video is played) require ugly workarounds.

    If video was not playing previously then it is a bug.
     

    Swede

    Portal Pro
    September 6, 2006
    490
    47
    West Coast Archipelago
    Home Country
    Sweden Sweden
    Hmm, but it has been working nicely before. What happens now is that if you're in fullscreen when you minimize, then you get whatever screen you had before fullscreen when you resume. Who wants that? I just want to resume from where I was in the movie or TV program. That's the way it was before. The black screens are also fairly new. If they are because I'we changed to W7 or if they came with RC3-4, I don't know, but they haven't been there always.
     

    Swede

    Portal Pro
    September 6, 2006
    490
    47
    West Coast Archipelago
    Home Country
    Sweden Sweden
    Bump!

    Seriously, in what way is it correct to jump back to previous window (fullscreen TV to TV Guide, Home, Recordings... or Fullscreen videos to previous menu) when you resume from tray? This is added in RC4 or maybe RC3, but why? I cannot see the logic in that.

    Edit, ...or did you mean that that was the ugly workaround? In that case, please make it uglier and jump back to fullscreen again.
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    Bump!

    Seriously, in what way is it correct to jump back to previous window (fullscreen TV to TV Guide, Home, Recordings... or Fullscreen videos to previous menu) when you resume from tray? This is added in RC4 or maybe RC3, but why? I cannot see the logic in that.

    Edit, ...or did you mean that that was the ugly workaround? In that case, please make it uglier and jump back to fullscreen again.

    Hi,

    It may be that this change is a consequence of fixing a more serious issue. I personally never minimise MP, so I don't actually know. I am just commenting, to explain that it might not actually be possible to change it back again.

    Best wishes,

    Mark
     

    Swede

    Portal Pro
    September 6, 2006
    490
    47
    West Coast Archipelago
    Home Country
    Sweden Sweden
    Absolutely, I can understand that. What I meant was to add "Goto next window" after the "Goto previous window". That would probably resolve the issue (in an ugly way ;)).
     

    romuz

    Retired Team Member
  • Premium Supporter
  • July 26, 2008
    1,045
    250
    Moskau
    Home Country
    Russian Federation Russian Federation
    I dont think that MP knows about next window. :)
     

    Swede

    Portal Pro
    September 6, 2006
    490
    47
    West Coast Archipelago
    Home Country
    Sweden Sweden
    Maybe you're right, but it knows "Fullscreen" and that would work too.

    I must also add, for other readers, that the minimize feature is a really useable and great feature. Whenever you want to check email or do some computer stuff, you just minimize (Alt+F4 or X button if minimize to tray is set in settings). Your movie/TV/whatever is paused automaticly. When you're ready with what you have been doing, you just double click on the tray icon and you are back in the movie again. It's great!!!
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    The ugly workaround is result of "legacy" XP related code that Skin Engine has. DirectX 9Ex for Vista / Windows 7 is also party hack since lot of Skin Engine behavior would have been required to be changed to allow smooth user experience in the specific use cases.

    It will be too risky to try to poke the Skin Engine to behave nicely with the specific use case and adding a hack that would do following would be even more uglier than the current situation (after all if the movie is so bad that you need to check email during it it is not worth watching :D)

    1) when minimized store all the playback info (position, file etc.)
    2) when minimized stop playback
    3) when restored go back to previous view
    4) when restored start up the playback with correct player etc.

    This is really ugly and would have nice possibility to break even more than just the specific use case. If I would have OKed to drop XP support few years ago from MP there wouldn't be such ugly issues...
     

    Users who are viewing this thread

    Top Bottom