Ticket #6777 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

BorderContainer programmatic wrong splitters

Reported by: giovanni.porcari@… Owned by: peller
Priority: normal Milestone: 1.2
Component: Dijit Version: 1.1.0
Severity: normal Keywords:
Cc:

Description

I think that there is a bug in the way BorderContainer? manage splitters. The problem happens when you create BorderContainer? programmatically and you call the startup method AFTER the creation of the children. In this case if one pane has a splitter you get 2 splitters and in the wrong place.

I attach a test that shows the problem. It must be placed in the same folder of other BordrContainer? test.

In the test you can see the wrong behaviour when the 'doPatch' variable is false.

Then I found a patch that seems able to fix the problem and you should be able to see that it works setting doPatch to true.

Please let me know if the bug is confirmed and if my patch is ok. I really have to use BorderContainer? and this bug is a show stopper for me.

Thank you

Giovanni Porcari

giovanni.porcari@…

Attachments

test_BorderContainer_progr.html (3.3 kB) - added by guest 2 months ago.

Change History

Changed 2 months ago by guest

Changed 2 months ago by bill

  • owner set to peller
  • reporter changed from guest to giovanni.porcari@softwell.it

Thanks for the test file, they are always appreciated.

Changed 2 months ago by peller

  • milestone set to 1.2

Changed 2 months ago by peller

  • status changed from new to closed
  • resolution set to fixed

(In [13760]) Fix programmatic test case with splitters. Thanks, genro. Fixes #6777 !strict

Changed 2 months ago by peller

(In [13767]) Redo patch for proper instantiation of splitters. !strict Fixes #6777, #6782

Note: See TracTickets for help on using tickets.