[interfacekit] Possible bug?
- From: "Adi Oanca" <adioanca@xxxxxxxxxxxxx>
- To: <interfacekit@xxxxxxxxxxxxx>
- Date: Wed, 3 Dec 2003 00:34:00 +0200
Hi!
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);
win2->AddToSubset(normalWindow);
win1 and win2 *have to* have B_MODAL_SUBSET_WINDOW_FEEL or
B_FLOATING_SUBSET_WINDOW_FEEL.
IMO 'AddToSubset' is very confusing. You would normally think that the
parameter for this
method is the one that will be added to this window's subset, or, that isn't
what's happening.
This window is added to 'normalWindow's subset. Confusing isn't it?
OK, that being said, couldn't we modify those in R2 into...
AddToSubsetOf( BWindow* )
... and properly explain that into BeBook? :-)
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?
Adi.
- Follow-Ups:
- [interfacekit] Re: Possible bug?
- From: Axel Dörfler
Other related posts:
- » [interfacekit] Possible bug?
- » [interfacekit] Re: Possible bug?
- » [interfacekit] Re: Possible bug?
- » [interfacekit] Re: Possible bug?
- [interfacekit] Re: Possible bug?
- From: Axel Dörfler