[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs's set-frame-size can not work well with gnome-shell?
From: |
Dmitry Gutov |
Subject: |
Re: Emacs's set-frame-size can not work well with gnome-shell? |
Date: |
Tue, 14 Jan 2020 05:09:07 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 11.01.2020 16:45, martin rudalics wrote:
> BTW, the problem with set-frame-size seems to affect child frames
> only, the regular frames get resized all right. So maybe there's
> something we can troubleshoot ourselves here.
We can try:
- Does setting the 'height' and 'width' frame parameter fail the same
way? Does setting 'user-size' change anything?
No change. Hopefully I'm testing it right.
- Are the arguments we pass to gtk_window_resize (around line 1004 of
xg_frame_set_char_size in gtkutil.c) OK in your opinion?
Umm, I'd really have to study the code to answer. I don't know this part
of Emacs at all.
Or do you want be to run it in debugger?
- Do you see any special messages when running Emacs from a console?
None.
And so far, my only guess is: GNOME doesn't resize non-decorated
windows. Or our code doesn't. Because set-frame-size likewise fails for
fullscreen (or even half-screen) windows, and they lack most of the
decorations as well (aside from one window border).
- What does (frame-geometry) return for the frame before and after the
failed resizing attempt?
It's unchanged, and returns e.g.
((outer-position 2037 . 183)
(outer-size 768 . 360)
(external-border-size 0 . 0)
(outer-border-width . 0)
(title-bar-size 0 . 0)
(menu-bar-external . t)
(menu-bar-size 0 . 0)
(tab-bar-size 0 . 0)
(tool-bar-external . t)
(tool-bar-position . top)
(tool-bar-size 0 . 0)
(internal-border-width . 0))
- What does (frame-geometry) return when you create that child frame
right away with the parameters it should have after resizing?
((outer-position 2037 . 183)
(outer-size 768 . 720)
(external-border-size 0 . 0)
(outer-border-width . 0)
(title-bar-size 0 . 0)
(menu-bar-external . t)
(menu-bar-size 0 . 0)
(tab-bar-size 0 . 0)
(tool-bar-external . t)
(tool-bar-position . top)
(tool-bar-size 0 . 0)
(internal-border-width . 0))
- Can you reproduce Bug#38452?
Yes. Every evaluation of the form in the first message shifts a simple,
non-maximized frame a bit up-left by (24 . 22).
- Emacs's set-frame-size can not work well with gnome-shell?, tumashu, 2020/01/09
- Re: Emacs's set-frame-size can not work well with gnome-shell?, martin rudalics, 2020/01/10
- Re:Re: Emacs's set-frame-size can not work well with gnome-shell?, tumashu, 2020/01/10
- Re: Emacs's set-frame-size can not work well with gnome-shell?, martin rudalics, 2020/01/11
- Re: Emacs's set-frame-size can not work well with gnome-shell?, Dmitry Gutov, 2020/01/11
- Re: Emacs's set-frame-size can not work well with gnome-shell?, martin rudalics, 2020/01/11
- Re: Emacs's set-frame-size can not work well with gnome-shell?, Dmitry Gutov, 2020/01/11
- Re: Emacs's set-frame-size can not work well with gnome-shell?, martin rudalics, 2020/01/11
- Re: Emacs's set-frame-size can not work well with gnome-shell?, Dmitry Gutov, 2020/01/11
- Re: Emacs's set-frame-size can not work well with gnome-shell?, martin rudalics, 2020/01/11
- Re: Emacs's set-frame-size can not work well with gnome-shell?,
Dmitry Gutov <=
- Re: Emacs's set-frame-size can not work well with gnome-shell?, martin rudalics, 2020/01/14
- Re: Emacs's set-frame-size can not work well with gnome-shell?, Dmitry Gutov, 2020/01/14
- Re: Emacs's set-frame-size can not work well with gnome-shell?, martin rudalics, 2020/01/15
- Re: Emacs's set-frame-size can not work well with gnome-shell?, Dmitry Gutov, 2020/01/15
- Re: Emacs's set-frame-size can not work well with gnome-shell?, martin rudalics, 2020/01/16
- Re: Emacs's set-frame-size can not work well with gnome-shell?, Dmitry Gutov, 2020/01/16
- Re: Emacs's set-frame-size can not work well with gnome-shell?, martin rudalics, 2020/01/16
- Re: Emacs's set-frame-size can not work well with gnome-shell?, Dmitry Gutov, 2020/01/16
- Re: Emacs's set-frame-size can not work well with gnome-shell?, martin rudalics, 2020/01/16
- Re: Emacs's set-frame-size can not work well with gnome-shell?, Dmitry Gutov, 2020/01/16