From: martin rudalics <rudalics@gmx.at>
To: Yuuki Harano <masm+emacs@masm11.me>
Cc: emacs-devel@gnu.org
Subject: Re: Proposing changes to adjust_frame_size
Date: Mon, 10 May 2021 16:16:27 +0200 [thread overview]
Message-ID: <1e89f9a8-49cf-7ec2-9030-c2d90c3e409f@gmx.at> (raw)
In-Reply-To: <20210510.221830.1116279060678993295.masm@luna.pink.masm11.me>
> ----------------
> (setq frame (make-frame '((width . 60) (height . 20)
> (left-fringe . 0) (right-fringe . 0)
> (vertical-scroll-bars . nil)
> (visibility . nil))))
> #<frame emacs@luna 0x558a98460d78>
>
> (make-frame-visible frame)
> #<frame emacs@luna 0x558a98460d78>
>
> (frame-width frame)
> 60
>
> (frame-height frame)
> 20
> ----------------
This would indicate that the toolbar lines implied resize is the culprit
but this
> But sometimes:
>
> ----------------
> (frame-width frame)
> 40
>
> (frame-height frame)
> 5
> ----------------
is very strange.
>> And how does a normal, visible pgtk frame behave when you toggle
>> scroll
>> bars or fringes on and off? Here it expands and shrinks.
>
> Shrinks and shrinks.
I had this when toggling menu bar lines on Motif builds.
> ----------------
> (frame-width)
> 81
>
> (modify-frame-parameters nil '((right-fringe . 0)))
> nil
>
> (frame-width)
> 79
>
> (modify-frame-parameters nil '((right-fringe . 1)))
> nil
>
> (frame-width)
> 76
>
> (modify-frame-parameters nil '((right-fringe . 0)))
> nil
>
> (frame-width)
> 74
>
> (modify-frame-parameters nil '((right-fringe . 1)))
> nil
>
> (frame-width)
> 71
> ----------------
>
> It is the same when I toggle vertical-scroll-bars.
>
> I'll debug...
Please try (if those work on your system) with
- frame-resize-pixelwise t initially
- a pgtk build using GTK2
- a normal "non-pgtk" GTK3 build
and also do initialize
frame_size_history = list1 (make_fixnum (100));
and post the contents of the file displayed by
(frame--size-history)
(pop-to-buffer "*frame-size-history*"))
martin
next prev parent reply other threads:[~2021-05-10 14:16 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-25 17:11 Proposing changes to adjust_frame_size martin rudalics
2021-04-27 8:22 ` martin rudalics
2021-04-27 14:16 ` Yuuki Harano
2021-05-02 8:46 ` martin rudalics
2021-05-02 11:21 ` Alan Third
2021-05-02 16:17 ` martin rudalics
2021-05-05 8:51 ` martin rudalics
2021-05-05 10:47 ` Yuuki Harano
2021-05-05 11:24 ` martin rudalics
2021-05-05 14:07 ` Yuuki Harano
2021-05-05 15:01 ` martin rudalics
2021-05-05 16:45 ` martin rudalics
2021-05-05 18:54 ` Tassilo Horn
2021-05-06 7:44 ` martin rudalics
2021-05-06 7:59 ` Tassilo Horn
2021-05-06 8:39 ` martin rudalics
2021-05-06 8:49 ` Tassilo Horn
2021-05-06 12:10 ` martin rudalics
2021-05-06 12:31 ` Tassilo Horn
2021-05-06 14:10 ` martin rudalics
2021-05-06 14:47 ` Tassilo Horn
2021-05-07 8:03 ` martin rudalics
2021-05-08 7:02 ` Tassilo Horn
2021-05-08 7:16 ` martin rudalics
2021-05-08 14:03 ` Tassilo Horn
2021-05-08 15:17 ` martin rudalics
2021-05-08 20:32 ` Tassilo Horn
2021-05-09 8:41 ` martin rudalics
2021-05-09 10:09 ` Garjola Dindi
2021-05-09 10:12 ` Garjola Dindi
2021-05-09 18:48 ` Tassilo Horn
2021-05-10 8:25 ` martin rudalics
2021-05-10 12:27 ` martin rudalics
2021-05-10 19:05 ` Tassilo Horn
2021-05-10 19:21 ` martin rudalics
2021-05-10 19:28 ` Tassilo Horn
2021-05-11 8:29 ` martin rudalics
2021-05-11 9:25 ` Tassilo Horn
2021-05-12 8:44 ` martin rudalics
2021-05-12 14:53 ` Tassilo Horn
2021-05-12 16:40 ` martin rudalics
2021-05-12 19:06 ` Tassilo Horn
2021-05-13 7:55 ` martin rudalics
2021-05-13 8:08 ` Tassilo Horn
2021-05-16 8:29 ` martin rudalics
2021-05-16 8:33 ` Tassilo Horn
2021-05-16 9:14 ` martin rudalics
2021-05-16 9:16 ` Tassilo Horn
2021-05-16 12:24 ` martin rudalics
2021-05-16 19:08 ` Tassilo Horn
2021-05-17 7:33 ` martin rudalics
2021-05-06 14:41 ` Yuuki Harano
2021-05-09 9:32 ` Yuuki Harano
2021-05-09 13:47 ` martin rudalics
2021-05-09 15:30 ` Yuuki Harano
2021-05-10 8:24 ` martin rudalics
2021-05-10 13:18 ` Yuuki Harano
2021-05-10 14:16 ` martin rudalics [this message]
2021-05-10 15:41 ` Yuuki Harano
2021-05-10 19:20 ` martin rudalics
2021-05-11 14:32 ` Yuuki Harano
2021-05-12 8:47 ` martin rudalics
2021-05-13 8:48 ` Garjola Dindi
2021-05-01 18:59 ` Alan Third
2021-05-02 7:38 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1e89f9a8-49cf-7ec2-9030-c2d90c3e409f@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@gnu.org \
--cc=masm+emacs@masm11.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).