#5736: LayoutBug, AlignLayoutWith, SplitLayout --------------------------------+------------------------------------------- Reporter: cipri | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: Kits/Interface Kit | Version: R1/Development Keywords: | Blockedby: Platform: All | Blocking: --------------------------------+------------------------------------------- Comment(by cipri): Replying to [comment:2 cipri]: > Replying to [comment:1 bonefish]: > > I think the problem is that the split view doesn't deal correctly with layout invalidations (caused by BStringView::SetText() each second) while dragging. > > Perhaps, but I'm not so sure about that. In the source code, AlignLayoutWith is called two times. If one of them is uncommented, then (if I can remember correctly) it works correctly. So perhaps it is related to the alignment. sorry, I remembered it wrong :P. (it's the same, if one or two alignments). (I confused it with something similar ) In the source code, you find these two lines: leftLayout->AlignLayoutWith( middleLayout, B_VERTICAL ); middleLayout->AlignLayoutWith( rightLayout, B_VERTICAL ); if you make a little change, and turn them into: leftLayout->AlignLayoutWith( middleLayout, B_VERTICAL ); middleLayout->AlignLayoutWith( rightLayout, B_VERTICAL ); then the program crashes. I think both variants should work the same,, fact is, that the second variant crashes the program. (and this didn't happen, before BGLView - bug (which I reported some time ago) was fixed). -- Ticket URL: <http://dev.haiku-os.org/ticket/5736#comment:3> Haiku <http://dev.haiku-os.org> Haiku - the operating system.