GNU bug report logs -
#16013
24.3.50; Rows in height is interpreted as pixels.
Previous Next
Reported by: Jan Djärv <jan.h.d <at> swipnet.se>
Date: Sat, 30 Nov 2013 13:10:01 UTC
Severity: normal
Tags: moreinfo
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Tue, 03 Dec 2013 08:56:04 +0100 martin rudalics <rudalics <at> gmx.at> wrote:
>> FYI I applied the new patch and started the rebuilt Emacs with my
>> initializations, which contain this:
>>
>> (modify-frame-parameters nil '((width . 85) (fullscreen . fullheight)))
>>
>> However, window-width in fact returned 73 (but window-height was the full
>> height). Then I evalled this:
>>
>> (modify-frame-parameters nil '((width . 85)))
>>
>> Now, window-width was 78. (Maybe the increase despite the same passed
>> width value is because I customize the tool bar to appear on the left
>> side, and maybe that takes effect after the initial frame width is set.)
>> To get a window-width of 85 columns, I had to give the width
>> frame-parameter a value of 92.
>
> I suppose this is the same issue I experience with my height value when
> the toolbar is at the top.
I think that's it, and this seems to be confirmed by starting my Emacs
like this:
emacs --eval '(tool-bar-mode -1)'
Now window-width returns the correct value of 85. So it seems that the
metrics of your new patch are correct, but not the interaction of width
and height frame parameters with the tool bar.
> Which toolkit do you use, if any?
gtk3
Steve Berman
This bug report was last modified 4 years and 257 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.