Home  
Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
29 user(s) are online (7 user(s) are browsing Forums)

Members: 0
Guests: 29

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: Public screen closing bug in OS4.1

Subject: Re: Public screen closing bug in OS4.1
by ChrisH on 2011/6/17 8:24:08

@Chris Quote:
CloseScreen() returns TRUE if the only visitor window is Ringhio, so the calling app believes the screen has closed. However, the screen hasn't closed.

I think now that this is an Intuition bug, as if the screen hasn't physically closed then there is no way CloseScreen should return that it has.

Ringhio is not at fault, although it is highly likely that the way it draws its notifications means Intuition isn't aware it is open. However, it must be locking the screen, otherwise the screen would close. The bug is that Intuition should not be reporting that it has closed a screen successfully when it hasn't.

Interesting! Although this does not explain why my CloseScreen() patch fixes Ringhio's problem (since my patch only does something if CloseScreen() returns FALSE).

Your observation seems a likely explanation for my second bug, but not my first one:
Quote:
1. MUI is not handling CloseScreen() failing.
2. Ringhio is causing OS4's "Open/close screen automatically" to fail to close screens.


I do not think it can explain the first one, which causes this:
Quote:
If I get MUI to open a screen for SimpleMail, then tell CygnusEd to open it's window on that public screen, then close SimpleMail, then close CygnusEd... then the public screen will remain open

Note that the MUI screen must NOT be defined in Prefs/Screens (with 'Open/close screen automatically' set).
Powered by XOOPS 2.0 © 2001-2014 The XOOPS Project