unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mattias Engdegård" <mattias.engdegard@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: "Gerd Möllmann" <gerd.moellmann@gmail.com>, 72440@debbugs.gnu.org
Subject: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message
Date: Mon, 5 Aug 2024 21:38:41 +0200	[thread overview]
Message-ID: <88FA7FD1-74E9-4B14-842D-99CB4C653742@gmail.com> (raw)
In-Reply-To: <ZrElEKAbrsD5HXnB@idiocy.org>

5 aug. 2024 kl. 21.16 skrev Alan Third <alan@idiocy.org>:

> The correct thing to do is only set this when compiling on v14 or
> above, so the #ifdef is the right way to go.

Thanks, I pushed something that at least silenced the compiler, but please verify that I didn't break anything.

But should I worry about the property not being set on my machine? If I understand the release notes:

> In macOS 14, AppKit is exposing the clipsToBounds property of NSView.
> 
> For applications linked against the macOS 14 SDK, the default value of this property is true. Apps linked against older SDKs default to false. Some classes, like NSClipView, continue to default to true. The change in defaults recognizes that it is vastly easier to reason about clipping a view’s descendants than it is to unclip a view’s ancestors.
> 
> Users can turn clipping back on by using the NSView.clipsToBounds setter or using the attributes inspector of a view in the Xcode interface builder.
> This property is available back to macOS 10.9. This availability is intended to allow code targeting older OSes to set this property to true without guarding the setter in an availability check. Setting this property to false on previous OSes may not work reliably.

correctly, then the property exists in older versions but is just not exposed -- is that a correct interpretation? So attempting to set it might actually work, even though the compiler warns? If so, would it be possible to declare it manually to please the compiler?






  reply	other threads:[~2024-08-05 19:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-03 10:33 bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message Gerd Möllmann
2024-08-05  7:42 ` Gerd Möllmann
2024-08-05 15:14 ` Mattias Engdegård
2024-08-05 15:27   ` Gerd Möllmann
2024-08-05 15:49     ` Mattias Engdegård
2024-08-05 18:27       ` Gerd Möllmann
2024-08-05 19:16         ` Alan Third
2024-08-05 19:38           ` Mattias Engdegård [this message]
2024-08-05 19:46             ` Mattias Engdegård
2024-08-05 20:01               ` Alan Third
2024-08-06  3:29                 ` Gerd Möllmann
2024-08-05 20:12             ` Alan Third

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=88FA7FD1-74E9-4B14-842D-99CB4C653742@gmail.com \
    --to=mattias.engdegard@gmail.com \
    --cc=72440@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=gerd.moellmann@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 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).