bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31745: 回复: bug#31745: 回复:回复:Re: 回复:bug#31745: Frame's bug whenwindow


From: Robert Pluim
Subject: bug#31745: 回复: bug#31745: 回复:回复:Re: 回复:bug#31745: Frame's bug whenwindow-system
Date: Thu, 28 Jun 2018 11:06:15 +0200

martin rudalics <rudalics@gmx.at> writes:

>
> I'm too silly.  I obviously meant
>
> (modify-frame-parameters nil '((left . 0) (top . 0) (width . 130) (height . 
> 56)))
>

That does nothing, but the following resizes the frame:

(modify-frame-parameters nil '((left . 0) (top . 0) (width . 100) (height . 
48)))

And has done the right thing:

(frame-parameter nil 'height) => 48
(frame-parameter nil 'width) => 100


> What give (frame-pixel-width) and (frame-pixel-height) for this frame
> in the bad and good states?
>

Bad:

(frame-pixel-width) => 1849
(frame-pixel-height) => 1680

Good:

(frame-pixel-width) => 1849
(frame-pixel-height) => 1680

>> x86_64-pc-linux-gnu, GTK+ Version 3.18.9, running KDE plasma 5.12.5,
>> using kwin. Basically Ubuntu 16.04 with KDE on top.
>
> Can you try with another toolkit or X without any toolkit so we can
> tell whether this is GTK or window manager specific?

--with-x-toolkit={none,lucid} both work fine (although you can see the
  modeline of the frame appear as if it were 80x36, and then it
  resizes correctly to 130x56).

Regards

Robert





reply via email to

[Prev in Thread] Current Thread [Next in Thread]