GNU bug report logs - #32977
26.1.50; Emacs (on gnome 3, wayland, debian buster) calculates incorrect horizontal positions

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Kai Tetzlaff <kai.tetzlaff@HIDDEN>; dated Sun, 7 Oct 2018 19:09:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Oct 2018 19:08:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 07 15:08:02 2018
Received: from localhost ([127.0.0.1]:39638 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g9EPK-0007GT-Ax
	for submit <at> debbugs.gnu.org; Sun, 07 Oct 2018 15:08:02 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54499)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kai.tetzlaff@HIDDEN>) id 1g9EPJ-0007G0-1r
 for submit <at> debbugs.gnu.org; Sun, 07 Oct 2018 15:08:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kai.tetzlaff@HIDDEN>) id 1g9EPB-0005bj-Vh
 for submit <at> debbugs.gnu.org; Sun, 07 Oct 2018 15:07:55 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58868)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <kai.tetzlaff@HIDDEN>) id 1g9EPB-0005be-Ov
 for submit <at> debbugs.gnu.org; Sun, 07 Oct 2018 15:07:53 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35872)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <kai.tetzlaff@HIDDEN>) id 1g9EP9-0002x7-SU
 for bug-gnu-emacs@HIDDEN; Sun, 07 Oct 2018 15:07:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kai.tetzlaff@HIDDEN>) id 1g9EP6-0005Yk-J4
 for bug-gnu-emacs@HIDDEN; Sun, 07 Oct 2018 15:07:51 -0400
Received: from mout.kundenserver.de ([212.227.17.24]:35603)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <kai.tetzlaff@HIDDEN>) id 1g9EP6-0005Xm-8J
 for bug-gnu-emacs@HIDDEN; Sun, 07 Oct 2018 15:07:48 -0400
Received: from mail.tetzco.de ([188.192.198.181]) by mrelayeu.kundenserver.de
 (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id
 1N0F9t-1fo79h0IVD-00xHLK for <bug-gnu-emacs@HIDDEN>; Sun, 07 Oct 2018
 21:07:46 +0200
Received: from mail.tetzco.de ([188.192.198.181]) by mrelayeu.kundenserver.de
 (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id
 1N0F9t-1fo79h0IVD-00xHLK for <bug-gnu-emacs@HIDDEN>; Sun, 07 Oct 2018
 21:07:46 +0200
Received: from localhost (localhost [127.0.0.1])
 by mail.tetzco.de (Postfix) with ESMTP id E9DD457F8CDD
 for <bug-gnu-emacs@HIDDEN>; Sun,  7 Oct 2018 21:07:44 +0200 (CEST)
X-Virus-Scanned: amavisd-new at tetzco.de
Received: from mail.tetzco.de ([127.0.0.1])
 by localhost (mini.tetzco.de [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id gXB1gPh1BxwM for <bug-gnu-emacs@HIDDEN>;
 Sun,  7 Oct 2018 21:07:39 +0200 (CEST)
Received: from moka.tetzco.de (unknown
 [IPv6:2001:470:702e::c0cf:57b3:78c2:9014])
 by mail.tetzco.de (Postfix) with ESMTPSA id 23B5D57F8CC1
 for <bug-gnu-emacs@HIDDEN>; Sun,  7 Oct 2018 21:07:39 +0200 (CEST)
From: Kai Tetzlaff <kai.tetzlaff@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 26.1.50;
 Emacs (on gnome 3, wayland, debian buster) calculates incorrect
 horizontal positions
Date: Sun, 07 Oct 2018 21:07:20 +0200
Message-ID: <878t398tjr.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:UY5iDqDAS3DahhxkuXSLZOwWj6lImXHT1HD7MzLA651NUvXPSqP
 63MT7feyEniFTDn6Gh9bF0Yu9cZGYYQ+SQnx/Yr7AaNvWDqoqcQdY+L0OKBbGEZANwAiWey
 u8kmqipzQWZLcIj8Vo2s5dDIQsxyKbqvT6WcaqkesyxR+zHu+9vmcKglDz9/YpPYWIiTdRd
 0a50TDIQJ1ZEzTzGbjCng==
X-UI-Out-Filterresults: notjunk:1;V01:K0:FcKvJaB1GcI=:ov415QepoTVqTBJYCn91QZ
 3UBwM7h8QXa0pqYNvPqhreLRm79aLgKM1/mKd5+pNz91uRLCj2EC6XpMCeKuQIkRjfzxcrqzW
 caENUaAgacI02V+m2yT6PZWpwSenrQTKVTNbI/AqYgHcCT5pDbIrlSdpW4sW9emC/vHZEdz1R
 te22QkOKuK8E7HFlWkTsi1wnaBblepy7RnlTsnGJHH7LXx6R22F6p+thPUnrTaFkhcpsbNAcY
 sWs1KHFXm6ftzPMYOByeGgym/CKYf78YykuE8Hb4M57Mccc1XBw38i+5pHmyDpv+FOLZoT3x9
 QYou+EPKu5gqEIVWGN3RlgsBnyNHfDfz/HVcfhNiiUTjXWV8jm60MGDqTTG0q6MjuU9rBcmOY
 yqMwExof2kQPd897dSug1hdcMb7V1pT6arBuwde9xd7tdsHnrkHxxQwghvyVJNMzR8klzKTr+
 Vpn42xK7mzRfPJTeJ59Y3YBixGObacll2G7ArKzh8Na1Hl7j+3Ii5v0m7vNB2nop+zDdmKFrG
 ZFoXgUfOKnHp1zrvptNRAIU8d0HvWMU1CTlLZ5LDaRAcQQm3qehXYqLh+eMzhgU9YjqaCHvuP
 vhBhdPwDuV2FV32cxkg3uZGYXVxEpl5CuCo3YVA/LhTii5ERu4qwVBoP3H3I+uNchsNdtuZTL
 677bhlvv35ddMCplpHTjD/OaVWyOve6iAUkMjVSEfffrIs+N9JI9+89IsvZZvtf81Csrc0jRV
 BKKi3/gi3OfHFBo2
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
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: -5.1 (-----)


The following happens within Gnome 3 (3.30, but also earlier versions),
Wayland on Debian Buster on a Laptop with HiDPI display with fractional
scaling factor set to 1.5.

Position frame at the left border of the display, evaluate:

    (frame-parameter (selected-frame) 'left)
    ;; -10

or

    (car (frame-position (selected-frame)))
    ;; '(+ -10)

The horizontal frame position should be 0, instead it gets reported as
-10 (indicating that part of the frame is invisible - which is not the
case). Even if the frame is positioned within the first 9 pixel
positions, the result is still negative.


In GNU Emacs 26.1.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-09-15 built on moka
Repository revision: 20ecc5266e1ffb1cff3e31475631b5c76b99e997
Windowing system distributor 'The X.Org Foundation', version 11.0.12001000
System Description:	Debian GNU/Linux testing (buster)

Recent messages:
Wrote /home/kail/.emacs.d/init/user/kai_tetzlaff.el
Mark set [8 times]
Auto-saving...
Mark set [2 times]
Quit
Mark set [6 times]
Auto-saving...done
Saving file /home/kail/.emacs.d/init/user/kai_tetzlaff.el...
Wrote /home/kail/.emacs.d/init/user/kai_tetzlaff.el
Computing completion candidates... [2 times]

Configured using:
 'configure --with-modules --with-xwidgets'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
LIBSYSTEMD LCMS2

Important settings:
  value of $LC_COLLATE: de_DE.UTF-8
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_MONETARY: de_DE.UTF-8
  value of $LC_NUMERIC: de_DE.UTF-8
  value of $LC_TIME: de_DE.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  diff-auto-refine-mode: t
  icicle-mode: t
  minibuffer-depth-indicate-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  pretty-control-l-mode: t
  diredp-highlight-autofiles-mode: t
  Info-breadcrumbs-in-mode-line-mode: t
  display-time-mode: t
  delete-selection-mode: t
  show-paren-mode: t
  global-auto-revert-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/kail/.emacs.d/elpa/pde-0.2.16/perlcritic hides /home/kail/.emacs.d/elpa/perlcritic-1.10/perlcritic
/home/kail/.emacs.d/lisp/yaml-mode hides /home/kail/.emacs.d/elpa/yaml-mode-0.0.13/yaml-mode
/home/kail/.emacs.d/lisp/adams/ls-lisp hides /usr/local/share/emacs/26.1.50/lisp/ls-lisp
/home/kail/.emacs.d/lisp/tempo hides /usr/local/share/emacs/26.1.50/lisp/tempo
/home/kail/.emacs.d/lisp/cc-mode/cc-guess hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-guess
/home/kail/.emacs.d/lisp/cc-mode/cc-bytecomp hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-bytecomp
/home/kail/.emacs.d/lisp/cc-mode/cc-engine hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-engine
/home/kail/.emacs.d/lisp/cc-mode/cc-fonts hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-fonts
/home/kail/.emacs.d/lisp/cc-mode/cc-cmds hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-cmds
/home/kail/.emacs.d/lisp/cc-mode/cc-langs hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-langs
/home/kail/.emacs.d/lisp/cc-mode/cc-mode hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-mode
/home/kail/.emacs.d/lisp/cc-mode/cc-styles hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-styles
/home/kail/.emacs.d/lisp/cc-mode/cc-vars hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-vars
/home/kail/.emacs.d/lisp/cc-mode/cc-align hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-align
/home/kail/.emacs.d/lisp/cc-mode/cc-menus hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-menus
/home/kail/.emacs.d/lisp/cc-mode/cc-defs hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-defs
/home/kail/.emacs.d/lisp/cc-mode/cc-awk hides /usr/local/share/emacs/26.1.50/lisp/progmodes/cc-awk

Features:
(shadow sort mailalias bbdb-com crm bbdb bbdb-site timezone mail-extr
emacsbug message rmc puny rfc822 mml mml-sec gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mail-utils cl-indent ibuf-ext ibuffer ibuffer-loaddefs time-stamp edebug
misearch multi-isearch vc-git diff-mode cl-print debug find-dired grep
compile eieio-opt speedbar sb-image ezimage dframe sh-script smie
executable face-remap rc-icicles two-column icicles icicles-mode
mb-depth+ mb-depth icicles-cmd2 icicles-cmd1 icicles-mcmd icicles-fn
icicles-var apropos-fn+var icicles-face icicles-opt ffap- ffap cus-theme
cus-edit cus-start cus-load hexrgb elec-pair kai_tetzlaff rc-misc
tramp-cache tramp-sh tramp tramp-compat tramp-loaddefs trampver
ucs-normalize shell pcomplete comint ansi-color ring parse-time recentf
tree-widget browse-kill-ring+ browse-kill-ring generic-x rc-cc-mode
gtags kt-tiny cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs generic replace+ isearch+ pp-c-l
buff-menu+ dired-sort-menu+ dired-sort-menu dired+ image-dired
image-mode format-spec image-file highlight bookmark+ bookmark+-key
bookmark+-1 font-lock+ bookmark+-bmu menu-bar+ apropos+ apropos
second-sel warnings misc-cmds help-fns+ wid-edit+ wid-edit help-fns
radix-tree help+ info+ bookmark+-lit pp+ bookmark pp dired-x dired-aux
dired dired-loaddefs finder+ finder find-func lisp-mnt window+
modeline-posn time files+ faces+ nuke-whitespace rc-markdown rc-ecb
rc-session rc-nxml rng-loc rng-uri rng-parse rng-match rng-dt rng-util
rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util rc-ediff rc-irfc
rc-filladapt filladapt rc-spelling rw-hunspell rw-ispell ispell rc-dired
rc-hs rc-template template rc-epa epa-file epa epg rc-mail rc-w3
rc-psprint rc-bookmark rc-bbdb rc-gnus rc-clojure delsel paren mic-paren
server autorevert filenotify frame-cmds advice strings misc-fns
thingatpt+ thingatpt frame-fns avoid fit-frame rc-ibuffer edmacro kmacro
rc-calendar rc-limits mm-util mail-prsvr zenburn-theme solarized-theme
solarized-definitions whiteboard-theme dichromacy-theme tango-theme
rc-gnutls gnutls rc-git cl-extra help-mode kt-tools use-package
use-package-ensure use-package-delight use-package-diminish
use-package-bind-key bind-key easy-mmode use-package-core derived subr-x
rc-package finder-inf rw-hunspell-autoloads rw-ispell-autoloads info
package easymenu epg-config url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic 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 charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
xwidget-internal move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 554725 49389)
 (symbols 48 47965 4)
 (miscs 40 175 1139)
 (strings 32 118287 4659)
 (string-bytes 1 4060436)
 (vectors 16 68163)
 (vector-slots 8 1102590 23108)
 (floats 8 221 695)
 (intervals 56 2006 944)
 (buffers 992 19))




Acknowledgement sent to Kai Tetzlaff <kai.tetzlaff@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#32977; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.