new gtk errors

67 views
Skip to first unread message

tooth pik

unread,
May 7, 2025, 5:21:16 PMMay 7
to vim...@googlegroups.com
all of a sudden gvim won't open to its requested size, while various "gtk_distribute_natural_allocatio:  assertion 'extra_space >= 0' failed" errors go to stdout

something is very broken

help!

Christian Brabandt

unread,
May 7, 2025, 5:40:24 PMMay 7
to vim...@googlegroups.com

On Wed, 07 May 2025, tooth pik wrote:

> all of a sudden gvim won't open to its requested size, while various
> "gtk_distribute_natural_allocatio:  assertion 'extra_space >= 0' failed" errors
> go to stdout

What version? And what is your GTK version?

Thanks,
Christian
--
"Here's something to think about: How come you never see a headline like
`Psychic Wins Lottery.'"
-- Comedian Jay Leno

tooth pik

unread,
May 7, 2025, 7:47:56 PMMay 7
to vim...@googlegroups.com
vim is 9.1.1369
gtk3-devel is 3.24.34
anything else?

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/aBvTPwApRfOkAdLb%40256bit.org.

Christian Brabandt

unread,
May 8, 2025, 2:28:51 AMMay 8
to vim...@googlegroups.com
Hi,
And what exactly is the issue, don't understand what you mean with
"won't open its requested size"? Can you share a picture and how to
reproduce? Did you try `gvim --clean`? k

Does it work, if you checkout pqatch v9.1.1367 instead? Perhaps there is
an issue with v9.1.1368?

Thanks,
Chris

On Wed, 07 May 2025, tooth pik wrote:

> vim is 9.1.1369
> gtk3-devel is 3.24.34
> anything else?
>
> On Wed, May 7, 2025 at 4:40 PM Christian Brabandt <cbl...@256bit.org> wrote:
>
>
> On Wed, 07 May 2025, tooth pik wrote:
>
> > all of a sudden gvim won't open to its requested size, while various
> > "gtk_distribute_natural_allocatio:  assertion 'extra_space >= 0' failed" errors
> > go to stdout
>
> What version? And what is your GTK version?
>
> Thanks,
> Christian

Mit freundlichen Grüßen
Christian
--
Nobody said computers were going to be polite.

tooth pik

unread,
May 8, 2025, 10:14:13 AMMay 8
to vim...@googlegroups.com
ordinarily, when i start a raw gvim with no size specified, it assumes the same
size as the X-window it was started from -- i am attaching a picture of what
happens now, complete with error messages

i get the same tiny window if there's a -geometry request in the starting script,
and the same errors

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.
Screenshot_20250508_090614.png

tooth pik

unread,
May 8, 2025, 10:39:55 AMMay 8
to vim...@googlegroups.com
interestingly, when i start my calendar script, it comes up sized to the
requested dimensions, the difference being i use lines= and columns= in a
.vim script to obtain the size

Christian Brabandt

unread,
May 8, 2025, 5:52:32 PMMay 8
to vim...@googlegroups.com
I still don't understand. Is this your issue:
https://github.com/vim/vim/issues/17279

Are you also on Wayland?
Are those just warnings? Or does it prevent resizing?

Thanks,
Chris
Penguin Trivia #46:
Animals who are not penguins can only wish they were.
-- Chicago Reader 10/15/82

tooth pik

unread,
May 8, 2025, 6:25:51 PMMay 8
to vim...@googlegroups.com
yes that looks like it

what's wayland?  is it like x11 or kde?

opensuse 15.6

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.

Tony Mechelynck

unread,
May 9, 2025, 3:58:57 AMMay 9
to vim...@googlegroups.com, cbl...@256bit.org, toot...@gmail.com
This seems to be the same problem as the one I reported a few minutes
ago as «"E36 Not enough room" while sourcing handcrafted session
file». I am now with gvim 9.1.1374 but it has been happening for a
couple of days in earlier versions. Huge version with GTK3 GUI. The
GUI opened with just enough height and width for the menubar, and gave
E36 while sourcing a :new command with filename (and refused to open
that file) until I manually maximized the GUI. Adding a line "set
lines=99 columns=999" before the first :new command in the session
file made the problem disappear. I already had an autocommand "au
GUIEnter * set lines=99 columns=999" (without the quotes), which seems
not to be acted upon, in my vimrc.

Best regards,
Tony.
> To view this discussion visit https://groups.google.com/d/msgid/vim_dev/CALfSX1wgxo0GxWB4DstvD6j%3DdtFWnCCofMHvxW4yQzJ%2B%3DJMe7w%40mail.gmail.com.

Tony Mechelynck

unread,
May 9, 2025, 4:00:17 AMMay 9
to vim...@googlegroups.com, cbl...@256bit.org, toot...@gmail.com
P.S. Oh, and X11, I don't use Wayland.

Best regards,
Tony.

Christian Brabandt

unread,
May 9, 2025, 4:57:00 AMMay 9
to vim...@googlegroups.com, Tony Mechelynck, toot...@gmail.com
Hi,
Can you both please respond to the mentioned ticket? Is this that bad,
that we need to revert?

Thanks,
Chris
Survivulousness:
The tendency to visualize oneself enjoying being the last
person on Earth. "I'd take a helicopter up and throw microwave ovens
down on the Taco Bell."
-- Douglas Coupland, "Generation X: Tales for an Accelerated
Culture"

Tony Mechelynck

unread,
May 9, 2025, 6:01:11 AMMay 9
to vim...@googlegroups.com, Tony Mechelynck, toot...@gmail.com
The problem I have is not the same as the ticket. For one thing, I get
it "every time", lnot "occasionally"; also I am on X11, not Wayland.

Typing "gvim -N -u NONE" in a bash shell opens gvim with menu and
toolbar but no vertical space for a future editfile; in order to see a
command line I have to maximize the screen manually.

With just "gvim" my vimrc, which removes the toolbar display, is
sourced, and the GUI window is even smaller, just enough for the
menubar. In this case there is (every time) a message on the terminal
where gvim was started:

(gvim:1066803): Gtk-CRITICAL **: 11:46:29.128:
gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

but not when sourcing the vimrc is avoided by one of -u NONE -u NORC
or -u DEFAULTS.

After -u DEFAULTS the GUI opens with a menubar, toolbar, and even a
visible comand-line, but no more than one line of edit window (or is
it an empty status line ?) above it

Christian Brabandt

unread,
May 10, 2025, 8:54:14 AMMay 10
to vim...@googlegroups.com, Tony Mechelynck, toot...@gmail.com
Can you please both try patch v9.1.1377 if this helps?

If not, please report back. Best would be a new ticket with all
information you have.
Come, every frustum longs to be a cone,
And every vector dreams of matrices.
Hark to the gentle gradient of the breeze:
It whispers of a more ergodic zone.
-- Stanislaw Lem, "Cyberiad"
Reply all
Reply to author
Forward
0 new messages