From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 03 06:33:48 2024 Received: (at submit) by debbugs.gnu.org; 3 Aug 2024 10:33:48 +0000 Received: from localhost ([127.0.0.1]:54100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saC56-0000Pd-4x for submit@debbugs.gnu.org; Sat, 03 Aug 2024 06:33:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:42528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saC53-0000PS-Ij for submit@debbugs.gnu.org; Sat, 03 Aug 2024 06:33:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1saC4j-0005py-NH for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2024 06:33:25 -0400 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1saC4b-0001uo-Ih for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2024 06:33:19 -0400 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5a156557029so13450347a12.2 for ; Sat, 03 Aug 2024 03:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722681195; x=1723285995; darn=gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=6jO3G/LtIdMqfsEiHwwJ2mIguQzTfcSBvn7JrPJaZQo=; b=c8z24d/4D2D1AlffYO+M4e2cwgVbyPq6naz1IwVSGqXN9Bn0Gbyi0VGFLk0TrlW6ZU AsZJ0Tf2L/3LzirgVm5cgH1wkllEQRbxJ7EFTqSNB6QmwTlHaBgtItVGqVduoUIbOvlT //gcFnifSU8Zw7QPJjKBoI7KaA8PmwCxbuN3mMriuUiOxhJ10xwakm9TGB3ucltQ+GXa kUNhkDgXxF+Tg0kYjrNeMD974ymbcyFfnNXma2KWN7xV97wt+cvjT4Y4XOLFIQ5d94YJ s4ohTg3fh8Ecm/+jkMt7YQb/v2OOte141gCPQ7ftQ2VtTIHo3TMw1xZb/ZgznDbFsrhT iBSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722681195; x=1723285995; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6jO3G/LtIdMqfsEiHwwJ2mIguQzTfcSBvn7JrPJaZQo=; b=cr3GFB2EUNB9CwQOOSmA9rh3cWQ4zaJtUBwYxHdfZN3GpSSZsC1hMQjsfz4TIwJ+T9 a92fwsfLZGjLpJes1gRT8KxvVOKeZW8m416G5HzNPzU60nHAIxycMTHDF8VRx8jQLTZD bN/LgqE2GR6dSehlR2KC4VM9wVe1Bd3HAIu6m9qIPv7e6fb1aByIxlcocd5t4NRAlp9T wYM79VgWN8Pu9Vf/rsKU6Mzfg6flFY/mqSWkJ7t6OpX68yysSb+ewuT/bXDCpXa4sMVx FY3TjT2v3D0WCSTgCACEoDWD92YrHRhmgotE7eQ8BLNTFbXBF+coCYEV6ravLH14jgvg kuyw== X-Gm-Message-State: AOJu0YxdM9/4TTCRtulr8MFZXQ0qXWSTBQiTzEIof6N8BY4ujUEwrtTk Ut3RojSfraQWfkqCITLJ/bV0oAjZsEHzl3HMh4SKfJuIY+a9yPVZgGMlwg== X-Google-Smtp-Source: AGHT+IGtOV95mid4hJbzDueT9oeQucAdBJhXUEiO4kIL+TDj4GCCJdkvWXydPn+ZAxsL/fql/w6EYg== X-Received: by 2002:a17:907:e8c:b0:a7a:9144:e23a with SMTP id a640c23a62f3a-a7dc50a4646mr472396866b.43.1722681195266; Sat, 03 Aug 2024 03:33:15 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a5d1.dip0.t-ipconnect.de. [79.227.165.209]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9ec8d7fsm199041366b.219.2024.08.03.03.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Aug 2024 03:33:14 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: bug-gnu-emacs@gnu.org Subject: 31.0.50; MacOS: TUINSRemoteViewController log message X-Debbugs-Cc: Date: Sat, 03 Aug 2024 12:33:13 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x52e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Alan Third X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On macOS 14, Emacs occasionally prints to stderr 2024-08-03 11:45:26.785586+0200 emacs[97956:1226150] [miscellany] CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them Some digging on the Internet reveals that this is in the end caused by an API change in NSView in macOS 14. https://developer.apple.com/documentation/macos-release-notes/appkit-release-notes-for-macos-14#NSView /* Defaults to NO on macOS 14 and later. Defaults to YES on previous releases. Note some classes (like NSClipView) set their own default values differently than NSView itself. */ @property BOOL clipsToBounds API_AVAILABLE(macos(10.9)); Proposed fix for emacs-30 (minus the igc stuff): 1 file changed, 4 insertions(+) src/nsterm.m | 4 ++++ modified src/nsterm.m @@ -8069,6 +8069,10 @@ - (instancetype) initFrameFromEmacs: (struct frame *)f emacsframe = igc_xalloc_raw_exact (1); #else emacsframe = xzalloc (sizeof *emacsframe); +#endif +#ifdef NS_IMPL_COCOA + if (NSAppKitVersionNumber >= NSAppKitVersionNumber14_0) + self.clipsToBounds = YES; #endif windowClosing = NO; processingCompose = NO; From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 03:43:41 2024 Received: (at 72440) by debbugs.gnu.org; 5 Aug 2024 07:43:41 +0000 Received: from localhost ([127.0.0.1]:57816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sasNZ-0005st-5I for submit@debbugs.gnu.org; Mon, 05 Aug 2024 03:43:41 -0400 Received: from mail-lj1-f169.google.com ([209.85.208.169]:58771) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sasNX-0005sP-LM for 72440@debbugs.gnu.org; Mon, 05 Aug 2024 03:43:40 -0400 Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2ef2cce8be8so124309751fa.1 for <72440@debbugs.gnu.org>; Mon, 05 Aug 2024 00:43:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722843731; x=1723448531; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ECpFn1kT4LzfnjC6ppzgR6Kms2mVsa1PUgx6UfGllrw=; b=DiQgyYzImpMZSY1b1b5K22YmUPOT/WKUvRtFi267ljEF+etLM1xFESW4FlEM2h51XJ 89R6Tl6zkIheRNlCJ/uyex3bRg+1H7nKzh6yoA2L3tX5BBK0mqBTgyFKvRmS01wjrXpW l24G0YnrjpXPxbjCbq+8ch92JL/xec9Hm7E2gEWBFGV2aG/Jax0GC5oinWpi9DCHXH3j Fh9Qh8Oc+NAMN5ixEYv6i9AjUvvrjnrPc5TX2C84AIlhs6ltjt6dT2KVHKBMjPAFpQKt zY3vjzA8MXpUBM6WJzZ/SOuRGJfnOw0b6T/rkRntVpJEcY6ARr2BZqrYsLFoZqaCbPNE gGvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722843731; x=1723448531; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ECpFn1kT4LzfnjC6ppzgR6Kms2mVsa1PUgx6UfGllrw=; b=ub7b72sEKdvH9Ok0c8zBS2NJdQtUcd0+bj/8x489w7E31bKsjIY7V+DcaOu2GrP7qJ C6vGPEhjoLhVGrmKdP4zYvU0ZUIaOfB5vhLw1c7sqoFrcvJzX/BlVAxUZWRGx/PC8/Y1 Hu4iJ1Oq1zMwE3ds/tCOIdPdcN1EbVV3zpfcSMFaNkN8QxHIe3nGNQIxLkt+QSZ878oY gi+YkHef+QcIVNKPzZsNylnFiXgT2amDsXAVMi31F67he87HtBtIXywLfSBPI8UZKZE6 7gpAWytL4yBmXoaQT4e/0RnyieCavu2RP/rkPGYi/v8zK1HJ3PFN3ErmPRGCZLc6tW+4 uRag== X-Gm-Message-State: AOJu0YxAuev8Ode66MnTofZ3BaHlISE8Bzen3WYmci8tK6bMdQKDXLFD Z3EXAGvOKQgWKesI3FfPW2O2il1uR8X+KglWZ8N/is9MQJOz0PlcHzHDtQ== X-Google-Smtp-Source: AGHT+IGWRui0hGO/6xes8YA65EtlJhKYwN433x0xtOWrcU94wsiKmHA0re5Ld78krlwpojVppEn85Q== X-Received: by 2002:ac2:4983:0:b0:52e:934c:8e76 with SMTP id 2adb3069b0e04-530d1ce6866mr570561e87.41.1722843730657; Mon, 05 Aug 2024 00:42:10 -0700 (PDT) Received: from pro2.fritz.box (pd9e366bb.dip0.t-ipconnect.de. [217.227.102.187]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5b9ecf97448sm2911524a12.21.2024.08.05.00.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 00:42:10 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: 72440@debbugs.gnu.org Subject: Re: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Sat, 03 Aug 2024 12:33:13 +0200") References: Date: Mon, 05 Aug 2024 09:42:09 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72440 Cc: Alan Third X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Gerd M=C3=B6llmann writes: > Proposed fix for emacs-30 (minus the igc stuff): Pushed to master instead, and closing. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 03:43:48 2024 Received: (at control) by debbugs.gnu.org; 5 Aug 2024 07:43:48 +0000 Received: from localhost ([127.0.0.1]:57819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sasNg-0005tS-FL for submit@debbugs.gnu.org; Mon, 05 Aug 2024 03:43:48 -0400 Received: from mail-ed1-f43.google.com ([209.85.208.43]:48431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sasNe-0005su-Fm for control@debbugs.gnu.org; Mon, 05 Aug 2024 03:43:46 -0400 Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5a10835487fso13491036a12.1 for ; Mon, 05 Aug 2024 00:43:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722843738; x=1723448538; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:from:to:cc:subject:date:message-id:reply-to; bh=bECRxG+M/V+TzzT2BGtSFSH6m2gAmi0QCCw7/jHFWhY=; b=KYTIdIYepQ6Sbq64jmHeGqswESJJh1WJqqZacC+r5jHOonSY03WKAU5N31B7QKULjZ uQ3G6cNes0RJrrmQUO6A+rBRmN0eymbqez+OLPE/gCIH5FchA0NXW8rma8+crLs2dV++ dM7mj77fNYTVOGEhdrtzLOHhGSj85eQiLaDKGG63Hpc6VTJzKDf9AM22QlMNRa3v0QRv rdHg1xmVVtlXoa039LZ6A2hfuaB1XGDe7f/hDN04m8zZkvUSAgqbWKtu154ZnsR6cxzs nnwMtLIKJdo5VI/PUaG4hIj2MI4hB0UAIlpC5ExSbAsvDzNSZbX7sjwx8zsV15IIs2TS YSSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722843738; x=1723448538; h=content-transfer-encoding:mime-version:subject:from:to:message-id :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bECRxG+M/V+TzzT2BGtSFSH6m2gAmi0QCCw7/jHFWhY=; b=lepsRBiOX+hFARekn3VdPnlPHrqguDnFXqIogRQBpSXUjz/ei8KGVdwMneloh88BsG Y/629TcQOsyjSQXRomicRj6zXrMtPIO7N7TxUxMOaa2gKTbxewKVxsjHtIO9qUr+BHZA hzb3tvRISGQiLrTtkla068xBJrfOGD1hwkYEOtlPxyvEt3XqOY8B0MAtB9vMGx+N+1xm Xn3IY+GLiAgGns10iLp8k5DGG6VDneTwEDkGeKctM1ElU6slxiEa+6SlaMBxZregtpB3 05UPoGvPG2fZZ735LjDwLT7i2Dlg0hZJJbDNwa8ROXcPXLdJqAq9umqGJC2fvUitIEf/ a5pQ== X-Gm-Message-State: AOJu0Yw6cuL2jWTTNu2nNZpj28Bbfu5xNs3qgY0U3OacPYzRPQYo9zIU qDcYBwjaYtSbaQyfitsss1lYBg2yeSQq3mnudh53PpJVUGcgmIt8RjftqQ== X-Google-Smtp-Source: AGHT+IH+j3pEYTNqDy3VSO2IJLBP18xdiLGmvS2ciXpxZZgCpCZNgPF17R5ouKhhb90m32kRGzWLYg== X-Received: by 2002:a05:6402:c08:b0:5b9:3846:8bab with SMTP id 4fb4d7f45d1cf-5b938469427mr5391583a12.14.1722843737975; Mon, 05 Aug 2024 00:42:17 -0700 (PDT) Received: from pro2.fritz.box (pd9e366bb.dip0.t-ipconnect.de. [217.227.102.187]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5b839716490sm4573691a12.5.2024.08.05.00.42.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 00:42:17 -0700 (PDT) Date: Mon, 05 Aug 2024 09:42:16 +0200 Message-Id: To: control@debbugs.gnu.org From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Subject: control message for bug #72440 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 72440 31.1 quit Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.43 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.208.43 listed in list.dnswl.org] 3.0 MALFORMED_FREEMAIL Bad headers on message from free email service X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 72440 31.1 quit Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.208.43 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.208.43 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) 3.0 MALFORMED_FREEMAIL Bad headers on message from free email service -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager close 72440 31.1 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 11:16:22 2024 Received: (at 72440) by debbugs.gnu.org; 5 Aug 2024 15:16:23 +0000 Received: from localhost ([127.0.0.1]:59294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sazRe-00008Y-Jl for submit@debbugs.gnu.org; Mon, 05 Aug 2024 11:16:22 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:47404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sazRc-00008D-VZ for 72440@debbugs.gnu.org; Mon, 05 Aug 2024 11:16:21 -0400 Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-52f04150796so16301486e87.3 for <72440@debbugs.gnu.org>; Mon, 05 Aug 2024 08:15:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722870892; x=1723475692; darn=debbugs.gnu.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=uwbtO1Milkp++56LQp7zzfFOzYFigb3CX9iWV1obKcM=; b=bfinGw58ksClZzPzfAaDLFKiFHuN1b1dtl9cBaPKG2Ok9UkHo28cX/9NrzJECIKYje WbMzALL+JigMQa8kwRUNWMyv1CEKHmnjappKebF1XFulNdvPa448JfUFli0sndAfDhjQ W1UhsK2xeQZrUrQgf3SKrdZUIWdGDJBVcZSpf7imh3Ny+CUJk6GOPCz/NZrkz92WVqDR EmQi403tWywtQT6JGBDFaHMgkXvS5vQW7CHTAuhsBR9pFTmN16Ffvn0HUHUu6aOIZp9A FCPCK7/nscEZllV5RErWIrNQGWA1jTr7XHrjRzsi+WpHuX4y4eQe9dfyUfiwJr8QVzI9 3GVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722870892; x=1723475692; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uwbtO1Milkp++56LQp7zzfFOzYFigb3CX9iWV1obKcM=; b=xS9sMC0V7/cNpXC9pS6woENu2YRw8N371ihK4PeWbPXJG5PzHfnY36EfYq5p2eU9Zv h10E3VHO/jc4XTJIrPj/ZMQ3q1Vg9Lpgt0zp9dg3dZoTt9t3nLopG3IBe4sep0byQB6H uVE8bhxIPFvziPpV9ILJDBovwxmv9P2wT6Im3c3dyq+QX+TdaeFfXpf1Kn3wmKqIFr/J r8GUSjfUSY73fheH1dg42sV874JCLkJ/aPG2DCqWHQJB/7ZR5Ojz6dJeR8nyr5QnjmI9 r5SComTUXYQhjok1Ibo/wiJ9MWw+jYH9QZklO+1mFc9cyZ8Riakca9E1kDQuuw+SsP04 GpHQ== X-Forwarded-Encrypted: i=1; AJvYcCUazi+R4BDDq+kn9rfuNSTOTQmHCBMdGtCtNTiM+CiKL/3qkng/pM6wt1mx0TneeNsrN1oFzOA9fCWjXV1SHa9f3khrnLE= X-Gm-Message-State: AOJu0YwJ1o6k6kPJX8bI8q4JcX0BF76fCAZKV00FfEmm7EGOxXVbHcBH WKk3dkQVZIpxmj9wrRng/wlGIiyrCkNmr79lVzECyIrWULsUsy97 X-Google-Smtp-Source: AGHT+IFrj65rUt6fB7N6KlseJ6/rEcZNpWBPt6QTunYhvcqzkgDm+tA0kpHkMYIeJ8DWZdytPo2svg== X-Received: by 2002:ac2:4c47:0:b0:52c:825e:3b1c with SMTP id 2adb3069b0e04-530bb37bf2cmr7934770e87.26.1722870890071; Mon, 05 Aug 2024 08:14:50 -0700 (PDT) Received: from smtpclient.apple (c188-150-191-82.bredband.tele2.se. [188.150.191.82]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-530bba10f16sm1165454e87.116.2024.08.05.08.14.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Aug 2024 08:14:49 -0700 (PDT) From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message Message-Id: <080798E8-7522-4B71-8A46-E9A35FD9F1A3@gmail.com> Date: Mon, 5 Aug 2024 17:14:49 +0200 To: =?utf-8?Q?Gerd_M=C3=B6llmann?= X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72440 Cc: Alan Third , 72440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) After the recent changes to nsterm.m, I get the warning ../../emacs/src/nsterm.m:8077:9: warning: instance method = '-setClipsToBounds:' not found (return type defaults to 'id') = [-Wobjc-method-access] [self setClipsToBounds: YES]; ^~~~~~~~~~~~~~~~ ../../emacs/src/nsterm.h:466:12: note: receiver is instance of class = declared here @interface EmacsView : NSView ^ when compiling (on macOS 11.7.10). Would you please help fixing that? From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 11:29:11 2024 Received: (at 72440) by debbugs.gnu.org; 5 Aug 2024 15:29:11 +0000 Received: from localhost ([127.0.0.1]:59299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saze2-0000tQ-US for submit@debbugs.gnu.org; Mon, 05 Aug 2024 11:29:11 -0400 Received: from mail-ej1-f48.google.com ([209.85.218.48]:51524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saze0-0000ss-Al for 72440@debbugs.gnu.org; Mon, 05 Aug 2024 11:29:08 -0400 Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a7a975fb47eso1411083766b.3 for <72440@debbugs.gnu.org>; Mon, 05 Aug 2024 08:28:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722871660; x=1723476460; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SwxKe1MUs89IIzEICeei72z9I2fFE64GbzIdvjqGCG4=; b=El2tCRdp/1DBYuvinrTSVbvMVGAek3g3vhiBLMYmmyPEhk2n1CUUR0fGk6/OCkwbVe qk01Z29v1qgukUAvP+qAs+Um929+S5GwD61NO3Ob/PsT5ku1V7WOlbg8raGLDz+rnFjB MYio0RgVQ9s7Vc5VqfdWU1FkfG7MPhxBKrTFW1wg+uXDpoxU5sa64V5o8joxhnf+tSdh 6qDkVdCqUxMi1fACUaOEdU9/Dzjvxu3F/HvUrntLdl61TwL3PXTRPNIL18MR6SDorMkp 98msqVnvbxenPg0SIQt6O2EYgppHeraejmuCaf97EFKxehfSJ9R6ndnbVM/byw9i5VsO hveA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722871660; x=1723476460; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=SwxKe1MUs89IIzEICeei72z9I2fFE64GbzIdvjqGCG4=; b=vg+wCjVCrVDAdwppYj0fLWskwI3a9w1pVNlrrOUWlPQTwJQk/LMIYBtah1eksCJ5x6 BIb9y3j7Lu5eMSZGarhjgookyotQUy0/VEGARw+EMm44xjuevquOiVWcieaLqbX2GGlP p5l5tMt8yhH+6jmgTMi+KGKeIp2M9G47o3FXB0dR0J/OAkLZagqJIA3n0aaLIrA6xWG0 acALdpJ/tCRCTuxZCz9dWyNmcrG+I4jxrSYwmeyGxgff4HPK1w/eaJDfSY87a5tj1RC9 JUD6qtQzqF36J89eoixq6PbIbP/pBX7ChOnQdXd4nmz3ytgzNIhulxIxLQ3QSneDPOuK g1gQ== X-Forwarded-Encrypted: i=1; AJvYcCXQuDz/S2jZFaJkozJxYjOfOlaNywapNB7C1XVi4Iok/jaEaquhL3/ViAB+YRB5oeSE/+ITSyvkXmy7zmX54hBYHxiRgBA= X-Gm-Message-State: AOJu0YyK+EXQGdJA2G9GbBndOghBCEHCxEEo4dyHGsz6O3q3UVavTqhi tiWQkRTyhFjIJDt+nIeBnES1+VIG7DmlNs+VPCbbUGjX/mDu80yeXWDLjQ== X-Google-Smtp-Source: AGHT+IHGxx3DL7TSckgGmiV1IL4ynhSsVbxnc7YXWjltX+KDmMNAs1fbuu13etgPLmmeyN6AreG63A== X-Received: by 2002:a17:907:3e0e:b0:a7a:8bf9:a6e8 with SMTP id a640c23a62f3a-a7dc4e6d013mr945765366b.35.1722871659417; Mon, 05 Aug 2024 08:27:39 -0700 (PDT) Received: from pro2.fritz.box (pd9e366bb.dip0.t-ipconnect.de. [217.227.102.187]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9ec8899sm460686466b.207.2024.08.05.08.27.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 08:27:39 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message In-Reply-To: <080798E8-7522-4B71-8A46-E9A35FD9F1A3@gmail.com> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Mon, 5 Aug 2024 17:14:49 +0200") References: <080798E8-7522-4B71-8A46-E9A35FD9F1A3@gmail.com> Date: Mon, 05 Aug 2024 17:27:38 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72440 Cc: Alan Third , 72440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mattias Engdeg=C3=A5rd writes: > After the recent changes to nsterm.m, I get the warning > > ../../emacs/src/nsterm.m:8077:9: warning: instance method '-setClipsToBou= nds:' not found (return type defaults to 'id') [-Wobjc-method-access] > [self setClipsToBounds: YES]; > ^~~~~~~~~~~~~~~~ > ../../emacs/src/nsterm.h:466:12: note: receiver is instance of class decl= ared here > @interface EmacsView : NSView > ^ > > when compiling (on macOS 11.7.10). Would you please help fixing that? Can you please check with what I just committed? From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 11:51:30 2024 Received: (at 72440) by debbugs.gnu.org; 5 Aug 2024 15:51:30 +0000 Received: from localhost ([127.0.0.1]:59322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sazze-0002Fc-1v for submit@debbugs.gnu.org; Mon, 05 Aug 2024 11:51:30 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:59880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sazzc-0002F4-Bg for 72440@debbugs.gnu.org; Mon, 05 Aug 2024 11:51:28 -0400 Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2ef2cb7d562so133708341fa.3 for <72440@debbugs.gnu.org>; Mon, 05 Aug 2024 08:51:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722872999; x=1723477799; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=DQ+V4Nm/MFvsSPgtpdT92IbztSS4AwCcaVA6Vedg1K4=; b=aP9uQwGTaKoX1dFUf8JRLhAhEJs0iQ7c3fexXSbKbbsB2i9rbCJpER8daOqw8/TIoX OC6v40qX1uzmAfsIqFkiOOH7PJNrDT98azEkbUmF/aXYwXx2YmoPH0DB7wErJf789mgE /9LPxyuq8VcnckzNpgXgMtfRi6j0jBfuQYZGIPxT80OmuAVh55adRb0FbFVGmSHDRY66 rQJh8VpjwiobaecNtcWp9cbg21N9SXVn9d3KvRZM6lDPPTHoGAPKsqqkmXC79Kou7Pis mJJu+V/Brxb4m9WVT4GE8BXWJJfm7NZ+KW3G/pxqGeZwR/uDMZItnOreFgm2eklmIuAH yxyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722872999; x=1723477799; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DQ+V4Nm/MFvsSPgtpdT92IbztSS4AwCcaVA6Vedg1K4=; b=dH2QwMvFNoKNZEpyKQPnoGFciyTqXC65n4M5n0qmIZirl03qCdd022+3ZB3ieN52bV 6018PlFW/yaHJut/NUQihGDNTfWRzu8epj8xTFOab3lXFmt0ihnX1k0rsFHf1OsJhZWe b7K+TVVyGr7Rx/e+AQ6RgUhgCUIWQ0SsBzgl9m4QNdHCRmZQ9hwKhF0IuVLsMPmdY2Y1 E4Y5SbiuNx6yd96aUBNSXjTmiROln+xOh33N6q/bsF43vrtgqR0rPI8jn/Nid/53Qt6/ 3Qrhg+DvebMwPxVGo4bRJQJ7sa5b0Qkd06VpVuJqC/WKLknlVd58iqW8eYx+YewaBaF8 H2zA== X-Forwarded-Encrypted: i=1; AJvYcCUPMgBBEFuXVqtSfchewInufB83MUsUOnBEwlZgy3fzbWgxA5qRJTshJWZWhBc87ecr71JYTUCByMNC2zy+3GGGMqn/iOo= X-Gm-Message-State: AOJu0Yzinu9lZrG4Jr6UUm/IWPUXE//2bTnopFwkKk2RAwOkOaDEFG7I 6K1dgVCxRqnCo9PK91p3qml0Ojr2/sUy/hWGBC1sjfqUmvskiiSX X-Google-Smtp-Source: AGHT+IGJbZabTOkjzu3inWsJlseUm8cIAznqdvTJhZT4Djpr4BaRY+FigEHYTeGPIrD72Z5mwK6wCg== X-Received: by 2002:a2e:8ed9:0:b0:2ef:1ecc:cf5a with SMTP id 38308e7fff4ca-2f15aac1216mr79278371fa.26.1722872998949; Mon, 05 Aug 2024 08:49:58 -0700 (PDT) Received: from smtpclient.apple (c188-150-191-82.bredband.tele2.se. [188.150.191.82]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2f15e18649dsm11486311fa.5.2024.08.05.08.49.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Aug 2024 08:49:58 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: Re: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Mon, 5 Aug 2024 17:49:57 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <247FBCAB-DF0A-4C4A-B211-37B84C5494F1@gmail.com> References: <080798E8-7522-4B71-8A46-E9A35FD9F1A3@gmail.com> To: =?utf-8?Q?Gerd_M=C3=B6llmann?= X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72440 Cc: Alan Third , 72440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 5 aug. 2024 kl. 17.27 skrev Gerd M=C3=B6llmann = : > Can you please check with what I just committed? Thank you but that doesn't make a difference -- it's a static, not = dynamic, warning. Instead we could put it inside #if MAC_OS_X_VERSION_MAX_ALLOWED >=3D 140000 .. #endif which works here but I may be confusing the version macros. More to the point, is the [self setClipsToBounds: YES] line actually = required with older OS versions? If so, maybe it's just a matter of = declaring the property somehow since it's supposed to exist even if the = declaration was only made public in v14, but not sure if that is even = possible. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 14:29:28 2024 Received: (at 72440) by debbugs.gnu.org; 5 Aug 2024 18:29:29 +0000 Received: from localhost ([127.0.0.1]:59436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb2SW-00085b-HK for submit@debbugs.gnu.org; Mon, 05 Aug 2024 14:29:28 -0400 Received: from mail-ed1-f43.google.com ([209.85.208.43]:57589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb2SU-00085G-H0 for 72440@debbugs.gnu.org; Mon, 05 Aug 2024 14:29:27 -0400 Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5ba482282d3so2872153a12.2 for <72440@debbugs.gnu.org>; Mon, 05 Aug 2024 11:29:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722882477; x=1723487277; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Juf7a8ObkrZW4t6Ch1jn8LqePi2/eIdo8vivinMftEA=; b=M5Bb97P4Fa69TE7VdpIuwyAw/neCmpl34PVc17gE1xR1nY6o14Qqc6eIFfXVlqqDk5 otYmddSuX6t66zltCQ2FfLhcqy4Ik+qEqag8WFuSX+THpCxDgGxYUGUQT7nFV+x5prXt yDs7ypyHEvdnQnZUA1JybD/eoyS/EP2FUGqukrYaKJo/6bwGYlXtS8tFtkLPOYrV5DmQ hEyUMJFGSqqL0u5XTx76Ma6CtUaEiOwrQ4Xe0kdKFcXjQKUQKaG2Ytt/ORXbRWQN7aRt zB3O6+h/cb1xn6nWCRCrr9VQ/8YZcMBrpD3SizOKsqsdWFbxf+TVEg3GGsLIeRblGEQQ Td4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722882477; x=1723487277; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Juf7a8ObkrZW4t6Ch1jn8LqePi2/eIdo8vivinMftEA=; b=GmJOFNWaVAjguN6kyXnygZxTeFKL9/RetsK+vtJgVuZcs2m6tRInkk5kO1Kee0gB64 V1+JOqcc4bCARxbluvJsO8LvdQxZizRxCzYcw5fa/aVr2rpeEmMYipQNGwROdWSGksVC dWsbrT+X3nnEmobH0ccRujdUkEcXZGeI2HXTF8JtzoN1o8/zpcD71Ke0uCxFB6BNXi0L a7QYryU5IQbdjXcFMBRphj+N3b6l4PURI5IMp6miK7jB4NYi6KKIN/jJerUjSItj4Cxq o04bGns/kn3IRwoYYpdq2bz8rc14R9ayadCF9VMtWyZqrAZ8vZ9UNcF+tc79FsUm2i/B YZ4w== X-Forwarded-Encrypted: i=1; AJvYcCV6fz9KpAcDqUD/FGu4XHio1vHMNAjZBOYI0PUY7iRQdY2UgS+WwFldO69OzmtVDftxoBkk4hfLkuRXZ9gVQtH2ze/TD7w= X-Gm-Message-State: AOJu0Yz1LNht+xez6We+lZuC264fnQIDv6I7QI3dGKUGrekuRN+kNMWo FLJwZ2JjQ4moM12zHrBCjDPVM7D/RB+Lvyg20yKDFqBeUd2OIsxlKUIpyw== X-Google-Smtp-Source: AGHT+IFKAFEhFKSN9jn5ThZxRjReu8XVZJMQAwO79fGtCqz/0BgqMQCWtJcmtGKLOv+LJZOTcKj0ww== X-Received: by 2002:aa7:d604:0:b0:5a3:76e3:1dc with SMTP id 4fb4d7f45d1cf-5b7f39e043bmr8259022a12.10.1722882476643; Mon, 05 Aug 2024 11:27:56 -0700 (PDT) Received: from pro2.fritz.box (pd9e366bb.dip0.t-ipconnect.de. [217.227.102.187]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5b83bf3ad38sm5197891a12.84.2024.08.05.11.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 11:27:56 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message In-Reply-To: <247FBCAB-DF0A-4C4A-B211-37B84C5494F1@gmail.com> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Mon, 5 Aug 2024 17:49:57 +0200") References: <080798E8-7522-4B71-8A46-E9A35FD9F1A3@gmail.com> <247FBCAB-DF0A-4C4A-B211-37B84C5494F1@gmail.com> Date: Mon, 05 Aug 2024 20:27:55 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72440 Cc: Alan Third , 72440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mattias Engdeg=C3=A5rd writes: > 5 aug. 2024 kl. 17.27 skrev Gerd M=C3=B6llmann : > >> Can you please check with what I just committed? > > Thank you but that doesn't make a difference -- it's a static, not dynami= c, warning. > Instead we could put it inside > > #if MAC_OS_X_VERSION_MAX_ALLOWED >=3D 140000 > .. > #endif > > which works here but I may be confusing the version macros. > > More to the point, is the [self setClipsToBounds: YES] line actually > required with older OS versions? If so, maybe it's just a matter of > declaring the property somehow since it's supposed to exist even if > the declaration was only made public in v14, but not sure if that is > even possible. I also don't know what's the right thing to do is here. One could use the #ifdef as you showed, but then an Emacs compiled on 13.x won't do what it should when run on 14.x. (I gather that it would otherwise run fine.) A runtime check with NSAppKitVersionNumber would work, if one copies the float values for the version from NSApplication.h, and compares with that. One has to copy the version number if one compiles on older versions where the constant is not defined (can be either a define or a const double in 14.5 here). What a mess. Hopefully Alan has some advice. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 15:17:49 2024 Received: (at 72440) by debbugs.gnu.org; 5 Aug 2024 19:17:49 +0000 Received: from localhost ([127.0.0.1]:59469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb3DI-0001EF-Nj for submit@debbugs.gnu.org; Mon, 05 Aug 2024 15:17:49 -0400 Received: from dane.soverin.net ([185.233.34.21]:55731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb3DF-0001Dp-WB for 72440@debbugs.gnu.org; Mon, 05 Aug 2024 15:17:47 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4Wd5lc2FllzKW; Mon, 5 Aug 2024 19:16:44 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4Wd5lb6JD9z5L; Mon, 5 Aug 2024 19:16:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1722885404; bh=YxULw8eDuqCJM+nWA8b8KRvsNkQRDArZgsmFM/46zxw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GalZAdadR9ABH3ml20iGtcS6n/idg6Ifj4jG3bq1kwvPUP3BnE8+BtUcRfJKfQjne wAFYmlvp3WWkEyGsDThy9wPQVCKjmyc8gnFNDqZoJVjRLPJ9sSmqH4qX+/NMf8qY8d /HKCbrmlwkwIFBN63uC0wbJVsB/hl1HBV0kxFkFWLn9vja6U3HrX0zjyjiKrpBeMy0 YQi4rM4R0u7Qx8PLKG53mfCquBizBirzmxDtLm+2RBamwlYWjeT6+k8ME7vjpV3p+A p3G9mk2P6M6pixx3RW1WjsNE1MVTPHAhyDC98YWKWEcMJrz7VfeQCtSQ6Kb30KgB8t UJA75g6gnXAlA== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.97) (envelope-from ) id 1sb3C4-000000002GX-2f0R; Mon, 05 Aug 2024 20:16:32 +0100 Date: Mon, 5 Aug 2024 20:16:32 +0100 From: Alan Third To: Gerd =?iso-8859-1?Q?M=F6llmann?= Subject: Re: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message Message-ID: Mail-Followup-To: Alan Third , Gerd =?iso-8859-1?Q?M=F6llmann?= , Mattias =?iso-8859-1?Q?Engdeg=E5rd?= , 72440@debbugs.gnu.org References: <080798E8-7522-4B71-8A46-E9A35FD9F1A3@gmail.com> <247FBCAB-DF0A-4C4A-B211-37B84C5494F1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spampanel-Class: ham X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 72440 Cc: Mattias =?iso-8859-1?Q?Engdeg=E5rd?= , 72440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Aug 05, 2024 at 08:27:55PM +0200, Gerd Möllmann wrote: > Mattias Engdegård writes: > > > 5 aug. 2024 kl. 17.27 skrev Gerd Möllmann : > > > >> Can you please check with what I just committed? > > > > Thank you but that doesn't make a difference -- it's a static, not dynamic, warning. > > Instead we could put it inside > > > > #if MAC_OS_X_VERSION_MAX_ALLOWED >= 140000 > > .. > > #endif > > > > which works here but I may be confusing the version macros. > > > > More to the point, is the [self setClipsToBounds: YES] line actually > > required with older OS versions? If so, maybe it's just a matter of > > declaring the property somehow since it's supposed to exist even if > > the declaration was only made public in v14, but not sure if that is > > even possible. > > I also don't know what's the right thing to do is here. One could use > the #ifdef as you showed, but then an Emacs compiled on 13.x won't do > what it should when run on 14.x. (I gather that it would otherwise run > fine.) IIRC apps built on an older version of macOS generally run as though they are on that version of macOS even when on a newer version. > A runtime check with NSAppKitVersionNumber would work, if one copies the > float values for the version from NSApplication.h, and compares with > that. One has to copy the version number if one compiles on older > versions where the constant is not defined (can be either a define or a > const double in 14.5 here). > > What a mess. Hopefully Alan has some advice. The correct thing to do is only set this when compiling on v14 or above, so the #ifdef is the right way to go. FWIW, we have never guaranteed an executable compiled on one version of macOS will work on any other version. At one time I put a fair bit of effort into trying to get that working and it just turned into a nightmare of #if's and runtime checks all over the place and made maintenance far too hard. Apple's approach would be that you *always* compile against the latest version, and only support three versions back, or whatever, and that way you can easily insert run-time checks as the API will always be available at compile time, even if it's not there at runtime. Emacs packagers generally build against multiple versions of macOS and ship a bundle of multiple executables that are selected by a script at runtime. (Another approach, that I'd not recommend, would be to just put the code in with no check whatsoever. A non-existent method will always return nil at runtime, and just return a warning at compile time. This means people compiling on older versions just have to live with compiler warnings, but otherwise nothing should break.) -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 15:40:13 2024 Received: (at 72440) by debbugs.gnu.org; 5 Aug 2024 19:40:13 +0000 Received: from localhost ([127.0.0.1]:59498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb3Yz-000220-Fn for submit@debbugs.gnu.org; Mon, 05 Aug 2024 15:40:13 -0400 Received: from mail-lj1-f175.google.com ([209.85.208.175]:48178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb3Yy-00021i-30 for 72440@debbugs.gnu.org; Mon, 05 Aug 2024 15:40:12 -0400 Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2ef1c12ae23so121367361fa.0 for <72440@debbugs.gnu.org>; Mon, 05 Aug 2024 12:39:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722886723; x=1723491523; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=dB1OgnC3iQYXbyHnMW96WHCKCI7fLFrBZ++SvDWbknU=; b=MC+B+JDmPuqJaGmQK/MK8/6W3eAHJG02n1V1F5hZfuNqH+1m2jlQBkt03Y9pF5K3oT YZqy1Y0pZQKBJCLlNtunJU8HtbY9sE6grpasXneSTtGkFhmq60DPeVBEZDnGIUhRjcX4 tMqGwOqqOkZjjFFB8UP4N32fqPhKH3NU722hJV/hF7cjzQ9Jo+TJvKI75BjcEkjyJ1GX T1IQIL9D7lI9C2mBtULGD20+SRUs90jBWFmDmni8bg2LFb/exFYYS+1KFM2471o7mkdM G58D6yypZkNvkC+NTIOsaiDYokxwADYOiWV2Yf8TAvbaGVRoyN/lQ5duIqBXx5dlVscI xi1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722886723; x=1723491523; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=dB1OgnC3iQYXbyHnMW96WHCKCI7fLFrBZ++SvDWbknU=; b=knE7pAUvJjbsRNC/w1wYN9TXPG0PVpOYXma6qvtWXCHk0RW6Ft39i9YMiqKKszw2Hh 61RvcnEokI/97GriMr2rJk50OpVY6Ty90NGZ4XWkRUXICUdYroU2CDizgzxiAgLzBPiv Qh+UmozbrEJHAkG3qfPdEmj6nf00jyhc0b3t0tDydKvbobdrde5HKYprDozXaXinUlcs i6pFOoYy7ei0oM7HO2TLqk0J4uoaEHMGDyutsdls1hqZ9ddyxF3YI4Fowh7AWi9gcz8q y5MjNA8DBCu8x4GugLopt3DFpfky56usL1bBOt9K1VZJFAWQ1kpBB2G2/Shdd2KNWg2Z HgPg== X-Forwarded-Encrypted: i=1; AJvYcCXdrDTx5BDfWr8OLEYK3nMAnqOBx1FVZdD6BFRQqL1Fj2ywzuGYD0vApXOJl2LE4+ugVuOdOacUWwcQxACmMISosLfmwuI= X-Gm-Message-State: AOJu0YzNfdObCh7UqG7Gvps2GVW1/xvF3xXgtNYDDORM51rx5BEQ93xO oUHNfys7q4JltjlUVVfgImBYbcScXGEazAYwUjprD3ANYrVZVRK/ X-Google-Smtp-Source: AGHT+IEBFJwr7b7jHi5IIDjMNiE90nxUl2rhaXP9/B9bYipyVc5W710ARNFqve+G5ALJpbBJq1GLLg== X-Received: by 2002:a05:6512:3e19:b0:52c:e326:f4cf with SMTP id 2adb3069b0e04-530bb392967mr9976805e87.3.1722886722636; Mon, 05 Aug 2024 12:38:42 -0700 (PDT) Received: from smtpclient.apple (c188-150-191-82.bredband.tele2.se. [188.150.191.82]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-530bba3d22csm1221999e87.287.2024.08.05.12.38.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Aug 2024 12:38:42 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: Re: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: Date: Mon, 5 Aug 2024 21:38:41 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <88FA7FD1-74E9-4B14-842D-99CB4C653742@gmail.com> References: <080798E8-7522-4B71-8A46-E9A35FD9F1A3@gmail.com> <247FBCAB-DF0A-4C4A-B211-37B84C5494F1@gmail.com> To: Alan Third X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72440 Cc: =?utf-8?Q?Gerd_M=C3=B6llmann?= , 72440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 5 aug. 2024 kl. 21.16 skrev Alan Third : > 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. >=20 > 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=E2=80=99s descendants than it is to unclip a view=E2=80=99s = ancestors. >=20 > 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? From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 15:47:41 2024 Received: (at 72440) by debbugs.gnu.org; 5 Aug 2024 19:47:41 +0000 Received: from localhost ([127.0.0.1]:59502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb3gD-0002Jl-Gv for submit@debbugs.gnu.org; Mon, 05 Aug 2024 15:47:41 -0400 Received: from mail-lf1-f48.google.com ([209.85.167.48]:55429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb3gB-0002JT-Eo for 72440@debbugs.gnu.org; Mon, 05 Aug 2024 15:47:40 -0400 Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-52f01993090so15018984e87.2 for <72440@debbugs.gnu.org>; Mon, 05 Aug 2024 12:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722887171; x=1723491971; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=InLUyttdPMCaO6n7kT+nnQ7hWpTWmpEbz03F8TAJNyQ=; b=ew/LEiO/eVI6RrBmCVDtvphlS+kY3ndEO5cLlNUmaqLIK9j1Z8uFiY2lTRMyPEH5Df wq+uezj78rMkCIKnL2NaIh8ht4LoegffCBzm1q07S7BMR18GxD5hUPQrNMkA8l+FPFR+ DAnx8GhEgUlFNsj09IfQ/iAkt3ZY2Pm7xNld/1s0aV/7S3NXi0knIfgelGWmEetONjGc UpptNXk+F2lwCrqscTTi0alzHgmOfJ9rKn65jZhrMF6LNfuLJsMXEDvrNRdZb04aPiFi 6fWVJHFnmtl3n7XqpMHI2wK87+Q0ysAJWl1HHMgNdzdhXrqau3wsUAVSFAgjDO50MY+9 f5xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722887171; x=1723491971; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=InLUyttdPMCaO6n7kT+nnQ7hWpTWmpEbz03F8TAJNyQ=; b=MYZPoclkB7FEJPD/pYNeJw5lXo3FjMlE76D079I3Ubf5qMjJcw2S51wRCSu9K8a5jM swAPjdzcBywJE22FYvjsSGGcAmDDdnJrzTC+m9FN9MvsWyXoy/LKbqwbs3l/6g4ZLAI1 uIsLEywb1EtGTMBR4JMfdBIH5/MWpBVQQMZRoxZ1Lppj7+fQqnkGVZa6fLRypQ/yI/P5 IXb3pcd93lI45n2BhMZVOSOnUTPRXiFFcMmuGxXn7mHb5dZ9A0FyXGRpzPVJAR/zjjKA d2Qk2Ah8KeHTZBot6wMNWmtDQNj/lLmAV7zD4yXwCb1QgGnv1tkyWErlS6Wd3Iomknk+ Pl9g== X-Forwarded-Encrypted: i=1; AJvYcCVIkA/G51chIFlzRHWET5Fa3CkhqFSRHCSjWNYJY7j7Ru6QG3CfJ6uViufs1Qk93CCwKqfWsJFrjOyWHNld4oZC0aKI8hc= X-Gm-Message-State: AOJu0YxduQ6j5ZVvJgY+dGU/Z0iSdlULZRX8cZtLpnbtl4dKCRpAmJyo emalvw2OspqoMDziN2dFsgyNmC30yzXngljcktlk5JjoSnB1cxIw X-Google-Smtp-Source: AGHT+IEgzSiascU9qBnqxIYLMF77nxPpN6ce0g7clOlk0K0zkKGHLXORxH3JWOIwySndm0EYoNnjBg== X-Received: by 2002:a05:6512:2201:b0:52e:9cc7:4461 with SMTP id 2adb3069b0e04-530bb3666f5mr7482678e87.5.1722887170298; Mon, 05 Aug 2024 12:46:10 -0700 (PDT) Received: from smtpclient.apple (c188-150-191-82.bredband.tele2.se. [188.150.191.82]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-530bba32f78sm1237089e87.183.2024.08.05.12.46.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Aug 2024 12:46:09 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Subject: Re: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <88FA7FD1-74E9-4B14-842D-99CB4C653742@gmail.com> Date: Mon, 5 Aug 2024 21:46:09 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <7FF76E5E-5848-49B9-89EB-9231F14C39C3@gmail.com> References: <080798E8-7522-4B71-8A46-E9A35FD9F1A3@gmail.com> <247FBCAB-DF0A-4C4A-B211-37B84C5494F1@gmail.com> <88FA7FD1-74E9-4B14-842D-99CB4C653742@gmail.com> To: Alan Third X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72440 Cc: =?utf-8?Q?Gerd_M=C3=B6llmann?= , 72440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > correctly, then the property exists in older versions but is just not = exposed -- is that a correct interpretation? I can answer that partially from an experiment: yes, [self = respondsToSelector:@selector(setClipsToBounds:)] returns true on an = older version. Of course this whole business only matters when Emacs is compiled on = macOS<13 and then executed on =E2=89=A514 which probably isn't that = important. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 16:02:23 2024 Received: (at 72440) by debbugs.gnu.org; 5 Aug 2024 20:02:23 +0000 Received: from localhost ([127.0.0.1]:59510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb3uR-0002ob-BJ for submit@debbugs.gnu.org; Mon, 05 Aug 2024 16:02:23 -0400 Received: from dane.soverin.net ([185.233.34.148]:42127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb3uP-0002oF-3z for 72440@debbugs.gnu.org; Mon, 05 Aug 2024 16:02:22 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4Wd6l449nPz2xRC; Mon, 5 Aug 2024 20:01:20 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4Wd6l42LlnzdZ; Mon, 5 Aug 2024 20:01:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1722888080; bh=K/rIaV48+YcupIL8jqpbQ/PhniAAqpgkn6ihs0RaEH8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ot5SFuAmE+4BKlB49PJBbvL1qsfHMMUrDq4mvGtLXShtqawfCikWIKEmNilHx/FM0 u7tc3wrhwZM0rafR2OhxZ7XqQYWMKmCLO3AjAqRLfoBMQhmxR8u1xUYYhG/thnZFiP Wy1rQ1Rj65Qy3OY5xaNIQZCNsiZLc8ORFm4hsQuTUUNHt9XXOvyxt+Edebke4BwvzL OBdTxwtaQKAHLIbsBf5R03azCrLHqr10/oLpKW2XPZiIpkYGpGmsWyg9SLqLEkkqnw 9UdFVdRlCEIysezsNn26zHCcVfRaTKuHhadwy8ou6BgHIAgtJDHpFPZPVsJKY3fbQT 2fqT8TWfhh1tw== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.97) (envelope-from ) id 1sb3tP-000000003Fl-3tyg; Mon, 05 Aug 2024 21:01:19 +0100 Date: Mon, 5 Aug 2024 21:01:19 +0100 From: Alan Third To: Mattias =?iso-8859-1?Q?Engdeg=E5rd?= Subject: Re: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message Message-ID: Mail-Followup-To: Alan Third , Mattias =?iso-8859-1?Q?Engdeg=E5rd?= , Gerd =?iso-8859-1?Q?M=F6llmann?= , 72440@debbugs.gnu.org References: <080798E8-7522-4B71-8A46-E9A35FD9F1A3@gmail.com> <247FBCAB-DF0A-4C4A-B211-37B84C5494F1@gmail.com> <88FA7FD1-74E9-4B14-842D-99CB4C653742@gmail.com> <7FF76E5E-5848-49B9-89EB-9231F14C39C3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7FF76E5E-5848-49B9-89EB-9231F14C39C3@gmail.com> X-Spampanel-Class: ham X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 72440 Cc: Gerd =?iso-8859-1?Q?M=F6llmann?= , 72440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Aug 05, 2024 at 09:46:09PM +0200, Mattias Engdegård wrote: > > correctly, then the property exists in older versions but is just > > not exposed -- is that a correct interpretation? > > I can answer that partially from an experiment: yes, [self > respondsToSelector:@selector(setClipsToBounds:)] returns true on an > older version. You may be running the latest version of xcode? IIRC that can affect what's available. The whole thing is confusing. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 16:13:26 2024 Received: (at 72440) by debbugs.gnu.org; 5 Aug 2024 20:13:26 +0000 Received: from localhost ([127.0.0.1]:59515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb457-00039h-HP for submit@debbugs.gnu.org; Mon, 05 Aug 2024 16:13:25 -0400 Received: from dane.soverin.net ([185.233.34.24]:42929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sb454-00039O-HP for 72440@debbugs.gnu.org; Mon, 05 Aug 2024 16:13:24 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4Wd6zp2zwkzySC; Mon, 5 Aug 2024 20:12:22 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4Wd6zp0xF6zdZ; Mon, 5 Aug 2024 20:12:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1722888742; bh=sZDvvvJ0pTCX6yS9QJpGAGLxulMVShPpWO/fOrk0sHA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e3Frh4UAwMUAK0MzlnTUs23ToAZ5z/RaePFM/kE16LMCjjSjNCMIfvnEr3+E5NYFL +xI/IAnJdzFRk6mbNgVj0O2+HeMEzhqbomU41qE6LnGmBfOVf/1omuP6Bgf90WsEnv kV89AHNE/rzfYKhloIAnVj7GUg2DjvYx6XL2gyMX38RQZiGo00VvHBvRX3Q6k5npmH BYKpYWh9rGlA28Mo4rucpqkOAUx+aF4AYYQOvBqT9fqvmouXq6weTJBSUjV8hPZQYD HY8Rck4/aQbX78nqBzP/nkZwdz+13Wjn9zw9fpfRJDMxhkZwYm/R4LNev2BREuR/JA 4iby5kaCZMzgQ== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.97) (envelope-from ) id 1sb445-000000003Q3-2fiZ; Mon, 05 Aug 2024 21:12:21 +0100 Date: Mon, 5 Aug 2024 21:12:21 +0100 From: Alan Third To: Mattias =?iso-8859-1?Q?Engdeg=E5rd?= Subject: Re: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message Message-ID: Mail-Followup-To: Alan Third , Mattias =?iso-8859-1?Q?Engdeg=E5rd?= , Gerd =?iso-8859-1?Q?M=F6llmann?= , 72440@debbugs.gnu.org References: <080798E8-7522-4B71-8A46-E9A35FD9F1A3@gmail.com> <247FBCAB-DF0A-4C4A-B211-37B84C5494F1@gmail.com> <88FA7FD1-74E9-4B14-842D-99CB4C653742@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <88FA7FD1-74E9-4B14-842D-99CB4C653742@gmail.com> X-Spampanel-Class: ham X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 72440 Cc: Gerd =?iso-8859-1?Q?M=F6llmann?= , 72440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Aug 05, 2024 at 09:38:41PM +0200, Mattias EngdegÃ¥rd wrote: > 5 aug. 2024 kl. 21.16 skrev Alan Third : > > > 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? Nothing should have changed on older machines. If it had you'd be seeing the same messages as in the original bug report. Looking at the docs at https://developer.apple.com/documentation/appkit/nsview/4236466-clipstobounds?language=objc it looks very much like we want to just set this to YES and forget about it, but going by the examples they give we're unlikely to run into any actual layout issues as we don't (intentionally) do any of the things they talk about. We have no reason to ever draw outside the bounds. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 05 23:30:35 2024 Received: (at 72440) by debbugs.gnu.org; 6 Aug 2024 03:30:35 +0000 Received: from localhost ([127.0.0.1]:59782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbAuB-0001nw-IM for submit@debbugs.gnu.org; Mon, 05 Aug 2024 23:30:35 -0400 Received: from mail-ej1-f51.google.com ([209.85.218.51]:55694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbAu9-0001ne-4Y for 72440@debbugs.gnu.org; Mon, 05 Aug 2024 23:30:33 -0400 Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a7a8e73b29cso13746966b.3 for <72440@debbugs.gnu.org>; Mon, 05 Aug 2024 20:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722914944; x=1723519744; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zF3+Pggt0CKg8ho43I1CbmFLMN7McKHR1tIu09YDVeM=; b=jR7u73HY2YLV3X6f3Ul98s0LyIIfT6JK3r6wZqznuvcOlM8vpJgEEiPPgGkxe4R1Q8 i8ZYMtgXK3okQX6SC6xEMMP+yopqlfaBKrQ4edtfTfJ40vkdcKJsk+ub+LQjwhGxiPtO G20zBbMZs5rOo54bI/RUWi7+ZDq4QTMkOaimN1AvQ3/kGzQUJ33e+7r24AUG9PQpyjgB NQ3lMwTcGq8DyzUgzoEQW97nOZyY+feR3d64kkce2EnyB48nSXk7uZ7StC9QHEvWkvJ+ mfWGXyoqUWxdpuJXDWTgTEtg9MAj/xmenxG1nPXgIoiEJtM5tXBh6dCgHlKRZsfNlnY/ a0Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722914944; x=1723519744; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=zF3+Pggt0CKg8ho43I1CbmFLMN7McKHR1tIu09YDVeM=; b=QrchnGryOWgWuT0RfLLNGe7oi1pvcx6SceRjhjzflvj2DqHEO4qgxHInt31Vb2C+YI XIRmEo1gF8P0BrlI6hhQaBtWX4yWjys0+l3U316BpI2Ht9zSnkXt9/tnclcAWXlfxD1M qm8Db0zme/LJzd1SN+UA0ZpoP/8oOPW2YuamAbxHc8eUM8uMLUL/WDDxjk1Z8uWJO7xg xFYNvYeKM3h77EHBL8s8ua/O5tyjBBaXhhtCAhyKFCBXK9IvkOhRaiOPt6QhQ7OvmnHR tfDsLg2IYGC3S7dgttzdqZKai7OGS4XYq9dWHTEOQ5rtPZSLuN1eFrCTlqDeZCriivZk EyxA== X-Forwarded-Encrypted: i=1; AJvYcCWtH+FoI6GOcSgOSjYKOTLC9WryD9rPOeTyF7GuS2ZY0o9qrOzMTpVhc7Kj3JEeLNE+b7QJhA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yxw3VdaE83aallVxvgZlM67Yv2TEiFVpzAllUFElB0HDmkCf1T+ m4Xszn7uyrmcX9/+ok3hzF0KI6+KVF+DuQnoSBVggJOGrIk8mpNh59V1nQ== X-Google-Smtp-Source: AGHT+IGd9hKraDLwqDaAxpcnJ51LUZqxS9HneFWC1YLwo1+vweH+VhE/KPj0QA1rLBFxhSyEmrR/ZQ== X-Received: by 2002:a17:907:3da0:b0:a77:c95e:9b1c with SMTP id a640c23a62f3a-a7dc4fbf0a8mr842608866b.27.1722914943374; Mon, 05 Aug 2024 20:29:03 -0700 (PDT) Received: from pro2.fritz.box (pd9e36fc1.dip0.t-ipconnect.de. [217.227.111.193]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9c0c58esm509452666b.86.2024.08.05.20.29.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 20:29:02 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Alan Third Subject: Re: bug#72440: 31.0.50; MacOS: TUINSRemoteViewController log message In-Reply-To: (Alan Third's message of "Mon, 5 Aug 2024 21:01:19 +0100") References: <080798E8-7522-4B71-8A46-E9A35FD9F1A3@gmail.com> <247FBCAB-DF0A-4C4A-B211-37B84C5494F1@gmail.com> <88FA7FD1-74E9-4B14-842D-99CB4C653742@gmail.com> <7FF76E5E-5848-49B9-89EB-9231F14C39C3@gmail.com> Date: Tue, 06 Aug 2024 05:29:02 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 72440 Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= , 72440@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: > On Mon, Aug 05, 2024 at 09:46:09PM +0200, Mattias Engdeg=C3=A5rd wrote: >> > correctly, then the property exists in older versions but is just >> > not exposed -- is that a correct interpretation? >>=20 >> I can answer that partially from an experiment: yes, [self >> respondsToSelector:@selector(setClipsToBounds:)] returns true on an >> older version. > > You may be running the latest version of xcode? IIRC that can affect > what's available. The whole thing is confusing. Thanks Alan. I find it highly confusing, too. Anyway, Mattias' #if worss here.=20 From unknown Sun Jun 15 08:45:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 03 Sep 2024 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator