#7 new
John Croisant

Screen#icon=() is partially ineffective on Win32 (XP)

Reported by John Croisant | June 18th, 2008 @ 01:22 AM

A user reported via the IRC channel that setting the icon for an existing Screen does not properly display the icon in the corner of the window, when using Windows XP SP2. It does display the icon in the taskbar and the Alt-Tab window switcher.

SDL docs suggest that the icon should be set before the Screen is created for the first time. This didn't turn out to be necessary on Linux, so I hadn't designed any way to set the icon prior to creating a Screen instance.

Two possible solutions:

  1. Add a Screen.icon= class method, which can then be called before making the Screen.
  2. Add a new optional argument to Screen.new, which takes a Surface to be used as the icon.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Flexible library for making games with the Ruby language.

rubygame.sourceforge.net

Shared Ticket Bins

People watching this ticket

You can update this ticket by sending an email to from your email client. (help)