From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Olivier =?UTF-8?Q?Cr=C3=AAte?= Newsgroups: gmane.emacs.bugs Subject: bug#56832: 29.0.50; Emacs pgtk started on low-DPI doesn't adapt to hi-DPI Date: Fri, 29 Jul 2022 13:58:42 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29035"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.44.3 (3.44.3-1.fc36) To: 56832@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 29 20:27:38 2022 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 1oHUi1-0007Jz-Ei for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Jul 2022 20:27:37 +0200 Original-Received: from localhost ([::1]:56858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHUi0-0000Af-Cd for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Jul 2022 14:27:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHUhS-00009X-Dv for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 14:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHUhS-0001v6-4s for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 14:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHUhR-00068H-Vb for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 14:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Olivier =?UTF-8?Q?Cr=C3=AAte?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Jul 2022 18:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56832 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165911917523501 (code B ref -1); Fri, 29 Jul 2022 18:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Jul 2022 18:26:15 +0000 Original-Received: from localhost ([127.0.0.1]:33432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHUgg-00066y-CQ for submit@debbugs.gnu.org; Fri, 29 Jul 2022 14:26:15 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHUGI-0005OJ-Ce for submit@debbugs.gnu.org; Fri, 29 Jul 2022 13:58:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHUGI-0001Qe-7p for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 13:58:58 -0400 Original-Received: from relay12.mail.gandi.net ([2001:4b98:dc4:8::232]:49891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHUGF-0005Yi-F7 for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 13:58:57 -0400 Original-Received: (Authenticated sender: olivier.crete@ocrete.ca) by mail.gandi.net (Postfix) with ESMTPSA id E195B200003 for ; Fri, 29 Jul 2022 17:58:45 +0000 (UTC) Received-SPF: pass client-ip=2001:4b98:dc4:8::232; envelope-from=olivier.crete@ocrete.ca; helo=relay12.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 29 Jul 2022 14:26:13 -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" Xref: news.gmane.io gmane.emacs.bugs:238209 Archived-At: Hi, If I start emacs on my low DPI screen (a normal 1080p screen), when I switch it to another screen which is 4K, it doesn't adapt correctly but instead I get the blurry scaling from the compositor. I'd expect it to listen to the appropriate Wayland events and change its internal scaling factor. This is all using master built with pgtk (from the copr). Olivier In GNU Emacs 29.0.50 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) =C2=A0of 2022-07-14 built on a522b9aae9cf45e9868103ec13e1f348 System Description: Fedora Linux 36 (Workstation Edition) Configured using: =C2=A0'configure --build=3Dx86_64-redhat-linux-gnu =C2=A0--host=3Dx86_64-redhat-linux-gnu --program-prefix=3D =C2=A0--disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr =C2=A0--bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc =C2=A0--datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/li= b64 =C2=A0--libexecdir=3D/usr/libexec --localstatedir=3D/var =C2=A0--sharedstatedir=3D/var/lib --mandir=3D/usr/share/man =C2=A0--infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with= - png =C2=A0--with-rsvg --with-tiff --with-xft --with-xpm --with-gpm=3Dno =C2=A0--with-xwidgets --with-modules --with-harfbuzz --with-cairo --with- json =C2=A0--with-pgtk --with-native-compilation --enable-link-time-optimization =C2=A0build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linu= x-gnu =C2=A0CC=3Dgcc 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -flto=3Dauto -ffat-lto-object= s =C2=A0-fexceptions -g -grecord-gcc-switches -pipe -Wall =C2=A0-Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 =C2=A0-Wp,-D_GLIBCXX_ASSERTIONS =C2=A0-specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector- strong =C2=A0-specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric =C2=A0-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection= ' =C2=A0LDFLAGS=3D-Wl,-z,relro =C2=A0PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig CXX=3Dg+= + =C2=A0'CXXFLAGS=3D-O2 -flto=3Dauto -ffat-lto-objects -fexceptions -g =C2=A0-grecord-gcc-switches -pipe -Wall -Werror=3Dformat-security =C2=A0-Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS =C2=A0-specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector- strong =C2=A0-specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=3Dgeneric =C2=A0-fasynchronous-unwind-tables -fstack-clash-protection -fcf- protection'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS XIM XWIDGETS GTK3 ZLIB Important settings: =C2=A0 value of $LANG: en_CA.utf8 =C2=A0 value of $XMODIFIERS: @im=3Dibus =C2=A0 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: =C2=A0 global-whitespace-mode: t =C2=A0 tooltip-mode: t =C2=A0 global-eldoc-mode: t =C2=A0 eldoc-mode: t =C2=A0 show-paren-mode: t =C2=A0 electric-indent-mode: t =C2=A0 mouse-wheel-mode: t =C2=A0 tool-bar-mode: t =C2=A0 menu-bar-mode: t =C2=A0 file-name-shadow-mode: t =C2=A0 global-font-lock-mode: t =C2=A0 font-lock-mode: t =C2=A0 blink-cursor-mode: t =C2=A0 line-number-mode: t =C2=A0 indent-tabs-mode: t =C2=A0 transient-mark-mode: t =C2=A0 auto-composition-mode: t =C2=A0 auto-encryption-mode: t =C2=A0 auto-compression-mode: t Load-path shadows: /home/ocrete/.emacs.d/elpa/transient-0.3.7/transient hides /usr/share/emacs/29.0.50/lisp/transient Features: (shadow sort mail-extr emacsbug message yank-media dired dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail mail-utils cl-extra shortdoc text-property-search help-fns radix-tree help-mode whitespace cus-load gtimelog derived cl hi-lock url-http url-auth url-gw nsm puny mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr finder-inf emacs-goodies-loaddefs clang-rename clang-include-fixer let-alist clang-format xml info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile cconv url-vars cl-loaddefs cl-lib rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc- hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common- win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 128041 9251) =C2=A0(symbols 48 10824 0) =C2=A0(strings 32 36158 2282) =C2=A0(string-bytes 1 1133447) =C2=A0(vectors 16 18727) =C2=A0(vector-slots 8 392717 7091) =C2=A0(floats 8 81 88) =C2=A0(intervals 56 380 0) =C2=A0(buffers 992 12)) --=20 Olivier Cr=C3=AAte olivier.crete@ocrete.ca