all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Andrii Kolomoiets <andreyk.mad@gmail.com>
Cc: 40200@debbugs.gnu.org
Subject: bug#40200: 28.0.50; NS: text drawing glitches in maximized frame with frame-inhibit-implied-resize
Date: Tue, 24 Mar 2020 00:54:35 +0100 (CET)	[thread overview]
Message-ID: <20200323235432.GA24426@breton.holly.idiocy.org> (raw)
In-Reply-To: <m21rpjgcsg.fsf@gmail.com>

On Mon, Mar 23, 2020 at 08:13:19PM +0200, Andrii Kolomoiets wrote:
> 1. emacs -Q
> 2. (setq frame-inhibit-implied-resize t)
> 3. M-x toggle-frame-maximized
> 4. C-x b RET (to open *Messages* buffer)
> 5. M-x tool-bar-mode
> 
> After some up-down mouse scroll, buffer text is drawn incorrectly.
> 
> Not sure if image attaches are allowed here, so screenshot is on imgur:
> https://imgur.com/a/QSSNePE

As far as I’m aware images are allowed.

This is surprisingly complicated! It appears that when the tool‐bar is
removed the window doesn’t change size so there is no resize event
sent. I’ve added an NSView resize notification on my local copy and it
now draws OK, but it doesn’t inform Emacs that the frame size has
changed so it leaves a blank space at the bottom of the frame. I think
I’ve seen this happen before on occasion.

It looks to me like the right thing to do here is to add this resize
notification and use it to replace the window resize based system we
use at the moment.

The current resizing code is a little spaghetti‐like as it has built
up over time to do various things, so refactoring it is potentially
troublesome. Perhaps it will simplify things, though.
-- 
Alan Third





  parent reply	other threads:[~2020-03-23 23:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23 18:13 bug#40200: 28.0.50; NS: text drawing glitches in maximized frame with frame-inhibit-implied-resize Andrii Kolomoiets
2020-03-23 19:22 ` Eli Zaretskii
2020-03-23 19:47   ` Andrii Kolomoiets
2020-03-23 23:54 ` Alan Third [this message]
2020-03-25 22:28   ` bug#40200: [PATCH] Fix NS frame resizing issues (bug#40200, bug#28872) Alan Third
2020-03-26 17:35     ` bug#28872: " Andrii Kolomoiets
2020-03-26 21:21       ` bug#28872: [PATCH v2] " Alan Third
2020-03-27  9:45         ` Andrii Kolomoiets
2020-03-27 13:22         ` Andrii Kolomoiets
2020-03-28  1:56           ` Alan Third
2020-04-04 14:17             ` bug#40200: [PATCH v3] " Alan Third
2020-04-06  6:57               ` Andrii Kolomoiets
2020-04-06 18:44                 ` bug#28872: [PATCH v4] " Alan Third
2020-04-07  8:14                   ` bug#40200: " Andrii Kolomoiets
2020-04-16 18:24                     ` bug#28872: " Alan Third
2020-04-18  1:52                       ` bug#40200: " HaiJun Zhang
2020-04-18 12:07                         ` Alan Third
2020-04-18 14:12                           ` HaiJun Zhang
2020-04-18 15:26                             ` Alan Third
2020-04-19  1:49                               ` HaiJun Zhang
2020-05-03 16:26                                 ` Alan Third
2020-05-03 17:13                                   ` Filipp Gunbin
2020-05-03 18:41                                     ` Alan Third
2020-05-03 19:49                                       ` Filipp Gunbin

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200323235432.GA24426@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=40200@debbugs.gnu.org \
    --cc=andreyk.mad@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.