Menu

#400 Background image stretch on startup does not stretch Y-Axis

open
nobody
5
2011-12-10
2011-12-10
ZeroKnight
No

I have discovered a bug with the way Console starts up. I am using an image as the background, and have it set to stretch. It\'s a desktop wallpaper sized image (1600x1200) so that if I decide to resize the console window in-session, it\'ll resize to fit properly, of course.
However, on startup, it stretches the image over the X-Axis, but not the Y-Axis. My window size is 35 Rows by 100 Cols, and there\'s a 6 Row gap at the bottom where the wallpaper doesn\'t cover.
( see the following screenshot: http://i.minus.com/ibsNQfs9zfpK02.png )

It fixes whenever the window refreshes, such as resizing it, or opening a new tab, or changing a setting, etc. and properly stretches over the Y-Axis.
Interestingly enough, the displayed lines cause a visual artifact; the proper background positioning (when stretched) appears overlapped behind the text.
Compare the following screenshots in order:

http://i.minus.com/iUsqHjfCbYtFz.png
http://i.minus.com/ib2HJgAgpjlUih.png

This bug is only apparent on startup, and only with \"Stretch\" enabled. (non-relative, btw) What I think is happening, is that it recognizes the stretched image, but it doesn\'t update the image itself. Maybe add an extra window update on startup? This seems like a simple solution, since the image stretches properly whenever the window updates.

Discussion


Log in to post a comment.