From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Scroll bars on macOS builds Date: Thu, 3 Feb 2022 17:39:06 +0100 (CET) Message-ID: <1083773157.673537.1643906346722@mail1.libero.it> References: <835707023.1539255.1642863979389@mail1.libero.it> <51672596.1588540.1642973503861@mail1.libero.it> <246357929.1612108.1642976592962@mail1.libero.it> <147533788.292331.1643216844580@mail1.libero.it> <531448434.456398.1643321442866@mail1.libero.it> <1035098172.79768.1643471003922@mail1.libero.it> <1720376703.596215.1643896054011@mail1.libero.it> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11117"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 03 17:53:03 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFfLz-0002kP-66 for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Feb 2022 17:53:03 +0100 Original-Received: from localhost ([::1]:53250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFfLx-00006n-NU for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Feb 2022 11:53:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFf8v-0001bA-Ly for emacs-devel@gnu.org; Thu, 03 Feb 2022 11:39:33 -0500 Original-Received: from smtp-34-i2.italiaonline.it ([213.209.12.34]:60874 helo=libero.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFf8t-0002kh-2G for emacs-devel@gnu.org; Thu, 03 Feb 2022 11:39:32 -0500 Original-Received: from oxapps-32-142.iol.local ([10.101.8.188]) by smtp-34.iol.local with ESMTPA id Ff8UnU5iiZbIOFf8Un9wfW; Thu, 03 Feb 2022 17:39:07 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1643906347; bh=gm8tJt/POit+pFeuhlOgNSsXP/pI2smFhP2xONWBD2c=; h=From; b=qBNPP7SHzDG/GeofCkdSDNi68Nv2U+w7QAkT0Ajsw99yJA5bBttavglUx8eNWx/1m GsvC1iF2Qq8r4CrpgbpkfCAR6i3w5dFwOByEw4fhC4opH10VERMPRL+jsDiy59AwQo kf4/vX/GGn9iVJd3+LJeHWKNEVJj91s5qYrHmGBqbHaVEC6rlkGj25/8IwdsbMzDjN 7brXVaWPGU/OIpgoPVsofSm7bJyR3+eLB0RCRVevoRJeI1HMsm6UovxC3Y1owS8PSs bTjkp/1B+H6qYRSQD51tIBse5q1LuNVqLConCFjy11REBAsUJ6+ZogtGy2UHxxqmoJ vwmd8Nht41sNg== X-CNFS-Analysis: v=2.4 cv=NZ4ja0P4 c=1 sm=1 tr=0 ts=61fc052b cx=a_exe a=d5mb8ohLb9DErTKtnJ5n9A==:117 a=6hyAuFarIZwA:10 a=IkcTkHD0fZMA:10 a=rPPCnl7zRxkA:10 a=uqfvNZ2PIx8RWNVou7QA:9 a=QEXdDO2ut3YA:10 In-Reply-To: <1720376703.596215.1643896054011@mail1.libero.it> X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.5-Rev34 X-Originating-IP: 95.252.149.59 X-Originating-Client: open-xchange-appsuite x-libjamsun: dnZS5LlScIuaZ1FPPGyL6w0mQvGVecNV x-libjamv: 6qXpDq6LnhU= X-CMAE-Envelope: MS4xfHHmF0m8NafJOSw54p8EOzSOde7wOhatpdbm5bjbpvIsVQLwUp4X+vh3J9EGBjbaYPrN5Yl2JdDY6vRaXQOmx7/cEyRmIrPV2TSG9ksxtvXkC8hDd5ux JYRTZUBk9JSl8pH9eRq2wAaNPogXIH9oRaD6czS6D1Ju+PR3eM9juGo3nfAEkMUa3Cd0Fbm69yjNu0FYErp/4ufr2v2rYzwIsqBoPSxoepUnIN170VlI09KN Received-SPF: pass client-ip=213.209.12.34; envelope-from=angelo.g0@libero.it; helo=libero.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285845 Archived-At: > Il 03/02/2022 14:47 Angelo Graziosi ha scritto: > > > > Il 30/01/2022 13:37 Alan Third ha scritto: > > > > > > On Sat, Jan 29, 2022 at 04:43:23PM +0100, Angelo Graziosi wrote: > > > In any case, the patch below breaks tabbar package from MELPA: I cannot switch buffer clicking on the left-right arrows the package uses to this end. The mouse pointer changes correctly from "arrow" shape to "hand" shape when over those arrows but clicking does not have any effect, the tabs with buffers name should scroll. I DOES NOT scroll.. > > > > > > I attached the screenshot of that element of the tabbar package from MELPA... > > > > > > > > > > Il 27/01/2022 23:10 Angelo Graziosi ha scritto: > > > > > > > > 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 > > > > } > > > > I can't see any way that patch could affect the ability to click on > > something. I could understand it perhaps breaking some visual feedback > > or something, but the actual click detection has nothing to do with > > how the frame is drawn at all. > > With Emacs native tabs the patch works better... I spoke too soon. With that patch Emacs DOES NOT work at ALL! Just clicking the tabs in tab-line works. Clicking to type text move the cursor there (but it does not blink) and what I typed is not inserted, as if it is unresponsive... I have built the same source with and without the patch...