Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when minimizing or alt-tabbing to the desktop #24528

Open
ranseur opened this issue Jul 29, 2018 · 8 comments

Comments

Projects
None yet
6 participants
@ranseur
Copy link

commented Jul 29, 2018

Game version: 0.C-29754-g34eea34 (console) (build 7627, latest experimental)

Operating system: Windows 8.1 64bit

Tiles or curses: curses (but tiles still has problems with screen resizing)

Mods active: any

Expected behavior

No crash, minimizes/alt-tabs fine.

Actual behavior

gn7mdnv

5cnysz7

Steps to reproduce the behavior

Launch the game then minimize the game or alt-tab to the desktop (alt-tabbing to other windows is fine).

Other notes

After the crash the terminal width and height returns to the defaults 80 and 24 regardless of what it was to before. (The game also crashes and behaves erratically when trying to resize the window)
The log doesn't produce anything useful.

@Rail-Runner

This comment has been minimized.

Copy link
Contributor

commented Jul 30, 2018

Having same issue on Windows XP, build 7626, but only on version without tiles. Screen resize works good on both versions.

@ranseur

This comment has been minimized.

Copy link
Author

commented Jul 30, 2018

You are right, tested again now and minimizing with the tiles version and it works. Screen resize is still pretty bad for me though. In the tiles version you can resize the window in the main menu and ingame, if you try during during character creation or while in the options menu it will blank the screen then crash. In the curses version you can resize the screen only in the main menu I think, ingame and in the submenus it blanks and crashes.

@DAOWAce

This comment has been minimized.

Copy link

commented Aug 3, 2018

Crashes when tabbing out of fullscreen as well. After the crash the size resets to default.

Borderless doesn't like to be minimized either; it tries to keep itself the active window and may also crash when attempting to minimize it.

The only way to play without it terminating is in regular windowed mode. I haven't had any real issues with resizing/minimizing there. I have had the screen blank on resize in the menu, but just activate a redraw (move selector) and it comes back fine.

This is for the Tiles version.
Windows 10 x64 1703. NVIDIA 1080 Ti with the latest 2 driver releases tested.

@Vzor-

This comment has been minimized.

Copy link
Contributor

commented Sep 27, 2018

I get a crash if I resize or minimize the window on any screen other than the main menu.
Curses, Windows 10 64, 125% screen scaling. 0.C-7924 and 0.C-7979 (and likely others)

@Night-Pryanik

This comment has been minimized.

Copy link
Member

commented Feb 7, 2019

Can't confirm on latest experimental as of 07 February 2019, Windows 10 Pro x64, tiles, neither in fullscreen nor windowed mode. Is this still an issue for anyone?

@DAOWAce

This comment has been minimized.

Copy link

commented Feb 7, 2019

Still crashes when tabbing out in fullscreen on build #8505

cataclysm-tiles_2019-02-07_00-57-08

But upon further testing, it only appears to do this under the d3d9 renderer. I haven't gotten it to crash with d3d11 in my limited testing.

@Night-Pryanik

This comment has been minimized.

Copy link
Member

commented Feb 7, 2019

Yeah, it seems that using d3d9 renderer indeed crashes the game.

@DSeyka

This comment has been minimized.

Copy link

commented Feb 7, 2019

Crashes for me as well, but only in direct3d fullscreen mode, and only when alt-tabbing. Both windowed modes work fine. Tiles 8505, Win10.
Attaching stacktrace since it looks slightly different from what DAOWAce has provided:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.