Issue with minimised Window app

Previous topic - Next topic

MrPlow

Hi,
My Windows game in windowed-mode is playing music from taskbar and is not showing after sleeping the laptop and resuming or leaving for a long period...

Is there an easy fix for this? Maybe a setting i am missing?

Task Manager - bring to front doesnt work either
App is playing music which i can hear unless I shut down app fully..
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

MrPlow

I can sort the music playing but the minimise / maximise not working 100% is a problem...
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

Kitty Hello

and you're using systempointer true, autopause false?

MrPlow

Quote from: Kitty Hello on 2023-Apr-17
and you're using systempointer true, autopause false?

Hi, yes wasnt using autopause false last week - am now, not seeing the issue.

Although music keeps playing - but I haven't tried resolve the music part yet - assume a GLB On Pause with stop / start music?
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

MrPlow

Also keypresses while minimised are still firing in the app?
Is there a way to prevent that?
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#5
Is you using WINDOWS 11?

Here its seen AUTOPAUSE TRUE does not work as intended, since GLB_ON_RESUME and GLB_ON_PAUSE is newer called.

Im think im can confirm.

keypresses did do not send to the game while minimized throught here, but might do that if activated.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

No, Windows 7 Pro :D

maybe a inline call to check minimised?
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#7
im can confirm this happens if the debug mode is enabled, but works when disabled. then its pause and resume correctly. This is not a  biggie for me at all, as when we release stuff, we should not enable debug stuff anyway.

PS. Just to reminder, Windows 7 would been depreacted support from 2024, due steam.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Yes, seen that steam notice - ;) nice excuse for me to buy a shiny new laptop...
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

its cant run vista or windows 10? its seen its only win 7 and 8 and 8.1. Nost Vista or windows 10. All my machines runs Win 10, except one. the main machine. That one using Win 11, but also using ClassicShell and Explorer Patcher, or im would not have liked or usaable. hihi.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/