Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-16413

cmd, Leaving fullscreen by typing 'exit' does not try to restore the desktop resolution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Win32SS
    • None

    Description

      ros 0.4.13-RC-7-g67211fa gcc dbg lin. VBox 4.3.12 + VBEMP

      Reproduction steps

      • set desktop resolution to 800x600 32bpp
      • run cmd and switch it to fullscreen via Alt+Enter (it will switch into 640x480 fullscreen)
      • type 'exit' to leave cmd

      Expected result

      • The desktop reslution of 800x600 32bpp should be restored

      Observed result

      • It will stick with 640x480 erroneously

      ros logs the following when switching to fullscreen:

      (win32ss/user/ntuser/winpos.c:787) err: FIXME: Parent is Desktop, Min off screen!
      (win32ss/gdi/eng/pdevobj.c:522) PDEVOBJ_bSwitchMode, ppdev = E15B9008, pSurface = E163D6C8
      (win32ss/gdi/eng/pdevobj.c:585) leave, ppdev = E15B9008, pSurface = E163D5A0
      (win32ss/user/ntuser/keyboard.c:966) err: Window is NULL
      (win32ss/user/ntuser/display.c:868) err: BitCount New 32 Orig 32 ChkNew 32
      (win32ss/gdi/eng/pdevobj.c:522) PDEVOBJ_bSwitchMode, ppdev = E15B9008, pSurface = E163D5A0
      (win32ss/gdi/eng/pdevobj.c:585) leave, ppdev = E15B9008, pSurface = E17FA0B8
      (win32ss/user/ntuser/display.c:868) err: BitCount New 32 Orig 32 ChkNew 32
      (win32ss/user/ntuser/painting.c:158) err: LOOP it
      (win32ss/user/ntuser/painting.c:162) err: SendSyncPaint Found one in the Sent Msg Queue!
      (win32ss/user/ntuser/painting.c:158) err: LOOP it
      (win32ss/user/ntuser/painting.c:162) err: SendSyncPaint Found one in the Sent Msg Queue!
      (win32ss/user/ntuser/painting.c:158) err: LOOP it
      (win32ss/user/ntuser/painting.c:162) err: SendSyncPaint Found one in the Sent Msg Queue!
      (win32ss/gdi/eng/pdevobj.c:522) PDEVOBJ_bSwitchMode, ppdev = E15B9008, pSurface = E17FA0B8
      (win32ss/gdi/eng/pdevobj.c:585) leave, ppdev = E15B9008, pSurface = E1814C18
      (win32ss/user/ntuser/painting.c:158) err: LOOP it
      (win32ss/user/ntuser/painting.c:162) err: SendSyncPaint Found one in the Sent Msg Queue!
      (win32ss/user/ntuser/painting.c:158) err: LOOP it
      (win32ss/user/ntuser/painting.c:162) err: SendSyncPaint Found one in the Sent Msg Queue!
      (win32ss/user/ntuser/display.c:868) err: BitCount New 32 Orig 32 ChkNew 32
      

      and only the following after typing 'exit'

      (win32ss/user/ntuser/desktop.c:2688) err: Attempted to close thread desktop
      

      So it seems as if does not even try to switch back to the desktop resolution.

      Please notice, that it does properly switch back when I leave the fullscreen via Alt+Enter instead of typing 'exit'

      Attachments

        Issue Links

          Activity

            People

              hbelusca hbelusca
              reactosfanboy reactosfanboy
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: