From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Scroll bars on macOS builds Date: Sun, 30 Jan 2022 12:37:10 +0000 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17792"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 30 13:42:55 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 1nE9Xj-0004Ok-5D for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 13:42:55 +0100 Original-Received: from localhost ([::1]:47998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nE9Xh-0003n9-7e for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 07:42:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nE9SR-0002kY-3P for emacs-devel@gnu.org; Sun, 30 Jan 2022 07:37:28 -0500 Original-Received: from outbound.soverin.net ([116.202.126.228]:52597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nE9SO-00054i-PZ for emacs-devel@gnu.org; Sun, 30 Jan 2022 07:37:26 -0500 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id C04792B48; Sun, 30 Jan 2022 12:37:14 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1643546234; bh=GtV742wUot/0Jo/6IQFb5OIUoz/XYQyEolKeAt5mrS0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GgJTdRjql07FF8nWRV4CA2KyYGxwwiU8uiuZGAcwl3haRJLZ6tye0DMTJfvWy9AAm zfPGeZEKCwO+2HThbQlHWxYYiT25mGaYtuhYKSBwZay4Lvx2czXh0j2tdLFrNOAQsW G1lv6piFXwXkCW4lKTxMMhnm63vZf0oiRHMTxu0NsDmkBKSuQ9lqCi5PrkBA+x7V0y fYdC4ppK8UeEzYJotp5nlPZnLd3EsAgqq246HWDtEkyodlApWdRB4j0EJO4XyqA+Vb Hlv+6Oo6MMfd0zhK4pt1kFwvXH7KoEL9PXkTUain3c5N3iHw3jQ7Jyyd+UJMDNQjAA sLJSGaMUB2AIw== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1nE9SA-002eyj-Gr; Sun, 30 Jan 2022 12:37:10 +0000 Mail-Followup-To: Alan Third , Angelo Graziosi , "emacs-devel@gnu.org" Content-Disposition: inline In-Reply-To: <1035098172.79768.1643471003922@mail1.libero.it> Received-SPF: pass client-ip=116.202.126.228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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:285604 Archived-At: 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. I'm completely lost with this now. -- Alan Third