Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006416Dwarf FortressMovies -- Playbackpublic2014-01-20 12:292014-12-14 08:11
lethosor 
lethosor 
normalminoralways
confirmedopen 
0.34.11 
 
0006416: Playback of movies smaller than the current screen size causes flickering (PRINT_MODE:STANDARD)
When a movie is played back in a larger resolution than when it was recorded using PRINT_MODE:STANDARD, the movie player (and menu after playback) are centered onscreen and resized to 80x25 (possibly the resolution of the movie - I only tested this with the intro movies so far, and they're 80x25). In addition, the previous movie menu (the larger resolution) flickers in the background during playback and when the smaller movie menu is visible afterwards.
1. Record a movie at a small resolution (or use one of the intro movies)
2. Resize the window to a larger size
3. Enter the movie menu again and play the movie. The movie is centered on the screen, while the larger menu flickers in the background.
This only occurs with PRINT_MODE:STANDARD, as far as I can tell. 2D displays the movie in the upper left corner and does not flicker.
This also only occurs the first time a movie is played back - the movie and menu are still centered a an 80x25 resolution, but when a movie is played a second time the previous screen disappears.
I have only tested this on OS X, although I can try testing on Linux when I get a chance.
This does not occur with BLACK_SPACE:NO in init.txt (for obvious reasons)
Pressing [esc] during playback returns to the large movie menu (no smaller menu is visible).
No tags attached.
related to 0003654new  Movies recorded in SDL version flash during playback 
Issue History
2014-01-20 12:29lethosorNew Issue
2014-01-20 12:31lethosorNote Added: 0024284
2014-01-20 12:35lethosorNote Edited: 0024284bug_revision_view_page.php?bugnote_id=0024284#r9091
2014-01-20 17:05FootkerchiefRelationship addedrelated to 0003654
2014-12-12 18:37lethosorAssigned To => lethosor
2014-12-12 18:37lethosorStatusnew => confirmed
2014-12-12 18:43lethosorIssue Monitored: Baughn
2014-12-12 18:43lethosorNote Added: 0031323
2014-12-12 18:44lethosorReproducibilityhave not tried => always
2014-12-14 08:11lethosorSummaryPlayback of movies smaller than the current screen size is centered and leads to flickering (PRINT_MODE:STANDARD) => Playback of movies smaller than the current screen size causes flickering (PRINT_MODE:STANDARD)

Notes
(0024284)
lethosor   
2014-01-20 12:31   
(edited on: 2014-01-20 12:35)
Screenshot: http://i.imgur.com/PJh5bby.png [^]
To clarify: This is not the same as 0003654 (the only other "Movies -- Playback" bug reported), although I have noticed that occasionally as well.
It is also reproducible ("have not tried" was a mistake), although I haven't reproduced it on any other PRINT_MODE settings yet.

(0031323)
lethosor   
2014-12-12 18:43   
Reminder sent to: Baughn

It appears that the screen dimensions (dimx/dimy) are being set to the dimensions of the movie during playback (https://github.com/Baughn/Dwarf-Fortress--libgraphics-/blob/13b94544cbb3a5a4b36346083335cd4ff63c0e3f/g_src/interface.cpp#L1213 [^] ?), which doesn't properly erase the tiles from the larger resolution.