From: Angelo Graziosi <angelo.g0@libero.it>
To: Alan Third <alan@idiocy.org>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: Scroll bars on macOS builds
Date: Thu, 27 Jan 2022 23:10:42 +0100 (CET) [thread overview]
Message-ID: <531448434.456398.1643321442866@mail1.libero.it> (raw)
In-Reply-To: <YfL5tnJAMfNj7Q0b@idiocy.org>
> Il 27/01/2022 20:59 Alan Third ha scritto:
>
>
> On Wed, Jan 26, 2022 at 06:07:24PM +0100, Angelo Graziosi wrote:
> > > Il 26/01/2022 00:01 Alan Third ha scritto:
> > >
> > >
> > > Can you try changing line 7198 in nsterm.m from
> > >
> > > [self setWantsLayer:YES];
> > >
> > > to
> > >
> > > [self setWantsLayer:NO];
> > >
> > > ?
> >
> > Emacs crashes at startup. I have rebuilt Emacs from current master and from master-20220111 with your suggestions but it wont start!
> >
> > Attached the bug report it want to send to Apple people...
>
> Actually, can you try this again, but remove the call to flushWindow
> in unlockFocus (line 7902)? I've a feeling that's a GNUstep method
> that's accidentally crept into the Cocoa code.
I have built current master with patch (do you mean it?) below and it works, i.e. scrollbars are visible!
--- nsterm.m.orig 2022-01-27 22:26:12.000000000 +0100
+++ nsterm.m 2022-01-27 22:44:59.000000000 +0100
@@ -7195,7 +7195,7 @@
on resize. Unfortunately it also means the frame will not be
automatically marked for display, but we can do that ourselves in
resizeWithOldSuperviewSize. */
- [self setWantsLayer:YES];
+ [self setWantsLayer:NO];
[self setLayerContentsRedrawPolicy:
NSViewLayerContentsRedrawOnSetNeedsDisplay];
[self setLayerContentsPlacement:NSViewLayerContentsPlacementTopLeft];
@@ -7899,7 +7899,6 @@
else
{
[super unlockFocus];
- [super flushWindow];
}
#endif
}
next prev parent reply other threads:[~2022-01-27 22:10 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-31 21:58 Scroll bars on macOS builds Angelo Graziosi
2022-01-02 14:20 ` Alan Third
2022-01-02 18:41 ` Angelo Graziosi
2022-01-04 11:08 ` Alan Third
2022-01-04 14:29 ` Angelo Graziosi
2022-01-12 0:12 ` Angelo Graziosi
2022-01-22 11:33 ` Alan Third
2022-01-22 15:06 ` Angelo Graziosi
2022-01-22 23:06 ` Tim Cross
2022-01-23 20:11 ` Alan Third
2022-01-23 20:06 ` Alan Third
2022-01-23 21:31 ` Angelo Graziosi
2022-01-23 22:23 ` Angelo Graziosi
2022-01-25 23:01 ` Alan Third
2022-01-26 17:07 ` Angelo Graziosi
2022-01-26 22:31 ` Alan Third
2022-01-27 19:59 ` Alan Third
2022-01-27 22:10 ` Angelo Graziosi [this message]
2022-01-29 15:43 ` Angelo Graziosi
2022-01-30 4:19 ` Richard Stallman
2022-01-30 22:08 ` Angelo Graziosi
2022-01-30 12:37 ` Alan Third
2022-01-30 21:57 ` Angelo Graziosi
2022-02-03 13:47 ` Angelo Graziosi
2022-02-03 16:39 ` Angelo Graziosi
2022-01-30 12:50 ` Po Lu
2022-01-30 22:03 ` Angelo Graziosi
2022-01-27 14:44 ` Angelo Graziosi
2022-01-27 17:18 ` Angelo Graziosi
2022-01-22 23:10 ` Brahimi Saifullah
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=531448434.456398.1643321442866@mail1.libero.it \
--to=angelo.g0@libero.it \
--cc=alan@idiocy.org \
--cc=emacs-devel@gnu.org \
/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.