From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aleksandar Dimitrov Newsgroups: gmane.emacs.bugs Subject: bug#70697: 30.0.50; Frame parameter alpha-background is ignored for fringe bitmaps & internal borders Date: Thu, 16 May 2024 16:26:47 +0200 Message-ID: <86eda1kf2w.fsf@NOAH310-L.mail-host-address-is-not-set> References: <871q6liz1x.fsf@aleks.bg> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2412"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.15; emacs 30.0.50 Cc: eliz@gnu.org, 70697@debbugs.gnu.org To: luangruo@yahoo.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 16 20:41:36 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 1s7g2p-0000Rz-0N for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 May 2024 20:41:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7g2J-0000tc-R8; Thu, 16 May 2024 14:41:03 -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 1s7g2H-0000qH-7h for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 14:41:01 -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 1s7g2G-0003Np-Vn for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 14:41:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7g2J-0002DH-Az for bug-gnu-emacs@gnu.org; Thu, 16 May 2024 14:41:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aleksandar Dimitrov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 May 2024 18:41:03 +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.17158848478464 (code B ref 70697); Thu, 16 May 2024 18:41:03 +0000 Original-Received: (at 70697) by debbugs.gnu.org; 16 May 2024 18:40:47 +0000 Original-Received: from localhost ([127.0.0.1]:50308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7g21-0002CS-Qq for submit@debbugs.gnu.org; Thu, 16 May 2024 14:40:46 -0400 Original-Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]:34987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7cCY-0007Nn-Qv for 70697@debbugs.gnu.org; Thu, 16 May 2024 10:35:26 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 0E94D1140146; Thu, 16 May 2024 10:35:15 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 16 May 2024 10:35:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aleks.bg; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm1; t=1715870115; x=1715956515; bh=CXfD4Mc2TuqEiKPmkSc+j IQRRCrf9JrekyEAKWr3bPw=; b=b6kGwmElejb8noFpzUWijgJUpenL/7uys6vxt aAHZXYHiiL9hGTS3qvYLjE+ZnRs2evlvFmJ5B4UVae3CAUNKeEp9WsxX8HmZsnhJ zYEKZ1A+bhRZqCR7KPxoKQORzqC92HzkWmIB6ns2XNybReRPayXeUAWN5ci3fF6e rN+C2gYGhxFB7/DDJhQSkDvDy0Nb9Dclr940ZroecSGqUrvhaVFR4lKPfreSsyp3 ov/3I13Yl5+imrM6oUBKxSMMj96avrUw3cSB2n+9Id+rAQ0pCUGwghxbP0gLpe2B inLh3PJeiGW4Lu/7TAk9bb4hyMVqzRHHfx/Z7WEbjifaIgLjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1715870115; x=1715956515; bh=CXfD4Mc2TuqEiKPmkSc+jIQRRCrf 9JrekyEAKWr3bPw=; b=WEZJdhSRgpshCGSQu4LPDj/qWywbFjHCNyOQ/9SkcS4U Nms/k7/Px017SMgHE4UJGRzEEh7+gI1xFcrmI1+uLp9s5B4QBd82b6wDVsmCzZ3B MqzkzLnuHa1BRI4yo0Or3wwA2K8IEQB152JX65PzFi6e0yiAdQLLSbdaA0gAbRRO JZSnFf4xVzlimL7ZkhE82EmjsGDuCSkdW3/8+Epnz2WYi5uQPm85h/F+AAH3Ofgy x3ORUmKR2OkT579kuFPb1Nx6b9OuQuNnbcFF4K26aZroxT96U3ChXWoD9syLHPDO 2P3NIA4d2y6wdCawDh/8WhwOBtOQVYq6+SF2PEU0lQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehuddgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufgjfffkveggtgesthdtre dttdertdenucfhrhhomheptehlvghkshgrnhgurghrucffihhmihhtrhhovhcuoehmrghi lhesrghlvghkshdrsghgqeenucggtffrrghtthgvrhhnpeegteeukeffgfettdeuhedvte etveeuveeileeuveekudfhgffgfeekueejtedugeenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghilhesrghlvghkshdrsghg X-ME-Proxy: Feedback-ID: i3ed944d6:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 May 2024 10:35:13 -0400 (EDT) In-Reply-To: 875xvn2z07.fsf@yahoo.com X-Mailman-Approved-At: Thu, 16 May 2024 14:40:44 -0400 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:285187 Archived-At: 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