Subject: bug#46827: Broken initial size of GTK3 frame

From: martin rudalics <[email-masked]>
Date: Mon, 3 May 2021 09:49:23 +0200

> Actually, now there is only one successful scenario: it doesn't flash
 > with sit-for, but still flashes with a message.

Does "now" mean after my most recent commit?

 >> 1: Eval (setq frame-size-history '(100))
 >>
 >> 2: Run the Gnus setup
 >>
 >> 3: Eval (progn (frame--size-history) (pop-to-buffer "*frame-size-history*"))
 >>
 >> all in one and the same frame.  Then post the contents of the buffer
 >> *frame-size-history* for each of them.
 >
 > 1. when the frame flashes:
 >
 > Frame size history of #<frame  *Minibuf-1* 0x55555935ffb0>
 > tab-bar-lines (3), TS=640x610~>640x612, TC=80x35~>80x36, IS=656x610~>656x612, MS=32x51 IH IV
 > tab-bar-lines (3), TS=640x612~>640x610, TC=80x36~>80x35, IS=656x612~>656x610, MS=80x85 IH IV
 > x_make_frame_visible
 > set_window_configuration (4), MS=80x85 IH IV
 >
 > 2. when no flash after adding sit-for in window--display-buffer:
 >
 > Frame size history of #<frame  *Minibuf-1* 0x55555935ffb0>
 > tab-bar-lines (3), TS=640x610~>640x612, TC=80x35~>80x36, IS=656x610~>656x612, MS=32x51 IH IV
 > tab-bar-lines (3), TS=640x612~>640x610, TC=80x36~>80x35, IS=656x612~>656x610, MS=32x51 IH IV
 > x_make_frame_visible
 > set_window_configuration (4), MS=80x85 IH IV

Didn't you earlier say that all this happens in a maximized frame?  The
sizes above seem to contradict that.  In either case, someone requests
to enlarge and shrink the tab bar by two pixels which contradicts your
earlier "and the tab bar is not resized".  So who wants to do that to
the tab bar and why?  And who wants to set the window configuration here
and why?

martin