We are using icewm on Ubuntu and have a problem that is either a bug in icewm or spark.
Minimize Spark to the tray
Double click on tray icon to raise spark
Click close on top of window to to minimize to tray again.
on 4. The window does not minimize, but rather the contents turn black
I have tried all flavors of icewm and still the same.