X-Loop: help-debbugs@HIDDEN Subject: bug#77104: 31.0.50; Transparent png image background is ignored in frames with alpha-background Resent-From: Ihor Radchenko <yantar92@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: dybfysiat@HIDDEN, bug-gnu-emacs@HIDDEN Resent-Date: Tue, 18 Mar 2025 18:05:02 +0000 Resent-Message-ID: <handler.77104.B.17423210804378 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 77104 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 77104 <at> debbugs.gnu.org Cc: gynamics <dybfysiat@HIDDEN> X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN X-Debbugs-Original-Xcc: gynamics <dybfysiat@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.17423210804378 (code B ref -1); Tue, 18 Mar 2025 18:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Mar 2025 18:04:40 +0000 Received: from localhost ([127.0.0.1]:43150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tubIq-00017w-LS for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 14:04:39 -0400 Received: from lists.gnu.org ([2001:470:142::17]:41426) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1tubIn-000154-NV for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 14:04:34 -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 <yantar92@HIDDEN>) id 1tubIP-0007ai-Mi for bug-gnu-emacs@HIDDEN; Tue, 18 Mar 2025 14:04:10 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <yantar92@HIDDEN>) id 1tubIL-0005kE-HG for bug-gnu-emacs@HIDDEN; Tue, 18 Mar 2025 14:04:08 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1AE68240101 for <bug-gnu-emacs@HIDDEN>; Tue, 18 Mar 2025 19:04:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1742321042; bh=wjDrzD9IAVrtn3vQcgfIBdbyqEmI8q9/Phc23gXNt8E=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=MbtIonrjGcAlRjbrDb0Qb51xnJ3nEwYeLtGcwN22C0Dr28vPXDsSkuIoXfp1CdeAE XQ2X/DxlSP2ug/hm3m/9xFBbA1KbMy++AmZYR7HUvdLmvqqcb9w9iUZGV4GvZWjpoo Qipc21XnVp6GuLU3t76b7YzQ/LNvrGT5VysS6hC14dvAU7BP6BHntCoz5eCDA3oE49 ZaxAWsv92NOXDjIaLTu4N+raKKoIUOAZiq+s3rEWw5HRq7cKBlkXqb3luvs26vHIlg h8wVCtUVpObfOWG7dkPYCH5sDGTjwmQTRZvz50oRzu9NrbXDEs8A8emid33vphd+ZU 19Bp+XBg5yT5g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZHKTs4fd3z6txj for <bug-gnu-emacs@HIDDEN>; Tue, 18 Mar 2025 19:04:01 +0100 (CET) From: Ihor Radchenko <yantar92@HIDDEN> Date: Tue, 18 Mar 2025 18:03:23 +0000 Message-ID: <87h63q9pxw.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@HIDDEN; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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.0 (/) --=-=-= Content-Type: text/plain Try the following starting from emacs -Q + the attached .png file: 1. (let ((ov (make-overlay 1 10))) (set-frame-parameter nil 'alpha-background 90) (overlay-put ov 'display (create-image "/path/to/image.png" nil nil :width 100))) 2. Observe image background not being transparent, but instead using default face background. 3. (let ((ov (make-overlay 1 10))) (set-frame-parameter nil 'alpha-background 90) (overlay-put ov 'display (create-image "/path/to/image.png" nil nil :width 100 :mask 'heuristic))) 4. With :mask 'heuristic, the background becomes transparent (mod "rough" edges due to clipping) I believe that (1) is a bug. See also https://list.orgmode.org/orgmode/7324dc0.f8517.195a224ffd1.Coremail.dybfysiat@HIDDEN/ --=-=-= Content-Type: image/png Content-Disposition: attachment; filename=image.png Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAGgAAAAaBAMAAACp2ARYAAAAMFBMVEX///8AAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAZnZURLurIhAyid3N 75k0F+6nAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACQUlEQVQ4Eb2TS2gTURSG/zw6M5k8Jt0rDpGi CMYoXbgRs8lSGly4HkGjoEhQKLhppxsX4iNLQaijq1IRCoKIqyi6KVKiIAouTEFFRUqxovWB9T93 5k4iQSQbf8g5339yz9zLuTOAlq9hiJwpDrFYL/0vTYlSBRh2p1pqtdA4eqdxXB81zuMhbYsLPThs un/uZK4s+fJ3uisRGPFVAjZ9jQDWN6H+400h15FaTgJleioBidUIkFkX6m/ykPkutesSREfChEI9 gqi9v+kH8FP+VdsJ1CRQeVclBjvc09ceeAy8pEt5DEqOH+bpVpgBY0ET88xrpF3A+kI2CKfLqbKP XIUWs6UtMEvdPe/IubZUIgVjGOkCSRlTtgorMN5fLKIQ0KbuWs9wHqeuPKHJ1xkipauH4PCx00UW 8i0kfaM96cP2aKereIrtOGnKfTpSiWRZnzHhAw/EO02YyAakpDz3hFxOE/eIwOVApTAkOrgJFFxx bOLzWwyq6Zeas6luFdfkKFqGhyVgFGkWHFm/mbsh2eUNr8Go83473A2YqDJoZV2syfxsFjiIc81H gjIIni3vzh3L1UGD/dKpZQT2Oq7Oz6+wwJHvO/sRcxxwhfY+du7d+ny2bfs0u/iLZR4cW8CrjY1P rCQ8XBq1S3ym49NOls58sJaLN9Q7fyvuUMADanU01DTE+U1MhLc44Md+WZN+YbUHFnsI3LYe9uyF CE2vV1M0jhfINKhA2d3lvrEMfIS6dzHtaRzMf/vcp3YMrv1X5TcSqHpBemqFBAAAAABJRU5ErkJg gg== --=-=-= Content-Type: text/plain In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.2) of 2025-03-16 built on localhost Repository revision: 52879c61e961cac71e7bb0ba12b73f6dd4f28877 Repository branch: scratch/markers-as-gap-array Windowing system distributor 'The X.Org Foundation', version 11.0.12101014 System Description: Gentoo Linux Configured using: 'configure --with-tree-sitter --with-native-compilation 'CFLAGS=-g3 -I/opt/mps/include -L/opt/mps/lib' JAVAC=/etc/java-config-2/current-system-vm/bin/javac PKG_CONFIG_PATH=/usr/share/guile-data/3.0/pkgconfig' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92> --=-=-=--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ihor Radchenko <yantar92@HIDDEN> Subject: bug#77104: Acknowledgement (31.0.50; Transparent png image background is ignored in frames with alpha-background) Message-ID: <handler.77104.B.17423210804378.ack <at> debbugs.gnu.org> References: <87h63q9pxw.fsf@localhost> X-Gnu-PR-Message: ack 77104 X-Gnu-PR-Package: emacs Reply-To: 77104 <at> debbugs.gnu.org Date: Tue, 18 Mar 2025 18:05:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to gynamics <dybfysiat@HIDDEN> (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 77104 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 77104: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77104 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#77104: 31.0.50; Transparent png image background is ignored in frames with alpha-background Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 19 Mar 2025 12:16:01 +0000 Resent-Message-ID: <handler.77104.B77104.17423865284135 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 77104 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ihor Radchenko <yantar92@HIDDEN>, Po Lu <luangruo@HIDDEN>, Alan Third <alan@HIDDEN> Cc: dybfysiat@HIDDEN, 77104 <at> debbugs.gnu.org Received: via spool by 77104-submit <at> debbugs.gnu.org id=B77104.17423865284135 (code B ref 77104); Wed, 19 Mar 2025 12:16:01 +0000 Received: (at 77104) by debbugs.gnu.org; 19 Mar 2025 12:15:28 +0000 Received: from localhost ([127.0.0.1]:49187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tusKW-00014d-AL for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 08:15:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33194) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tusKS-00014K-Uj for 77104 <at> debbugs.gnu.org; Wed, 19 Mar 2025 08:15:26 -0400 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 <eliz@HIDDEN>) id 1tusKI-0007yw-8p; Wed, 19 Mar 2025 08:15:14 -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=efeb+ZLUWxPBLiGtFj2gxENE6xzjkEVSV6w0jL4VSY4=; b=YT8f09ElN1/X xoGVepmp/qRoUtdb6ozqzh9rXuJZo6aOmjKStHWhiC7BWOR4Um1LvfW6xDU6hHMXx+9Tw/cVVdUML ePlSer4vbKN47V9wQyyTG77q70fdSyXmZm22pq35DCLyAEfAZUedTctKi1vVlc7eBYiC24yQ53BDT lFx0AGWF5rsfPAbpvjBsfU4M3c+mSWviaBzYl+bUm3Bh1hSfawLAzMUUPEZKa9UCSYv0zC9aWZpjJ zdDRVAXh4JutTg0+MvHmeb0/JbD57wWpW4xKy3yyLatqA0GXyspDyqLVUiaJf4uEc8L7p+JhCW9Az rehyo2FIxkB6mx/7w4dJuA==; Date: Wed, 19 Mar 2025 14:14:28 +0200 Message-Id: <86v7s5p68r.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87h63q9pxw.fsf@localhost> (message from Ihor Radchenko on Tue, 18 Mar 2025 18:03:23 +0000) References: <87h63q9pxw.fsf@localhost> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > Cc: gynamics <dybfysiat@HIDDEN> > From: Ihor Radchenko <yantar92@HIDDEN> > Date: Tue, 18 Mar 2025 18:03:23 +0000 > > Try the following starting from emacs -Q + the attached .png file: > > 1. > > (let ((ov (make-overlay 1 10))) > (set-frame-parameter nil 'alpha-background 90) > (overlay-put > ov > 'display > (create-image > "/path/to/image.png" > nil nil :width 100))) > > 2. Observe image background not being transparent, but instead using > default face background. > > 3. > > (let ((ov (make-overlay 1 10))) > (set-frame-parameter nil 'alpha-background 90) > (overlay-put > ov > 'display > (create-image > "/path/to/image.png" > nil nil :width 100 :mask 'heuristic))) > > 4. With :mask 'heuristic, the background becomes transparent (mod > "rough" edges due to clipping) > > I believe that (1) is a bug. > > See also https://list.orgmode.org/orgmode/7324dc0.f8517.195a224ffd1.Coremail.dybfysiat@HIDDEN/ Po Lu and Alan, is this a bug or a missing feature?
X-Loop: help-debbugs@HIDDEN Subject: bug#77104: 31.0.50; Transparent png image background is ignored in frames with alpha-background Resent-From: Po Lu <luangruo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 19 Mar 2025 13:07:02 +0000 Resent-Message-ID: <handler.77104.B77104.174238958921094 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 77104 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: dybfysiat@HIDDEN, Ihor Radchenko <yantar92@HIDDEN>, 77104 <at> debbugs.gnu.org, Alan Third <alan@HIDDEN> Received: via spool by 77104-submit <at> debbugs.gnu.org id=B77104.174238958921094 (code B ref 77104); Wed, 19 Mar 2025 13:07:02 +0000 Received: (at 77104) by debbugs.gnu.org; 19 Mar 2025 13:06:29 +0000 Received: from localhost ([127.0.0.1]:49473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tut7r-0005U1-MT for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 09:06:28 -0400 Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:34756) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <luangruo@HIDDEN>) id 1tut7o-0005Sd-L1 for 77104 <at> debbugs.gnu.org; Wed, 19 Mar 2025 09:06:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1742389578; bh=5HEgzcve/YWViU3Q4hqGyEP+kTDc9Yn//fD+4PyvI/Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=AlKJwHgX4FGgSTSVffDViZ9n3zHvBQnuzZBU/T+B1XUqHY7mJaqKdud/lTAR0+wqL1LS1Z7Ntpz3yyCdXT68YViiH8W+DDW2uIaetFTeOZjK7kyrqkMaRQ+yEFUDZwalliSpmzlJShX3uyFvW1O+CkKqFYsb9TGSiMOfWF7IFzWrnuRZ+a+tYweVmvQVtNEtg8TEMMYql0JhvW/pZ6ntzSgMqe/LjbuTsfwbw+Eik0ywO8kW/04T99vzc8MrK2wnDyv+AS4PWoBqZ4hTneV/5aCds7sYMhytB2CWf8EZzUR8y4wnnbVAQE6p/8uoaDbAdyhk1+qYYo7CfnV+jJi4DA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1742389578; bh=rs3y0FYeqdUD87Wnd30ORSc5LasV8LwP6MTkWg2v1GH=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=dITYD6n0rdVGhC7g2CjW0i5yHAcJ2PeV2EXedaj5bfW9t7qI+k5BTvale33fY4ebcHHgsPBjMZAsawMRXEC06uturK2l1Dq7cUOg8RkxHPH6gR+AeY85cc6Q+2RVKKr/GOe7kilXK+L6Dz7+Ognjd6whbp9pUEqj7D46wsZ7HJIFHBvXQWVHwHHmSqLxMt4ApW6vpqW9psokc6v4x57GuwxZ2K1FNAvKLjQNSKF5AW40WH5oNPPJ/h2BAtt8awd4GB5c+8qxZitei2lS3iO3dlZekYIhiB3sk3P3r+8asEijTtweTw7WKkI9A19/6vU98dU9JEcifm16gxVquYLRlg== X-YMail-OSG: ykgVhyIVM1mgVVWOI0ZcQsRJkakNPHuRJi86ZXIpGAVAwd3uK2ZbL5fH6dN2dzV 9UkcwmJNPMNIDSgorkXi.Ez7aW5uVXvp40qDPibLVtB58J34Lw_LxEYZ9GKlSqeXwQJIw.7FPEi. 1f8FWWfvdT.fBOdCcem_p6zo232DO_i6wLIr8YAAYxsC_0FzRdJs1FnxZiMlOo..iEh7l5zEmN2L HFxgj8w3gWxS_Q8h0KKqE7jxXdiqgU94H.y7EJ3bc8p.d0WTIhbxvb5vekrJk4WFM5WQgVMDNPmh J98oloIFBTgrsc46k5tGbMCstL.ptLwfx3axdmGuSBPKYeq0N4lJbVDUyQefu4dbc_xl7po51mKd _YFfnClyuJK0wyT0Y1JRuumGE9iIQ.OQFqIOct2og86n1xuzbyRGEDm5DUkD.E3h9cxGGSVemMC3 Tb3vX6j49GawpaUw6RFB5GRDhBTKiS__8UHbVZ3u.TsnhOWk7JxmAZI10u6NfQIPizpkRBO1Lzu2 tqPjIldIAkx_1T_Vej.Mhlf9pMjckKM5hX2GOTNuQvWpuI5IJYUaW5c2ZyfBC7T6xozPwbezHb7z vttuRpsMfzo1FwfVXnUzghUT_h3Q0hmT705p5IcIs..x65MjiMjPrVytYL3wV6y3CeWYORrV.IZn B1pRZGgI9OlTJq9KdEypj3CV2EWOTGnGBURORsU8cEaqSq.eCi_rwnWrWxh_IhLD42wJbW.jAFGo t_pEAstFt58pVzkCP_E9hP3fpFNdQaPCNQgKX_3XTNvrEOAXzP0Pkzt4o8dBtr.AZ3ZLhCVQok1c puts0J_vYoQ.o9RifrmlWWAodr_1Xr.Oaqz94bBtEpjJUrfBkSrtm1TOHhPUUNi49xDp_RNmk.bw 1_vatxvHdOP14FC5jVfve1Q6xii_fBMgqzA_LzQnGV77RVxHlITlkN1HpMKZaBPcL.JqLdoIc43u xebTcNUqAOM6FilO1T3jXeYoX9Pa.kgsn9C9A.1sf1TV.3yvRo1CQWxQY8xboooAS7OAWxy2xPCZ qeSXIrTif0YMRa7Qs4Ke7SlhSn9kLa5NDhqLxMARBS_u6Fj5xnOGCA7ol_JqHvkKRLU26lLENnHU kDH1JymLYHlR2kFr7.gIwDUIRpWh4qZbp3jRQfpeFk084G.5jUa6vZp7Bj.nl61DWtgewn5YLY6m VyyOrhnRfCjDsYZ_ny1MV7IDuRnIhkexvhtondYaMU2dEtVB0dqpMXk2dtNOwQ6EgdjRSI.KJgaO sjCAlN9k38USO.PoYDLsovBPT7LKl0Zb44X0XMjh503RupsQJNc3sfYmJRMPJ3wgYkGoTJdelLKH 7sWTr9gKPmW2qMuL9dnYviag7qa.QopJlD_RUT.cNgYTunoKwHM0PCF2nV8mpRmkL7Bgej64VggZ H8G7N80ZnodQc8HTTKddhZzOCzpWnFai77C0wIeiSKpgrMTujOeL8118YNKzsNMLN995U4SwYJDF BD9uumfanwUmDIfp1okNtx17aDZmu3zgYTkrCZVm8jhGaH50OkAmRbXTNRTmFuloc.wwaMWVRqmB Y2QGsVP.69S.IzoXy5Dpq9Oy7H6FQXLYbuGMZt2StJ4KhLlXUipOIUYMK.BC5FZjy1DRHp6yhh8t AHH.1CtkGzJJY.86fzZL339lvn00xmpO01ufAstAPnNORog5e3VObcL197oqdMltdK9RGmy6ravA WWNhxzY.LGtRDCQun6M.xEp_sp4jEP8VQjsMnnrBSIJhbjDkpNgnryCh.nfXuBX7qHkR8DJWCoND zxB0LCjHNdo7RYIHnVsKAMB06h.l2z.xOwtHFzY9fkjh4LScMyBnVMVcPZSN8koPi6zOzJZ9BoRn 0YnkTnTvZc7b5HHyyg6Gn1TUJuu7XKPCaC_QT3v26rbQDe.orCjWkJL.WucraJPQQ000taGJdn0m G04tSG6.VSyW467Vtcj6dy6nrTnSCgTFuscDTY0gtfY6LfjmfmkUKHDzPisNxfDFbSnPNkAajpu_ oZPJk3pRRy9xRqOfZypSygnElzJY15hD2lgeWL5.Vj1_.beuAQph4ve0mvLYFOaHiQO9s913XOMi hpo_GhnT5F0WGmtUhF4eMqT8gL6AiGjC9ve6ZjZE35QRWTFrsmC2a6fps_aFKJ0dpO3K9Ue1iCCk evkx2DfWFiut7n_MM9aA.rx.WrdVKY2LdSzhF8LPgb3J.VtxooIPZCb71k7Y9uhhQFsiMQ9xUYia pmSJ8kMq10.py0ctcNIrG1AQ8bWtuAAuxp9WvQFc7AWCZFshTCwxzcu9V X-Sonic-MF: <luangruo@HIDDEN> X-Sonic-ID: 0bc07dd1-1889-43b2-ab7b-5d62116a2f29 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Wed, 19 Mar 2025 13:06:18 +0000 Received: by hermes--production-sg3-fdfb796d6-6h959 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0eb855f2e1890aadf0adb80113272c08; Wed, 19 Mar 2025 13:06:13 +0000 (UTC) From: Po Lu <luangruo@HIDDEN> In-Reply-To: <86v7s5p68r.fsf@HIDDEN> References: <87h63q9pxw.fsf@localhost> <86v7s5p68r.fsf@HIDDEN> Date: Wed, 19 Mar 2025 21:06:07 +0800 Message-ID: <87v7s5w4ow.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.23435 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 147 X-Spam-Score: 0.0 (/) 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: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: > Po Lu and Alan, is this a bug or a missing feature? I'm tending towards "bug", but only Alan can be sure.
X-Loop: help-debbugs@HIDDEN Subject: bug#77104: 31.0.50; Transparent png image background is ignored in frames with alpha-background Resent-From: Alan Third <alan@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 19 Mar 2025 16:25:13 +0000 Resent-Message-ID: <handler.77104.B77104.174240144226726 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 77104 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Po Lu <luangruo@HIDDEN> Cc: dybfysiat@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 77104 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN> Received: via spool by 77104-submit <at> debbugs.gnu.org id=B77104.174240144226726 (code B ref 77104); Wed, 19 Mar 2025 16:25:13 +0000 Received: (at 77104) by debbugs.gnu.org; 19 Mar 2025 16:24:02 +0000 Received: from localhost ([127.0.0.1]:52660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuwD3-0006ws-Mc for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 12:24:02 -0400 Received: from dane.soverin.net ([2a10:de80:1:4092:b9e9:229d:0:1]:48953) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <alan@HIDDEN>) id 1tuwCw-0006uJ-Ph for 77104 <at> debbugs.gnu.org; Wed, 19 Mar 2025 12:23:56 -0400 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4ZHvCj6JrZzygc; Wed, 19 Mar 2025 16:23:45 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4ZHvCj3F46z9f; Wed, 19 Mar 2025 16:23:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1742401425; bh=p7YOo/bV1QB8VKCRukgT1pWOtPZ9OsgoPfU2hPI6DWM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZQzSjz0WFlmYlSK6uUEcfsuinK1COPczp4SBx+R5ft3DwgO/Z23z5Tzg1eEvTBjnm zAsd3XCnBz7qPGXlp1tFCxBn98Hgqs8DfdMez6juwDy3amWRvS53bB5O+2su/T7LPr 5PRJgJ9gnNjUImp4ouERq7dPsCUpSs7Bi0BC5deXRRH6EdzciXfk17K7amPHiujSBO WRbYeg3BsRTRAJMYb2n9ju7+FBUm0VVYCwe+0WT3hzZ8U+MnRY40PfOCF7XYInivnN Qgfgzz4q249HrsWvf2xYR3/z6O/+7EczISTuPgmsuUuXpvXggtAygLBgSzwOMRmKhh YdDfl+EbQBecw== X-CM-Analysis: v=2.4 cv=I7afRMgg c=1 sm=1 tr=0 ts=67daef91 a=h/5iclRcyR4WXIJfY+0Rnw==:117 a=h/5iclRcyR4WXIJfY+0Rnw==:17 a=kj9zAlcOel0A:10 a=mDV3o1hIAAAA:8 a=mCl8_4eRF2Wk1jT3ObMA:9 a=CjuIK1q_8ugA:10 X-CM-Envelope: MS4xfCrdMNLsh+e2BxwfivXh5D4lpXoRNhfw8wixsP+9sZ34C4DYSjrG9kmRLC4PXs7+RD7VsH4RlqZWu+2u1nx3DnK6sYJuVa/kzvjLwcIDHreA4f8E46VR NlfyuxnXx5heNL+OcimhXCcYZonsNgASBq4Lqayka6xUoAF9IDvXdeP0BtBiYpDOKt5NcSCVjX4+KrIhht9rEySxz3O8RIButoIxWyRBnmqyhw70TjN4sXMB kfeeErgVI9imvQGDcIZqKogFeNWbflr0BCXlnuZOxabNNdu/a3YnV2si933Yi7VV Date: Wed, 19 Mar 2025 16:23:44 +0000 From: Alan Third <alan@HIDDEN> Message-ID: <Z9rvkAsVOTM8w0OL@HIDDEN> Mail-Followup-To: Alan Third <alan@HIDDEN>, Po Lu <luangruo@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN>, 77104 <at> debbugs.gnu.org, dybfysiat@HIDDEN References: <87h63q9pxw.fsf@localhost> <86v7s5p68r.fsf@HIDDEN> <87v7s5w4ow.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87v7s5w4ow.fsf@HIDDEN> X-Spampanel-Class: ham X-Spam-Score: -0.7 (/) 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: -1.7 (-) On Wed, Mar 19, 2025 at 09:06:07PM +0800, Po Lu wrote: > Eli Zaretskii <eliz@HIDDEN> writes: > > > Po Lu and Alan, is this a bug or a missing feature? > > I'm tending towards "bug", but only Alan can be sure. I'd lean more towards missing feature, but it's a toss up really. I think the problem is that Emacs has never handled image transparency, so it sets the transparent pixels of the image to the frame's background colour. There's quite a bit of fiddling to manage this with changing backgrounds and so on. I'm not sure what would be required for drawing transparent images to the glass. On NS I think it would be near trivial as the toolkit will handle it for us, but I don't know about others. For example I have a memory of being told that some terms don't clear under images so drawing a transparent image might show the previous pixels. -- Alan Third
X-Loop: help-debbugs@HIDDEN Subject: bug#77104: 31.0.50; Transparent png image background is ignored in frames with alpha-background Resent-From: Ihor Radchenko <yantar92@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 19 Mar 2025 16:58:02 +0000 Resent-Message-ID: <handler.77104.B77104.174240347220842 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 77104 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Third <alan@HIDDEN> Cc: Po Lu <luangruo@HIDDEN>, dybfysiat@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 77104 <at> debbugs.gnu.org Received: via spool by 77104-submit <at> debbugs.gnu.org id=B77104.174240347220842 (code B ref 77104); Wed, 19 Mar 2025 16:58:02 +0000 Received: (at 77104) by debbugs.gnu.org; 19 Mar 2025 16:57:52 +0000 Received: from localhost ([127.0.0.1]:52855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuwjn-0005Q4-Do for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 12:57:51 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52915) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1tuwjj-0005Pl-Fc for 77104 <at> debbugs.gnu.org; Wed, 19 Mar 2025 12:57:49 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 41370240101 for <77104 <at> debbugs.gnu.org>; Wed, 19 Mar 2025 17:57:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1742403461; bh=lxb809pVZTQi8CC3UfPJSu0JthndpfT9+zh4sTYvzBk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=pfvr2vGpWnE5e36SNRXXJDbtS1uT0UjNJyZoKeDPcjlDM+aSTMfxGuUyzUoI/lnp4 QDV13ZTbQHGIkALtdb3K+3FaTAXH58EEPlWGCYA6uzH2qEB2xi6cEdGsr4tiHrJw6n b+DhUudkNfKrAZfCORrt8UvWNINqtXdQT15JvEyu1O09g/tCnxCUX5fClN3m1yhEk3 50/ek0Wljd1SWAW/ED94B8msgRebU23vEKOUm1tvpzHgTXpVHmDYLd1uXW5aCMiwzF 1hd5EqBBu5hPvWWCa+S/CCiyfB4UKdGl+nIAw48ROM8TuwvC4IbJrJPThhXztPZEVH McDU1Z3q/DrWg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZHvyr1w1Kz6tvk; Wed, 19 Mar 2025 17:57:40 +0100 (CET) From: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <Z9rvkAsVOTM8w0OL@HIDDEN> References: <87h63q9pxw.fsf@localhost> <86v7s5p68r.fsf@HIDDEN> <87v7s5w4ow.fsf@HIDDEN> <Z9rvkAsVOTM8w0OL@HIDDEN> Date: Wed, 19 Mar 2025 16:57:01 +0000 Message-ID: <87msdh3qn6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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: -3.3 (---) Alan Third <alan@HIDDEN> writes: > I think the problem is that Emacs has never handled image > transparency, so it sets the transparent pixels of the image to the > frame's background colour. There's quite a bit of fiddling to manage > this with changing backgrounds and so on. > > I'm not sure what would be required for drawing transparent images to > the glass. On NS I think it would be near trivial as the toolkit will > handle it for us, but I don't know about others. For example I have a > memory of being told that some terms don't clear under images so > drawing a transparent image might show the previous pixels. Then, how does :mask 'heuristic works? It somehow manages to set certain pixels to be truly transparent. If so, why is it a problem setting pixels that have transparent color in the image truly transparent in exactly the same way? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
X-Loop: help-debbugs@HIDDEN Subject: bug#77104: 31.0.50; Transparent png image background is ignored in frames with alpha-background Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 19 Mar 2025 17:03:06 +0000 Resent-Message-ID: <handler.77104.B77104.174240378521999 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 77104 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Third <alan@HIDDEN> Cc: luangruo@HIDDEN, dybfysiat@HIDDEN, alan@HIDDEN, 77104 <at> debbugs.gnu.org, yantar92@HIDDEN Received: via spool by 77104-submit <at> debbugs.gnu.org id=B77104.174240378521999 (code B ref 77104); Wed, 19 Mar 2025 17:03:06 +0000 Received: (at 77104) by debbugs.gnu.org; 19 Mar 2025 17:03:05 +0000 Received: from localhost ([127.0.0.1]:52882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuwoq-0005ic-Bh for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 13:03:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52596) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tuwol-0005gt-PQ for 77104 <at> debbugs.gnu.org; Wed, 19 Mar 2025 13:03:00 -0400 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 <eliz@HIDDEN>) id 1tuwof-0007Xq-1e; Wed, 19 Mar 2025 13:02:53 -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=xgO1V3morKVGK/aSjSSewoXMZAy9zlhP7c3GGg1ZEFs=; b=VEHT5jKni7d8 9qYHIo4Gh1siZ9GD3Kpg39g7W4Z4cnIYBr/Lj6zANCr7wg0HKRO4rClfMopJRwUEUc1zJQRXNIK1B +QySb3UVA4rMqsCAsJiSFRS8rwvNjEEvjKH6EFD4KWsbNkGTWjlw4eYSjrktaBqRyC2nMwP1p+qmq zAccgFYbfCZWt0gJTStLF5U1FolQXTS1IgWOxgtMfmfDNjcN2JNCH4daSK66enj/Wgqg0lRsNzy0x Yv1MFW0frqeQ5v+uN52s/6OpGITzZAlo+RpoK2NwJcDOVm5fy98wOWtx5u13vAz2n+H/2MX46zObi iAODtUvSdTrQEj2+crSQ3A==; Date: Wed, 19 Mar 2025 19:02:44 +0200 Message-Id: <8634f9oswb.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <Z9rvkAsVOTM8w0OL@HIDDEN> (message from Alan Third on Wed, 19 Mar 2025 16:23:44 +0000) References: <87h63q9pxw.fsf@localhost> <86v7s5p68r.fsf@HIDDEN> <87v7s5w4ow.fsf@HIDDEN> <Z9rvkAsVOTM8w0OL@HIDDEN> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > Date: Wed, 19 Mar 2025 16:23:44 +0000 > From: Alan Third <alan@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN>, > 77104 <at> debbugs.gnu.org, dybfysiat@HIDDEN > > On Wed, Mar 19, 2025 at 09:06:07PM +0800, Po Lu wrote: > > Eli Zaretskii <eliz@HIDDEN> writes: > > > > > Po Lu and Alan, is this a bug or a missing feature? > > > > I'm tending towards "bug", but only Alan can be sure. > > I'd lean more towards missing feature, but it's a toss up really. > > I think the problem is that Emacs has never handled image > transparency, so it sets the transparent pixels of the image to the > frame's background colour. That's what I thought, indeed. > There's quite a bit of fiddling to manage this with changing > backgrounds and so on. > > I'm not sure what would be required for drawing transparent images to > the glass. On NS I think it would be near trivial as the toolkit will > handle it for us, but I don't know about others. For example I have a > memory of being told that some terms don't clear under images so > drawing a transparent image might show the previous pixels. Patches welcome.
X-Loop: help-debbugs@HIDDEN Subject: bug#77104: 31.0.50; Transparent png image background is ignored in frames with alpha-background Resent-From: Alan Third <alan@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 19 Mar 2025 20:46:02 +0000 Resent-Message-ID: <handler.77104.B77104.174241714911568 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 77104 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ihor Radchenko <yantar92@HIDDEN> Cc: Po Lu <luangruo@HIDDEN>, dybfysiat@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 77104 <at> debbugs.gnu.org Received: via spool by 77104-submit <at> debbugs.gnu.org id=B77104.174241714911568 (code B ref 77104); Wed, 19 Mar 2025 20:46:02 +0000 Received: (at 77104) by debbugs.gnu.org; 19 Mar 2025 20:45:49 +0000 Received: from localhost ([127.0.0.1]:53360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tv0IP-00030W-GK for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 16:45:49 -0400 Received: from dane.soverin.net ([185.233.34.37]:48619) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <alan@HIDDEN>) id 1tv0IL-00030A-Rd for 77104 <at> debbugs.gnu.org; Wed, 19 Mar 2025 16:45:47 -0400 Received: from smtp.soverin.net (unknown [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4ZJ11v5xn7z17qM; Wed, 19 Mar 2025 20:45:39 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4ZJ11v2Nhqz9f; Wed, 19 Mar 2025 20:45:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1742417139; bh=nqF7Cl6Ld1lgNNNSof7SHGvOUQGwO6qrPciY9q7tqvk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kkNYnMSSZ/1PtRmnMJa+7m5N/CO4aJe8buI1u9rP0261pgI47ZOODIzjHDIs4Pd9Y IRSwvIEf+VPWnCNXi8UdpngqINOp5NJjjjLlvGTZqjkydYzHdTZmElneeEE++atVOz RjBtxakTdzfBuhj0zmyILd54radC3wwNp+3Lc6CNwm+BuqAEN+rwZY6uiJ33gOwXC9 0yU8/s9i/HecwrdV2sC33kR981zq1U5y1mtiUYs9PUdmK6hbBLm2v/b4zBvmOJ6yFH EmrQyfRVx8/NL6c1bb0VR15I+BX5VJSpYPqlwz6vtJ57j4LahQPmWJcXQCDMHZx4nK vle1vXejJ1mQw== X-CM-Analysis: v=2.4 cv=I7afRMgg c=1 sm=1 tr=0 ts=67db2cf3 a=JQ/4M/eHZ1xGgmq+/0o6yg==:117 a=JQ/4M/eHZ1xGgmq+/0o6yg==:17 a=kj9zAlcOel0A:10 a=hIj89exaAAAA:8 a=ScbQDqAzqbG1if46IykA:9 a=CjuIK1q_8ugA:10 a=lS9wXHQM5UdnNJ4u63Ry:22 X-CM-Envelope: MS4xfKtqpnTCs7P7CJOGXOsFIUcUNusdioQGdQLlsmPupXg5+dSS9ZCZnKubCCrf98Pc0XWqD2oGkUd8ubXjM1SNU9Kt34+zkOdsOuGaIc3gcVpDzZqaJLZy xGqAMffu2rQLgICMijkqcQoFaWPj3rPr85H7XT6PCVodvVitKg7QkWqTtnTbwRrBAZC/NoqFlaVDXilryRqDw5GDj6EFXHDEOxHosyJWewODiafKS0t+SRM3 geazq3d0dT7sF7nctI1oj2f0vh410Nd5vZwDIlAODk6UaubvztsvEC4sJxmL4gR2 Date: Wed, 19 Mar 2025 20:45:37 +0000 From: Alan Third <alan@HIDDEN> Message-ID: <Z9ss8cHNirozObRl@HIDDEN> Mail-Followup-To: Alan Third <alan@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN>, Po Lu <luangruo@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 77104 <at> debbugs.gnu.org, dybfysiat@HIDDEN References: <87h63q9pxw.fsf@localhost> <86v7s5p68r.fsf@HIDDEN> <87v7s5w4ow.fsf@HIDDEN> <Z9rvkAsVOTM8w0OL@HIDDEN> <87msdh3qn6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87msdh3qn6.fsf@localhost> X-Spampanel-Class: ham X-Spam-Score: 0.0 (/) 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: -1.0 (-) On Wed, Mar 19, 2025 at 04:57:01PM +0000, Ihor Radchenko wrote: > Alan Third <alan@HIDDEN> writes: > > > I think the problem is that Emacs has never handled image > > transparency, so it sets the transparent pixels of the image to the > > frame's background colour. There's quite a bit of fiddling to manage > > this with changing backgrounds and so on. > > > > I'm not sure what would be required for drawing transparent images to > > the glass. On NS I think it would be near trivial as the toolkit will > > handle it for us, but I don't know about others. For example I have a > > memory of being told that some terms don't clear under images so > > drawing a transparent image might show the previous pixels. > > Then, how does :mask 'heuristic works? It somehow manages to set certain > pixels to be truly transparent. If so, why is it a problem setting > pixels that have transparent color in the image truly transparent in > exactly the same way? As I recall on X it uses a mask, so there's a second image that has the transparent pixels marked (so probably a one bit bitmap) and the image drawing function only draws the corresponding non-transparent pixels from the main image. Other terms may work differently. I don't think NS has native support for masking bitmaps, for example. I can't remember how we work around that. -- Alan Third
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.