[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40200: 28.0.50; NS: text drawing glitches in maximized frame with fr
From: |
Alan Third |
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) |
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
- bug#40200: 28.0.50; NS: text drawing glitches in maximized frame with frame-inhibit-implied-resize, Andrii Kolomoiets, 2020/03/23
- bug#40200: 28.0.50; NS: text drawing glitches in maximized frame with frame-inhibit-implied-resize, Eli Zaretskii, 2020/03/23
- bug#40200: 28.0.50; NS: text drawing glitches in maximized frame with frame-inhibit-implied-resize,
Alan Third <=
- bug#40200: [PATCH] Fix NS frame resizing issues (bug#40200, bug#28872), Alan Third, 2020/03/25
- bug#28872: [PATCH] Fix NS frame resizing issues (bug#40200, bug#28872), Andrii Kolomoiets, 2020/03/26
- bug#28872: [PATCH v2] Fix NS frame resizing issues (bug#40200, bug#28872), Alan Third, 2020/03/26
- bug#40200: [PATCH v2] Fix NS frame resizing issues (bug#40200, bug#28872), Andrii Kolomoiets, 2020/03/27
- bug#28872: [PATCH v2] Fix NS frame resizing issues (bug#40200, bug#28872), Andrii Kolomoiets, 2020/03/27
- bug#28872: [PATCH v2] Fix NS frame resizing issues (bug#40200, bug#28872), Alan Third, 2020/03/27