Received: (at submit) by debbugs.gnu.org; 1 May 2024 12:02:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 01 08:02:01 2024 Received: from localhost ([127.0.0.1]:37111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s28et-0003Eb-SG for submit <at> debbugs.gnu.org; Wed, 01 May 2024 08:02:01 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mail@HIDDEN>) id 1s27a3-00084u-UY for submit <at> debbugs.gnu.org; Wed, 01 May 2024 06:52:57 -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 <mail@HIDDEN>) id 1s27Zc-0003X7-US for bug-gnu-emacs@HIDDEN; Wed, 01 May 2024 06:52:29 -0400 Received: from wfhigh3-smtp.messagingengine.com ([64.147.123.154]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1s27Za-0008KJ-N8 for bug-gnu-emacs@HIDDEN; Wed, 01 May 2024 06:52:28 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.west.internal (Postfix) with ESMTP id A8B6A1800071 for <bug-gnu-emacs@HIDDEN>; Wed, 1 May 2024 06:52:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 01 May 2024 06:52:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aleks.bg; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1714560742; x=1714647142; bh=R39nDSXL3UHimOz2HD9KQq1ZdN8dWp4C vQryWoJpWwM=; b=VqmzPFpvjYZNQvN3Lk2+YTkIjCXUqm1X8f0o1GZw96zE+Lrv FkZKpbcr1jrHMK9Af/Oyf2jbcRYYsDWYaguARfveBovFKr5vYy9IJLcAfFco56vT kPQhrdGOmrabaKjNJ78h1FBs4DcoStLE63R9oeNA+d1A5Tnu0nEc9VXCYM6MQR5n U94ExM9mcgFPduHTwVUobTJp8bXoMQyeKVyUJJ+6JcZKYwF29Toj0oG1QY2yUN7P RqkoLhn5eeMxAE08w376wQjQR+1+6CZpQm+Z3jSplOlf89ow4lb086OvUTYkpaLT rF8teCTzbDcOq279mpeRxxJ2RkPhdDiJ1T5K+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from: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= 1714560742; x=1714647142; bh=R39nDSXL3UHimOz2HD9KQq1ZdN8dWp4CvQr yWoJpWwM=; b=GHu+jJgHeIfOKkwpJgfxGo+Tblzj5j7JUqGD2IBVEYaO7puIYuz VFM5gfJSocgXxGsNksSwHSvjqdU/fLKpmLhP0MVCyEI39/jmXE4cgfxfMLMD2wpf VkZ0W/D+PFdJEmBHcwR7rikd3cec7SVR0UrJQ0qBeATwqDYDo54YCIAjm5WuKaJz PBtuBnPXFXTgiEmtQjODr9zZBfzjQxi0oj3IvlC6eZ9Z6B3NLF1NeWTupPZfT6L4 edQrKSc5Fk0aIJmr5xP6duX/rfCencF4Ng632+vyQqZLP5KRQ57mbgXc+iJAM6j3 CFZLuqMHp54XNOqykF+eOGjavO+5LGXpxyQ== X-ME-Sender: <xms:5R4yZsQnC_7Hc5nnThyZGJDkdgydyZxaWkyoeVmt5EGUlALL4npH3Q> <xme:5R4yZpwiIBkQp1Bd0vly9oufnAF5--sh5lP6krs9bIjDGdATcgU3cwAPmOQWU9Ljf H30GTl4-Jube1FgZwE> X-ME-Received: <xmr:5R4yZp0897hjTOmBGShNymuBOqDWQ4Oz-K2NZeNDgJ3UV6FSyDuvXlU2Jl9UEyKCuUvZS2ZDtUsmpBVtj9Gzn9_lG391Ger4qAWFWTes> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdduhedgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufgffkfggtgesthdtredttd ertdenucfhrhhomheptehlvghkshgrnhgurghrucffihhmihhtrhhovhcuoehmrghilhes rghlvghkshdrsghgqeenucggtffrrghtthgvrhhnpefhfefhfefgtdelueeivdeuieetle evueekjefhfeetheekkeekteeiieehtdejteenucffohhmrghinheprghlvghkshdrsghg necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrih hlsegrlhgvkhhsrdgsgh X-ME-Proxy: <xmx:5R4yZgBJWS2-bRA0JqFCOtEj1HEJlKT8-51M74YeS-H8mOYTfKODdw> <xmx:5R4yZljZ3Q7aU55hb1PFipmyKTOgnnWm_v_q_uMpBA--V4B_sCC8-w> <xmx:5R4yZso2wdNm8fToTunJKbqBZTfHdY9HOCGXMXK-Mui8rk247_GDgQ> <xmx:5R4yZohhU-G4PI_wrGku9z10ffBhbt8Ig62iAtNZBQhl-oSLR74iYA> <xmx:5h4yZlZ0MPXErpKgVZQ4keF8JIWCYLBNh68hubGm47fnYgt86fH_4uPN> Feedback-ID: i3ed944d6:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <bug-gnu-emacs@HIDDEN>; Wed, 1 May 2024 06:52:21 -0400 (EDT) From: Aleksandar Dimitrov <mail@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.0.50; Frame parameter alpha-background is ignored for fringe bitmaps & internal borders User-Agent: mu4e 1.12.1; emacs 30.0.50 Date: Wed, 01 May 2024 12:52:58 +0200 Message-ID: <871q6liz1x.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.154; envelope-from=mail@HIDDEN; helo=wfhigh3-smtp.messagingengine.com 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 01 May 2024 08:01:53 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.3 (/) Hi all, Runinng in any compositing window manager (this includes Wayland with a PGTK build of Emacs, but also X without PGTK), the frame parameter alpha-background is ignored for at least - fringe bitmaps - insets drawn with internal-border-width The resulting visual effect is quite jarring, and makes both of these difficult to use together with transparency. Here's a small emacs -Q script to exhibit the problem: #+begin_src emacs-lisp ;; Turn off scroll bars to make the bugs more visible. (scroll-bar-mode -1) ;; set transparency & internal border width. ;; Note how the internal border is going to be drawn in a solid white colour ;; and will ignore the alpha value. (modify-all-frames-parameters '((alpha-background . 50) (internal-border-width . 20))) (define-fringe-bitmap 'test-bitmap (vector (expt 2 15)) nil 16 '(top t)) ;; Define a face for the fringe that has a different background colour, to ;; more easily discern the fringe bitmap bug from the internal border bug. (make-face 'test-face) (set-face-attribute 'test-face nil :background "pink") ;; Apply a fringe bitmap to all lines in the current buffer. Note how the fringe ;; bitmap is monochrome, but the background colour ignores the global alpha value. (defun apply-fringe-bitmap () "Apply a fringe bitmap to the current buffer to exhibit the transparency bug." (add-text-properties (point-min) (point-max) '(wrap-prefix #(" " 0 1 (display (left-fringe test-bitmap test-face))) line-prefix #(" " 0 1 (display (left-fringe test-bitmap test-face)))))) (add-hook 'emacs-startup-hook #'apply-fringe-bitmap) #+end_src And here's how it looks like: https://aleks.bg/emacs-bug.png (that's my personal home page, not an image hoster.) I would expect the white border around the frame to also be transparent, and the fringe, too. Aleks
Aleksandar Dimitrov <mail@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#70697
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.