GNU bug report logs -
#58412
29.0.50; --with-x-toolkit=athena causes too small emacs window
Previous Next
Reported by: Uwe Brauer <oub <at> mat.ucm.es>
Date: Mon, 10 Oct 2022 13:28:01 UTC
Severity: normal
Found in version 29.0.50
Done: Po Lu <luangruo <at> yahoo.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58412 in the body.
You can then email your comments to 58412 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Mon, 10 Oct 2022 13:28:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Uwe Brauer <oub <at> mat.ucm.es>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 10 Oct 2022 13:28:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi the following bug report concerns
commit 93136169cba9c7c8f82
When compiling with the option
--with-x-toolkit=athena
Or to be precise
1) I run ./configure --prefix=/opt/emacs29 --with-x-toolkit=athena --without-pop --with-mailutils
2) I run make bootstrap
3) make
4) cd src
5) ./emacs -Q
6) I obtain two screens I attach
When I repeat the steps without the --with-x-toolkit=athena
option, everything is fine
regards
Uwe Brauer
[emacs-windows1.png (image/png, attachment)]
[emacs-windows.png (image/png, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Mon, 10 Oct 2022 13:52:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58412 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> Hi the following bug report concerns
> commit 93136169cba9c7c8f82
>
> When compiling with the option
> --with-x-toolkit=athena
>
> Or to be precise
>
> 1) I run ./configure --prefix=/opt/emacs29 --with-x-toolkit=athena --without-pop --with-mailutils
> 2) I run make bootstrap
> 3) make
> 4) cd src
> 5) ./emacs -Q
> 6) I obtain two screens I attach
>
> When I repeat the steps without the --with-x-toolkit=athena
> option, everything is fine
>
> regards
>
> Uwe Brauer
What version of KWin is that?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Mon, 10 Oct 2022 14:16:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 58412 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "PL" == Po Lu <luangruo <at> yahoo.com> writes:
> Uwe Brauer <oub <at> mat.ucm.es> writes:
>> Hi the following bug report concerns
>> commit 93136169cba9c7c8f82
>>
>> When compiling with the option
>> --with-x-toolkit=athena
>>
>> Or to be precise
>>
>> 1) I run ./configure --prefix=/opt/emacs29 --with-x-toolkit=athena --without-pop --with-mailutils
>> 2) I run make bootstrap
>> 3) make
>> 4) cd src
>> 5) ./emacs -Q
>> 6) I obtain two screens I attach
>>
>> When I repeat the steps without the --with-x-toolkit=athena
>> option, everything is fine
>>
>> regards
>>
>> Uwe Brauer
> What version of KWin is that?
I am on Ubuntu 16.04 with trinity https://www.trinitydesktop.org/
How do I find out?
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Mon, 10 Oct 2022 14:23:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 58412 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> Uwe Brauer <oub <at> mat.ucm.es> writes:
> What version of KWin is that?
I just start working with the non athena version, opening a file also causes emacs to shrink dramatically and I end up with something very ugly, screenshot attached.
And obtaining message like
(emacs:17059): Gtk-CRITICAL **: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
[emacs-no-athena.png (image/png, attachment)]
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Tue, 11 Oct 2022 00:30:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 58412 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> I am on Ubuntu 16.04 with trinity https://www.trinitydesktop.org/
Thanks, I will look into this.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Tue, 11 Oct 2022 00:31:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 58412 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> And obtaining message like
> (emacs:17059): Gtk-CRITICAL **: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed
That's a bug in GTK.
Please do NOT change the subject line (which I restored) in bug reports,
thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Tue, 11 Oct 2022 06:00:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 58412 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "PL" == Po Lu <luangruo <at> yahoo.com> writes:
> Uwe Brauer <oub <at> mat.ucm.es> writes:
>> And obtaining message like
>> (emacs:17059): Gtk-CRITICAL **: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed
> That's a bug in GTK.
Ok, but right now I cannot upgrade GTK, so in earlier master versions, I
had no problem, so could there be a fix on the Emacs side?
> Please do NOT change the subject line (which I restored) in bug reports,
> thanks.
Ok
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Tue, 11 Oct 2022 06:18:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 58412 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> Ok, but right now I cannot upgrade GTK, so in earlier master versions, I
> had no problem, so could there be a fix on the Emacs side?
I don't know. If you bisect to the change in Emacs that causes it, then
I could probably fix it.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Tue, 11 Oct 2022 06:28:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 58412 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "PL" == Po Lu <luangruo <at> yahoo.com> writes:
> Uwe Brauer <oub <at> mat.ucm.es> writes:
>> Ok, but right now I cannot upgrade GTK, so in earlier master versions, I
>> had no problem, so could there be a fix on the Emacs side?
> I don't know. If you bisect to the change in Emacs that causes it, then
> I could probably fix it.
Ok, sigh, I was afraid of that, but fair enough, and currently master
has some nice new exiting features I would like to test.
I try that later today.
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Tue, 11 Oct 2022 07:37:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 58412 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> Ok, sigh, I was afraid of that, but fair enough, and currently master
> has some nice new exiting features I would like to test.
BTW, screwing around with the Kwin in Trinity did not result in the bug
for me, so it would be nice if you could bisect for that as well.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Tue, 11 Oct 2022 17:55:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 58412 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "PL" == Po Lu <luangruo <at> yahoo.com> writes:
> Uwe Brauer <oub <at> mat.ucm.es> writes:
>> Ok, sigh, I was afraid of that, but fair enough, and currently master
>> has some nice new exiting features I would like to test.
> BTW, screwing around with the Kwin in Trinity did not result in the bug
> for me, so it would be nice if you could bisect for that as well.
I found it, *you* are the culprit 😉
It is commit 136495f178cc
* commit 136495f178ccd36b23ffc347fe2b6680fd689e34
│ Author: Po Lu <luangruo <at> yahoo.com>
│ Date: Wed, 31 Aug 2022 10:17:20 +0800
│
│ Gently nudge Xt into always setting size hints
│
│ * src/widget.c (update_wm_hints): Force a resource to change
│ every time this function is called. (bug#57475)
│ (EmacsFrameInitialize): Initialize new field.
│ * src/widgetprv.h (EmacsFramePart): New field `size_switch'.
│ * src/xterm.c (x_wm_set_size_hint): Don't change flags if flags
│ is 0.
That causes the problem with and without athena. So it is responsible
for both problems.
I hope that can be solved.
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Wed, 12 Oct 2022 00:48:02 GMT)
Full text and
rfc822 format available.
Message #38 received at 58412 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
>>>> "PL" == Po Lu <luangruo <at> yahoo.com> writes:
>
>> Uwe Brauer <oub <at> mat.ucm.es> writes:
>>> Ok, sigh, I was afraid of that, but fair enough, and currently master
>>> has some nice new exiting features I would like to test.
>
>> BTW, screwing around with the Kwin in Trinity did not result in the bug
>> for me, so it would be nice if you could bisect for that as well.
>
> I found it, *you* are the culprit 😉
>
> It is commit 136495f178cc
>
> * commit 136495f178ccd36b23ffc347fe2b6680fd689e34
> │ Author: Po Lu <luangruo <at> yahoo.com>
> │ Date: Wed, 31 Aug 2022 10:17:20 +0800
> │
> │ Gently nudge Xt into always setting size hints
> │
> │ * src/widget.c (update_wm_hints): Force a resource to change
> │ every time this function is called. (bug#57475)
> │ (EmacsFrameInitialize): Initialize new field.
> │ * src/widgetprv.h (EmacsFramePart): New field `size_switch'.
> │ * src/xterm.c (x_wm_set_size_hint): Don't change flags if flags
> │ is 0.
>
> That causes the problem with and without athena. So it is responsible
> for both problems.
Did you test with GTK during the bisection as well? That code only
affects the X toolkit builds.
Also, what happens if you remove the change to widget.c?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Wed, 12 Oct 2022 06:07:02 GMT)
Full text and
rfc822 format available.
Message #41 received at 58412 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> Uwe Brauer <oub <at> mat.ucm.es> writes:
> Did you test with GTK during the bisection as well? That code only
> affects the X toolkit builds.
You mean for all 9 tests I had to run? No, because then I would have to
run make clean after each compile, right?
That would have doubled my time and it took me the whole afternoon to
run the test, my Thinkpad is from 2017.
> Also, what happens if you remove the change to widget.c?
You mean I revert that particular change to the commit just before?
I will do that now and report back
Once that is solved, I will try to test the GTK stuff.
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Wed, 12 Oct 2022 06:25:01 GMT)
Full text and
rfc822 format available.
Message #44 received at 58412 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
>> Uwe Brauer <oub <at> mat.ucm.es> writes:
>
>> Did you test with GTK during the bisection as well? That code only
>> affects the X toolkit builds.
>
> You mean for all 9 tests I had to run? No, because then I would have to
> run make clean after each compile, right?
Just a build, you don't need to run "make clean" to switch toolkits.
> You mean I revert that particular change to the commit just before?
> I will do that now and report back
Yes, just the change in widget.c. Thank you.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Wed, 12 Oct 2022 06:25:02 GMT)
Full text and
rfc822 format available.
Message #47 received at 58412 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> Uwe Brauer <oub <at> mat.ucm.es> writes:
> Did you test with GTK during the bisection as well? That code only
> affects the X toolkit builds.
> Also, what happens if you remove the change to widget.c?
I did this now, and run
Make clean
make boostrap
Again (not sure whether this necessary)
Be it as it may, this *solves* my issue. So this code in widget.c screws
up my athena setting.
I am waiting for a solution to this problem, before continuing to bisect
the GTK problem.
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Wed, 12 Oct 2022 06:46:02 GMT)
Full text and
rfc822 format available.
Message #50 received at 58412 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> I did this now, and run
>
> Make clean
> make boostrap
>
> Again (not sure whether this necessary)
>
> Be it as it may, this *solves* my issue. So this code in widget.c screws
> up my athena setting.
Unfortunately, without it, frame placement is screwed up for everyone
else. I will push what is hopefully a fix shortly.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Wed, 12 Oct 2022 06:53:01 GMT)
Full text and
rfc822 format available.
Message #53 received at 58412 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "PL" == Po Lu <luangruo <at> yahoo.com> writes:
> Uwe Brauer <oub <at> mat.ucm.es> writes:
>> I did this now, and run
>>
>> Make clean
>> make boostrap
>>
>> Again (not sure whether this necessary)
>>
>> Be it as it may, this *solves* my issue. So this code in widget.c screws
>> up my athena setting.
> Unfortunately, without it, frame placement is screwed up for everyone
> else. I will push what is hopefully a fix shortly.
I would appreciate that. Thanks
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Wed, 12 Oct 2022 07:09:02 GMT)
Full text and
rfc822 format available.
Message #56 received at 58412 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> I would appreciate that. Thanks
Now done. Please test, thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58412
; Package
emacs
.
(Wed, 12 Oct 2022 07:40:02 GMT)
Full text and
rfc822 format available.
Message #59 received at 58412 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "PL" == Po Lu <luangruo <at> yahoo.com> writes:
> Uwe Brauer <oub <at> mat.ucm.es> writes:
>> I would appreciate that. Thanks
> Now done. Please test, thanks.
I pulled, run run make clean, just in case, run configure with athena and compiled:
Issue solved, thanks very much!
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
[smime.p7s (application/pkcs7-signature, attachment)]
Reply sent
to
Po Lu <luangruo <at> yahoo.com>
:
You have taken responsibility.
(Wed, 12 Oct 2022 08:10:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Uwe Brauer <oub <at> mat.ucm.es>
:
bug acknowledged by developer.
(Wed, 12 Oct 2022 08:10:02 GMT)
Full text and
rfc822 format available.
Message #64 received at 58412-done <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> I pulled, run run make clean, just in case, run configure with athena and compiled:
>
> Issue solved, thanks very much!
Thanks, then I'm closing this bug. Please open a new report about the
GTK one.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 09 Nov 2022 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 308 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.