MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002239VCMISound, music, videospublic2015-08-30 18:352015-11-28 23:08
ReporterDydzio 
Assigned ToSXX 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformMicrosoft WindowsOSWindows 7OS VersionHome Premium x64
Product Version0.98c 
Target VersionFixed in Version0.98f 
Summary0002239: Game display isn't stretched after minimizing and maximizing in fullscreen mode
DescriptionWhen I press alt+tab on Windows 7, and then restore the game, the game screen is centered and not stretched, what results in black pixels on left and right sides of my screen. Issue can be fixed by switching to window mode, and then back to full screen.
Steps To ReproduceMinimize game, and then maximize.
Additional InformationSeems to be broken since VCMI 0.97c (SDL2 issue?)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0006133)
SXX (administrator)
2015-11-28 23:08

This one really annoying. Happen because we use SDL_RenderSetLogicalSize, but when window restored after alt+tab some of window state is missing.

Fixed there:
https://github.com/vcmi/vcmi/commit/f940e3ed429a2cbe33b32e9e5b2fd8b78b7412d7 [^]

I'm tried to make proper fix, but then video player become partially borked and only covered small portion of screen. So I just end up applying simple hack there as I don't really want to touch video playback code.

- Issue History
Date Modified Username Field Change
2015-08-30 18:35 Dydzio New Issue
2015-11-28 23:08 SXX Note Added: 0006133
2015-11-28 23:08 SXX Status new => resolved
2015-11-28 23:08 SXX Fixed in Version => 0.98f
2015-11-28 23:08 SXX Resolution open => fixed
2015-11-28 23:08 SXX Assigned To => SXX

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2018 MantisBT Team
Hosting provided by DigitalOcean