[interfacekit] Re: Possible bug?

"Adi Oanca" <adioanca@xxxxxxxxxxxxx> wrote:
> First I want to ask you something for R2+
>     I think y'all know what a window subset is. It is build like so:
>         win1->AddToSubset(normalWindow);
>     IMO 'AddToSubset' is very confusing. You would normally think 
> that the 

It seems to be a similar logic as in StartWatching() - which even more 
works in diametrical opposition than what I had thought.
Although this one is IMO much clearer, I don't care that much, although 
I think that we should be careful with these things to not break 
compatibility between R1 and R2 too much - for the most stuff, a simple 
recompilation should be enough.

> NOW, the problem I have.
>     In BeBook, at:
> file:///D:/_Dev/Be%20Book/The%20Interface%20Kit/
> Window.html#window_feel
> it's being said:
>     "Modal windows are drawn in front of floating windows."
> 
> but, if win1 has B_MODAL_ALL_WINDOW_FEEL and win2 
> B_FLOATING_ALL_WINDOW_FEEL, and of course both
> visible, something amazing happens:
>     win2(the floating one) is *in front* of win1 - the modal window! 
> Worse, the floating window
> *can* take focus from the modal one!!!
>     IS that right? I think not!
>     What do you think?

I think this should only happen if the floating window is in the subset 
of the modal window, not if they are in the same subset.
So I would regard this as a bug, yes. We just need to find an 
application that wouldn't work without it :)

Bye,
   Axel.


Other related posts: