[blfs] branch trunk updated: gtk4: recommend xdg-desktop-portal for text scaling on HiDPI monitor

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <177821503421.23188.9357010520562961911@rivendell.linuxfromscratch.org>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

The following commit(s) were added to refs/heads/trunk by this push:
     new 6816c89467 gtk4: recommend xdg-desktop-portal for text scaling on HiDPI monitor
6816c89467 is described below

commit 6816c89467b8dcf01c8a50634c71b6371a17ceb6
Author: Xi Ruoyao <[email protected]>
AuthorDate: Fri May 8 12:36:34 2026 +0800

    gtk4: recommend xdg-desktop-portal for text scaling on HiDPI monitor
---
 x/lib/gtk4.xml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/x/lib/gtk4.xml b/x/lib/gtk4.xml
index b935339820..7c5fbc261a 100644
--- a/x/lib/gtk4.xml
+++ b/x/lib/gtk4.xml
@@ -101,8 +101,14 @@
       <xref linkend="glslc"/>,
       <xref role='runtime' linkend="gst10-plugins-good"/> (runtime,
       built with <xref role='nodep' linkend='libvpx'/>),
-      <xref linkend="hicolor-icon-theme"/> (needed for tests and for defaults), and
-      <xref linkend="vulkan-loader"/>
+      <xref linkend="hicolor-icon-theme"/> (needed for tests and for defaults),
+      <xref linkend="vulkan-loader"/>, and
+      <!-- without this the texts in GTK-4 windows are incorrectly scaled
+           if a scaling factor is set in gnome-control-center (for HiDPI
+           monitors)  -->
+      <xref role='runtime' linkend='xdg-desktop-portal'/> (runtime,
+      with the backend suitable for your desktop environment, for example
+      <xref role='nodep' linkend='xdg-desktop-portal-gnome'/>)
     </para>
 
     <bridgehead renderas="sect4">Recommended (Required if building GNOME)</bridgehead>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.