From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70697: 30.0.50; Frame parameter alpha-background is ignored for fringe bitmaps & internal borders Date: Sat, 01 Jun 2024 17:03:38 +0300 Message-ID: <86y17ooj45.fsf@gnu.org> References: <86eda1kf2w.fsf@NOAH310-L.mail-host-address-is-not-set> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10336"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 70697@debbugs.gnu.org To: Aleksandar Dimitrov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 01 16:05:16 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sDPMB-0002PM-8R for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jun 2024 16:05:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDPLp-0008O7-0B; Sat, 01 Jun 2024 10:04:53 -0400 Original-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 1sDPLm-0008ND-Od for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 10:04:50 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sDPLm-00009x-G8 for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 10:04:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDPLx-0006hJ-Vt for bug-gnu-emacs@gnu.org; Sat, 01 Jun 2024 10:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jun 2024 14:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70697 X-GNU-PR-Package: emacs Original-Received: via spool by 70697-submit@debbugs.gnu.org id=B70697.171725064325651 (code B ref 70697); Sat, 01 Jun 2024 14:05:01 +0000 Original-Received: (at 70697) by debbugs.gnu.org; 1 Jun 2024 14:04:03 +0000 Original-Received: from localhost ([127.0.0.1]:56939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDPL1-0006ff-0a for submit@debbugs.gnu.org; Sat, 01 Jun 2024 10:04:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDPKy-0006fA-J7 for 70697@debbugs.gnu.org; Sat, 01 Jun 2024 10:04:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sDPKg-0008Ku-OO; Sat, 01 Jun 2024 10:03:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GtsztqPiic7yxIQmcpmla63ynIIUmaJoTs7jLJpEIew=; b=k0wJf1skAVzE UcoVisGa/o/5yjINXeGc0SS4MuAG6y5A9er5oY7ICpZkbO9jHnq5iDj4YdO43/ORN1OzF+/0fq/vj kwOxAaNYXL/ZFBtWvIU6NFaJ6HcOFA68QPBizlAQNsh6RQSLopxvLUKXrWm6RdIHpG+AJZB3l7mp4 KG4wSyzs3LyCHjtFpTGdM+ZjPloepOv8CzVXYOfkWs0TbadDU42LNkdSMq4ij4GTIRg7cofe+z8QL 8NaL3G28HWqsa47q49tAEmxsnIIhfh4eKRPPAZdBW0r/CD9mmw3x2g1rBK7xzZUj+6kFLNDyIAp5c b0+nZUfV4tcVLRc42wV6Vw==; In-Reply-To: <86eda1kf2w.fsf@NOAH310-L.mail-host-address-is-not-set> (message from Aleksandar Dimitrov on Thu, 16 May 2024 16:26:47 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286320 Archived-At: Ping! Can we make some further progress with this issue? > From: Aleksandar Dimitrov > Date: Thu, 16 May 2024 16:26:47 +0200 > CC: eliz@gnu.org, 70697@debbugs.gnu.org > > Hello Po Lu, > > > This has been previously reported. As I've stated on those occasions > > and numerous others, the internal border is a _border_, a natural > > component of a frame's foreground that should not be affected by its > > background transparency properties. > > Thanks for your feedback. I didn't find any previous discussions, but I > guess I didn't look hard enough, sorry for that. Is there another way to > create insets in Emacs that does respect transparency settings? Or is > there a way to tweak the frame border's transparency settings that > doesn't also affect the rendered text and other interactive elements? > > What I'm looking for is to distance the text somewhat from the edge of > the frame to create some negative space. > > > As regards fringe bitmaps, they respond to alpha-background on the > > XRender builds. This (untested) patch might extend this to Cairo > > builds: > > Thanks for the patch. I applied it to the current Emacs (on top of > 407b88333) and came to the following conclusion: > > When compiling Emacs with --with-toolkit=lucid, the above patch > works. Fringe bitmaps' backgrounds are now transparent. > As before, the internal borders aren't transparent. > > When compiling Emacs instead with --with-pgtk, the above patch *does not > work*. However, the internal frame borders *are* transparent there > now. I haven't yet investigated whether that was always the case (and I > simply hadn't compiled Emacs correctly before) or whether that change > came in recently. > > I guess the behaviour (whatever it ends up being) should be consistent across toolkits. > > Thanks, > Aleks >