MantisBT - VCMI
View Issue Details
0001108VCMIGUI - Adventure Mappublic2012-09-29 21:192019-05-19 07:28
Zamolxis 
 
normalcrashsometimes
closedfixed 
x86_64Windows7 VAIO
0.89c 
 
0001108: Alt-Tab + F4 issues
Reproducible also in 0.89d:

1. If I press Alt-Tab in Full Screen mode, the screen swaps to desktop, but I can't use my mouse: wherever the cursor was previously, it's now frozen in the upper left corner of my screen. If I Alt-Tab back to VCMI, the cursor is available again.

2. After the above, if I press F4, VCMI seems to switch back to windowed mode, but it actually suffers a sudden close (disappears from task manager & everything). But this is the only scenario that triggers the close, otherwise:
- F4 swaps back to windowed mode with no problem if we didn't Alt-Tab before
- After Alt-Tab, we can switch back to windowed mode, if instead of F4, we go to System Options and disable the Fullscreen option.

The close-crash is almost always reproducible from first attempt, else from second (after a second Alt-Tab exercise back and forth). No crashdump created (and I wouldn't know when to force it), but I'm attaching the normal logs if useful. I'm on Win7 @ 64bits (if relevant).

3. Not sure if related, but if System Options window is open, if we use F4 to toggle Fullscreen, the Fullscreen icon does not change (e.g.: remains "enabled", even if F4 switched to windowed mode). Closing and re-opening System Options shows the correct icon again. [FIXED]
No tags attached.
related to 0001071closed Tow Game crashes when going to Full Screen from Adventure map 
7z 2012-09-29_AltTabx2+F4.7z (9,648) 2012-09-29 21:19
https://bugs.vcmi.eu/file_download.php?file_id=1108&type=bug
Issue History
2012-09-29 21:19ZamolxisNew Issue
2012-09-29 21:19ZamolxisFile Added: 2012-09-29_AltTabx2+F4.7z
2012-09-29 21:19ZamolxisIssue generated from: 0001071
2012-09-29 21:19ZamolxisRelationship addedrelated to 0001071
2012-09-29 23:09ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=1952#r1952
2012-09-30 08:39IvanNote Added: 0003124
2013-05-27 09:48ZamolxisDescription Updatedbug_revision_view_page.php?rev_id=2191#r2191
2013-05-27 09:49ZamolxisNote Added: 0003559
2015-03-11 17:33SXXNote Added: 0005622
2019-05-19 07:28DydzioNote Added: 0007795
2019-05-19 07:28DydzioStatusnew => closed
2019-05-19 07:28DydzioResolutionopen => fixed

Notes
(0003124)
Ivan   
2012-09-30 08:39   
3 is unrelated, will fix

1 and 2 are not reproducible from Linux so can't do much here.
(0003559)
Zamolxis   
2013-05-27 09:49   
3 is fixed indeed. Thanks.

1 and 2 are still there in 0.92b - and probably just a Windows problem a/p Ivan's note above.
(0005622)
SXX   
2015-03-11 17:33   
This one likely should be closed with 0.97c dev build.
Though someone need to test it on Windows.
(0007795)
Dydzio   
2019-05-19 07:28   
Apparently fixed long ago.