[openbeos] Re: inconsistency?

Axel Dörfler wrote:
"Kevin Field" <kev@xxxxxxxxxxxxx> wrote:

Maybe we should borrow something from the Screen Saver kit? If we had that don't-interfere flag, every app would have to implement a system just like the functionality of a screen saver timeout. It wouldn't have the same time setting or criteria for (de)activation, but this way the behaviour would be standardized across all apps.


That kind of functionality should sit in the app_server, and be handled completely autonomously.

That ain't that easy as it sounds. Jonas' ShowImage example shows that.

        More research is needed.

Windows popping out in front annoy everyone. Sure, we have to avoid that, but we also have to determine when a window *should* steal_focus/became_front.
Usually that is the case when a program/window is launched following a user action.
How do we determine that?


        Well, you are invited to think about that.

I have an idea and I want you to tell me if it is feasible and implementable.
* if a program/window was launched from the window that has focus then app_server should bring that window in front and give focus to it.
* ---------------------------//--------------------------- does *not* have focus:
* if there is another window belonging to the same app - put the new window in front it.
* if there is no other window from the same app - put the new window behind the one that has focus.



Comments? I know: IM. Looks like we need that flag...


Ideas?


Thanks, Adi.

Other related posts: