View Issue Details

IDProjectCategoryView StatusLast Update
0000764Dwarf FortressTechnical -- Generalpublic2010-08-10 00:14
ReporterSirPenguin Assigned ToBaughn  
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.31.01 
Fixed in Version0.31.04 
Summary0000764: Minimizing in windowed mode causes entire window to be blacked out
DescriptionWhile in window mode if you minimize (as opposed to alt tabbing) and maximize again, the whole window is black. The main game screen can be fixed by forcing the game to refresh the tiles (for instance, moving the viewport back and forth), or it does it on its own whenever a creature updates a tile.

However, the borders are exempt from this and remain black, as does the "FPS" portion of the FPS counter.
Steps To ReproduceOpen DF, minimize, then maximize.

This has occurred on two systems with drastically different configurations: a laptop on Wind7 off an integrated chip, and a desktop on XP running off of a proper GPU.
Additional InformationMy programming sense suspects whatever calls "invalidate()" in the rendering engine is not being properly called on window focus after a maximize. In fact, I'm positive that's what it is, especially given the steps to fix it.

Marked as trivial as it's sure to die in the d# merge
TagsNo tags attached.

Relationships

related to 0000537 closedBaughn Will not display in Windowed Mode 
related to 0002032 resolvedBaughn Resize of window leads to black screen 
related to 0000366 resolvedBaughn Game zooms in after minimize from fullscreen 

Activities

axus

2010-04-16 10:59

reporter   ~0003873

Minor note here, when I used the windows shortcut to "minimize all windows", my Dwarf Fortress went away completely. I was able to see it in Task Manager and select "bring to front", then the taskbar had it listed again. The screen is all black, but like you said it's easy to bring back. I'm using PARTIAL_PRINT 0.

user6

2010-06-21 11:44

  ~0008877

Does this still occur in 31.08?

user6

2010-06-28 07:51

  ~0009226

Reminder sent to: SirPenguin

Does this still occur in 31.08 SDL?

SirPenguin

2010-06-28 08:32

reporter   ~0009243

Thanks for the reminder. I just tested it out - problem has been fixed

user6

2010-06-28 09:21

  ~0009247

Cool, thanks for the update!

Issue History

Date Modified Username Field Change
2010-04-07 19:52 SirPenguin New Issue
2010-04-07 19:56 user6 Relationship added related to 0000537
2010-04-16 10:59 axus Note Added: 0003873
2010-05-26 13:38 user6 Relationship added related to 0002032
2010-06-21 11:44 user6 Note Added: 0008877
2010-06-21 11:45 user6 Tag Attached: AWAITING UPDATE
2010-06-28 07:51 user6 Note Added: 0009226
2010-06-28 08:12 user6 Relationship added related to 0000366
2010-06-28 08:32 SirPenguin Note Added: 0009243
2010-06-28 09:21 user6 Note Added: 0009247
2010-06-28 09:21 user6 Status new => resolved
2010-06-28 09:21 user6 Fixed in Version => 0.31.04
2010-06-28 09:21 user6 Resolution open => fixed
2010-06-28 09:21 user6 Assigned To => Baughn
2010-06-29 07:38 user6 Category Technical => Technical -- General
2010-08-10 00:14 user11 Tag Detached: AWAITING UPDATE