GNU bug report logs - #58489
29.0.50; commit 74c07733698b95eb455edcafab8634a700a3194f breaks GTK version for some Ubuntu distributions

Previous Next

Package: emacs;

Reported by: Uwe Brauer <oub <at> mat.ucm.es>

Date: Thu, 13 Oct 2022 11:10:02 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Uwe Brauer <oub <at> mat.ucm.es>
Cc: 58489 <at> debbugs.gnu.org
Subject: bug#58489: 29.0.50;  commit 74c07733698b95eb455edcafab8634a700a3194f breaks GTK version for some Ubuntu distributions
Date: Fri, 14 Oct 2022 15:36:52 +0800
Uwe Brauer <oub <at> mat.ucm.es> writes:

>>>> "PL" == Po Lu <luangruo <at> yahoo.com> writes:
>
>> Uwe Brauer <oub <at> mat.ucm.es> writes:
>>> Then the screenshot with the early-init
>>> 
>>> It seems to look ok but when it finishes loading all my init files, it
>>> looks like emacs -Q
>
>> Sigh.  If you instrument emacsgtkfixed.c as follows:
>
>> 	  if (hints->width_inc && data[5] % hints->width_inc)
>> 	    data[5] += (hints->width_inc - (data[5] % hints->width_inc));
>> 	  if (hints->height_inc && data[6] % hints->height_inc)
>> 	    data[6] += (hints->height_inc - (data[6] % hints->height_inc));
>>          (Add instrumentation following this line)
>> 	  fprintf (stderr, "XSetWMSizeHints: %l %l width_inc: %l height_inc: %l\n",
>> 		   data[5], data[6], hints->width_inc, hints->height_inc)
>
>> what is printed when you start Emacs with "-Q", and Kwin shrinks your
>> window?
>
>
> I compiled it finally a ; was missing.
>
> The message is 
>
> ./emacs -Q
> XSetWMSizeHints: % % width_inc: % height_inc: %
> XSetWMSizeHints: % % width_inc: % height_inc: %
>
> (emacs:833): Gtk-WARNING **: Allocating size to Emacs 0x1d503e0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
> XSetWMSizeHints: % % width_inc: % height_inc: %
> XSetWMSizeHints: % % width_inc: % height_inc: %
> XSetWMSizeHints: % % width_inc: % height_inc: %
> XSetWMSizeHints: % % width_inc: % height_inc: %
> XSetWMSizeHints: % % width_inc: % height_inc: %

Yes, sorry, please see my other reply.




This bug report was last modified 2 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.