ID:111643
 
Resolved
If the first alert() in a session appeared while the main window was minimized, it could not be accessed and future alerts would therefore not appear.
BYOND Version:480
Operating System:Windows 7 Home Basic
Web Browser:Chrome 11.0.696.34
Applies to:Dream Seeker
Status: Resolved (481)

This issue has been resolved.
Descriptive Problem Summary:
If the first alert to appear during the games running time happens while the game is minimized, all future alerts will not appear on-screen.
Numbered Steps to Reproduce Problem:
1. Minimize the screen
2. While Minimized, show the first alert
3. Unminimize the screen
4. Try to show an alert
Code Snippet (if applicable) to Reproduce Problem:
mob
verb
minimize()
winset(src,"mainwindow","is-minimized=true")
unminimize()
winset(src,"mainwindow","is-minimized=false")
spawn_alert()
spawn()
alert(src,"Test")
test_essential()
minimise()
spawn_alert()
sleep(1)
unminimise()
spawn_alert()


When does the problem NOT occur?

When the first alert is shown while the screen is not minimized, the problem does not occur.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
Beats me.

Workarounds:
Check if the screen is minimized before sending alerts.

Side Notes:
It's possible to show an alert on top of the screen even when dream seeker is minimized. I don't think it's intentional, and it's a little annoying.