Remember me

Lost Password?

Register now!
Who's Online
35 user(s) are online (12 user(s) are browsing Forums)

Members: 0
Guests: 35

Support us!
Recent OS4 Files
Report message:*

Re: Public screen closing bug in OS4.1

Subject: Re: Public screen closing bug in OS4.1
by thomas on 2011/6/16 13:18:52

A screen, public or not, belongs to the application which opened it by a call to OpenScreen or OpenScreenTags. Only this application is allowed to close the screen by a call to CloseScreen. Visitor windows must not call CloseScreen on public screens.

If OS4 has a mechanism to open public screens automatically by a call to LockPubScreen, this mechanism is also responsible to close the screen. If it does not work, it is a bug. Usually LockPubScreen should not open a screen, but fail if the named screen does not exist or is not public.

A program which opened a screen and made it public must be aware that visitor windows can exist and that CloseScreen can fail. In this case it has to wait until all visitor windows are gone before it closes the screen. It must not quit before the screen is closed.

Powered by XOOPS 2.0 © 2001-2014 The XOOPS Project