Version: HEAD (using KDE KDE 3.5.0) Installed from: Compiled From Sources OS: Linux PROBLEM: The cleanup layout functionality does not always behave as it should STEPS TO REPRODUCE: Start Kst Create a window with 4 plots Right click on one of the plots and select Cleanup Layout...Custom... Set the number of columns to 2 and hit OK Enter layout mode Stack the 4 plots on top of one another in the center of the window Right click on the uppermost plot and select Cleanup Layout...Default Tile RESULTS: Not always predictable, but most likely you'll get 2 plots each of the full window height and half the window width. The other two plots are hidden. EXPECTED RESULTS: 4 plots each taking one quarter of the window.
This behavior is not related to 'cleanup layout' as much as it is to layout mode behavior. What happens is that when you move a view object in layout mode, it becomes the child of the smallest view object which fully encloses it. If you have two plots very nearly the same size, and you dump one on the other (lined up on the corner), then you have a good chance of one becoming the child of the other. Naturally, cleanup layout only sees the parents. The way to fix this is, perhaps, to not let children be more than 95% the size of the parents. Or to not dump plots exactly on top of each other in layout mode.
What will really help is when we have a drop target indicator.
Should be fixed for 1.2.1 release
*** This bug has been marked as a duplicate of 117838 ***