Hrvoje Niksic wrote:
Here is a brand new bug introduced by the latest toolbar size patch:
* Split a frame and evaluate
(set-specifier default-toolbar-height 48 (selected-window))
* Now press C-TAB. Toolbar is resized -- good! But now keep pressing
C-TAB to switch between the windows, and you'll notice that the
upper window gradually gets smaller. This happens until it gets to
small to be shown, when XEmacs starts to draw nonsense on the frame.
Well I have seen it, even before I sent out my patch. This is a bug in
different place - window size rounding. Try resizing the frame in steps, or
even with "full drag" option, if your MW supports it, when the frame is
redrawn every move. If not, just resize it ave. one char per size. You
will seee what I mean.
Oh yes, do C-x 2 first :)
When you size frame one character left, upper window shrinks always.
When the frame is enlarged, the lower window expands, in all cases too.
The solution here for each window to have "ideal" pixel size. Each time
window is beaten into an integral character size, there's a rounding error
which gets accumulated. I have a patch for that, but I did not manage to
have it stable yet.
Kirill