Main forum > Bug Reports

Alt Tab dosent work in fullscreen (AUTOPAUSE not works correctly Windows 10).

(1/3) > >>

spacefractal:
as topic said, Alt Tab dosent work in fullscreen, and even jobcenter can been shown at all! This bug needs to been fixed before the steam release really. Im not sure what it happens, since im even used AUTOPAUSE True, that also dosent work correctly on Windows.

Etc there also no way to set a borderless windowered mode at all, which could have fix it.

Qedo:
while waiting debug try this workaround.


--- Code: GLBasic ---f_fullscreen=TRUE
Nf_fullscreen=TRUE
CGLB_ON_RESUME=GETTIMERALL()

REPEAT
        IF Nf_fullscreen<>f_fullscreen
                f_fullscreen=Nf_fullscreen
                SETSCREEN 640, 480, f_fullscreen
                CGLB_ON_RESUME=GETTIMERALL()
        ENDIF
.......



........
UNTIL FALSE

SUB GLB_ON_PAUSE:
IF Nf_fullscreen=f_fullscreen
                CGLB_ON_RESUME=GETTIMERALL()-CGLB_ON_RESUME
                IF CGLB_ON_RESUME>1000
                        Nf_fullscreen=NOT Nf_fullscreen
                ENDIF
ENDIF
        CGLB_ON_RESUME=GETTIMERALL()

ENDSUB
SUB GLB_ON_RESUME:
IF Nf_fullscreen=f_fullscreen
                CGLB_ON_RESUME=GETTIMERALL()-CGLB_ON_RESUME
                IF CGLB_ON_RESUME>1000
                        Nf_fullscreen=NOT Nf_fullscreen
                ENDIF
ENDIF
CGLB_ON_RESUME=GETTIMERALL()
ENDSUB
 

spacefractal:
the only issue is SUB GLB_ON_PAUSE and SUB GLB_ON_RESUME seens not been called on Windows 10, even with AUTOPAUSE True. Otherwise im would have done something extractly like this workaround by switch between fullscreen and windowred mode. Me and Gernot should look why its dont call them as its should. This was a hell to support this on iOS as well Android correctly.

Qedo:
tried on win10 and it seems to work

spacefractal:
not here or at my friend. When im alt-tab from a full window, the windows is still stays in fullscreen and got inactivated. A friend of my did even forced to restart windows, because ctrl,alt,delete diddent work. Howover im do have implemented that workaround its send to windowered mode on Tab, Ctrl+ALT and Alt-Enter in that game.

GLB_ON_PAUSE and GLB_ON_RESUME is newer called on a alt/tab here. but if they did, then this workaround would have works fine.

Property a GLB_WIN32_MSG subrutine can been checked the windows is activated or not. This sub does calls its seen.

Navigation

[0] Message Index

[#] Next page

Go to full version