Currently the size request of the draw area is not explicitly set in gui_mch_set_text_area_pos(). Problem is that when the window is resized or the overall layout of the window changes, the form widget is the one that will receive a new size allocation, which will then handle its children (draw area, scrollbars). This means drawarea_resize_cb() is redundant and will cause a resize loop when using vim_form_move_resize() in gui_mch_set_text_area_pos() (which it should).
Before:
image.png (view on web)
After:
image.png (view on web)
This pretty much reverts #20327
https://github.com/vim/vim/pull/20486
(4 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
@stevefalco can you check if this PR causes any issues for you (since it removed most of the code from the PR that fixed your issue). Thanks.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()