Hi,
I have recently upgraded from ion-3ds-20060519 to ion-3rc-20070927.
The changes in ion3 internals are massive, and I am in the process of
updating my config files. The question I am fighting with at the
moment is:
When running GIMP, I create a split for it using the following code:
local ws = top_frame:attach_new({type = "WTiling", dir = "horizontal"})
ws:split_top("right")
fl = ws:split_tree():tl():reg()
fr = ws:split_tree():br():reg()
fl:set_name("GIMP-left")
fr:set_name("GIMP-right")
fl:rqgeom({w = 270})
Later GIMP windows are attached to the split using winprops. This
worked flawlessly in ion-3ds-20060519, with left side of the split
staying 270px wide all the time, and right side occupying all the
rest. However, in ion-3rc-20070927 things changed. When I run GIMP,
the following things happen:
0. Split is created, its left side is exactly 270px wide.
1. GIMP splash screen pops up and goes to the right side of the split,
left side remains at 270px.
2. GIMP splash screen disappears and GIMP toolbox appears, going to
the left side of the split. The left side gets resized to 450px.
3. I choose File -> New in GIMP menu. A small (much smaller than the
right side of the split) window with new image properties appears and
goes to the right side of the split. Left side gets resized to 220px.
The question is: how can I prevent the split from permanently resizing
itself and make it behave ion-3ds-20060519 way? I tried putting
rqgeom requests in clientwin_do_manage_alt, but the split keeps
changing.
It is not a question about GIMP, I use a lot of other applications in
similar splits, so this auto-resizing heuristics is a big problem for
me.
Thanks,
Sasha