From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Koppelman Newsgroups: gmane.emacs.bugs Subject: bug#73207: 31.0.50; On PGTK frame outer-position and frame-monitor-workarea wrong. Date: Thu, 12 Sep 2024 13:24:04 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31992"; mail-complaints-to="usenet@ciao.gmane.io" To: 73207@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 12 20:25:16 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 1sooVI-00087Q-6V for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Sep 2024 20:25:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sooV0-0002Mw-ST; Thu, 12 Sep 2024 14:25:00 -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 1sooUy-0002Ml-VY for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2024 14:24:57 -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 1sooUw-0001BH-UU for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2024 14:24:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=euaJbORKDHBRVIwprAbcaD+WWoznChwOj+gddx4RRjw=; b=KgHh1xRkEp4O0QrPOWa14K34h7+Yv5aDJ4s5SRYRcdvJYR/VkxX+vyLdxKg+iFaMnmyZUhWC7P8oPQeJh+97x4yKNI0m9h00b5Enr9xOEUUtW5jdnoZ77bY1EfFAzNy2qKMTPYEY9A+hlc5ol/i3jOnNu6rQE2HQFz4EkfeuoBfBpmetCU2pRHbthH1/ooYArhFsSgzIl/JoQla/s1C5JuZ6amhLS+gf6NbW0Udkzmtf1r73TKS3r7mtJ+y1QK7nBTJjjLOu7Y8XnKu+cnTIh2osfQF6Hfcjjx2jAEL5/gaaCMUh+NSax+OH3kw5qW5oVzSnbN4cVDXsvy3r2G1coA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sooV4-0001Ng-Ia for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2024 14:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Koppelman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Sep 2024 18:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73207 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.17261654615178 (code B ref -1); Thu, 12 Sep 2024 18:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Sep 2024 18:24:21 +0000 Original-Received: from localhost ([127.0.0.1]:41916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sooUO-0001LS-RO for submit@debbugs.gnu.org; Thu, 12 Sep 2024 14:24:21 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sooUN-0001LL-QN for submit@debbugs.gnu.org; Thu, 12 Sep 2024 14:24:20 -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 1sooUF-0001aR-Dc for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2024 14:24:11 -0400 Original-Received: from relay002.lsu.edu ([130.39.6.157] helo=relay.lsu.edu) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sooUC-00014v-1X for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2024 14:24:11 -0400 Original-Received: from cyc2.ece.lsu.edu (cyc2.ece.lsu.edu [96.125.114.179]) by relay.lsu.edu (Postfix) with ESMTPS id E66EA219BD40 for ; Thu, 12 Sep 2024 13:24:04 -0500 (CDT) Received-SPF: pass client-ip=130.39.6.157; envelope-from=eekopp@lsu.edu; helo=relay.lsu.edu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:291638 Archived-At: In a PGTK build of Emacs running on KDE Wayland (versions are below) the position of a frame and the size of the workarea are wrong. These work correctly in non-PGTK builds. For example, (frame-edges nil 'outer-edges) returns (0 0 752 840), even though the top-left of the frame is not over pixel 0,0. In a call to (frame-monitor-attributes) the geometry and workarea dimensions are the same. The workarea is correctly reported as smaller in non-PGTK builds. I'd prefer that these be fixed, but if not they ought to be documented in etc/PROBLEMS. In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.0) of 2024-09-08 built on dmk-laptop-23 Repository revision: 4073c624376148d469a27a7c487a9b2f49d5352a Repository branch: master System Description: Fedora Linux 41 (KDE Plasma Prerelease) Configured using: 'configure 'CFLAGS=-O2 -march=native' --without-pop --with-native-compilation --with-pgtk' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: C value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Info Minor modes in effect: global-hi-lock-mode: t hi-lock-mode: t which-function-mode: t global-ligature-mode: t ligature-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t isearch-fold-quotes-mode: t global-font-lock-mode: t font-lock-mode: t minibuffer-regexp-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: The problem occurs with a -Q run, no need for my load path details. Features: (shadow sort gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader range wid-edit emacsbug tabify color tex-mode latexenc verilog-mode-4702 skeleton reporter verilog-mode log-view pcvs-util bug-reference pcase emacs-news-mode noutline outline debug backtrace find-func shortdoc gud conf-mode wdired smerge-mode diff vc vc-git diff-mode track-changes vc-dispatcher cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs parse-time iso8601 mule-util info apropos cl-print help-fns radix-tree pcmpl-unix misearch multi-isearch cperl-mode facemenu mail-extr project add-log compile comp-run comp-common view p-math.el sh-script smie treesit executable files-x p-viewer-laptop browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util p-iimage simtools p-tex-funcs shell pcomplete comint ansi-osc ring man ansi-color hi-lock rmail p-stop-time time-stamp dired-aux p-page dabbrev ps-print ps-print-loaddefs lpr holidays holiday-loaddefs appt p-diary-aux cal-x p-diary-audit diary-lib diary-loaddefs cal-menu calendar cal-loaddefs mic-paren message sendmail mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader ffap url-parse auth-source eieio eieio-core icons password-cache json map byte-opt bytecomp byte-compile url-vars ccl-mode ampl-mode texize chemora-mode cmake-mode thingatpt which-func imenu flyspell ispell gnuplot-mode yaml-mode p-pwf-mode p-autoreload cl-extra help-mode rx cl-seq ligature easy-mmode advice derived sd image-file image-converter dbus xml subr-x cl-macs gv cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen 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 theme-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 dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 596625 74664) (symbols 48 25644 0) (strings 32 109707 10232) (string-bytes 1 3677640) (vectors 16 55193) (vector-slots 8 1481273 104469) (floats 8 889 749) (intervals 56 39508 2174) (buffers 992 65))