From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Johannes Lundberg Newsgroups: gmane.emacs.bugs Subject: bug#27508: 25.2; GTK3 scrollbar position does not respect scaling factor on HiDPI setting Date: Tue, 27 Jun 2017 19:18:49 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1148eb9cd08d590552f44297" X-Trace: blaine.gmane.org 1498595776 17756 195.159.176.226 (27 Jun 2017 20:36:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Jun 2017 20:36:16 +0000 (UTC) To: 27508@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 27 22:36:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPxDU-00048g-46 for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jun 2017 22:36:08 +0200 Original-Received: from localhost ([::1]:58113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPxDZ-0007TH-2h for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jun 2017 16:36:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPxDP-0007Su-Vt for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 16:36:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPxDO-0006mi-2n for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 16:36:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38532) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPxDN-0006md-U0 for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 16:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dPxDN-00005m-Nw for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 16:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Johannes Lundberg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Jun 2017 20:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27508 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1498595738309 (code B ref -1); Tue, 27 Jun 2017 20:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jun 2017 20:35:38 +0000 Original-Received: from localhost ([127.0.0.1]:41207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPxCz-00004v-EC for submit@debbugs.gnu.org; Tue, 27 Jun 2017 16:35:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPu8m-0003sp-GE for submit@debbugs.gnu.org; Tue, 27 Jun 2017 13:19:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPu8f-0003Zp-IC for submit@debbugs.gnu.org; Tue, 27 Jun 2017 13:18:59 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35350) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dPu8f-0003Zg-EW for submit@debbugs.gnu.org; Tue, 27 Jun 2017 13:18:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPu8d-0005iw-Cd for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 13:18:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPu8b-0003ZH-HS for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 13:18:55 -0400 Original-Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:35311) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPu8b-0003Yg-6c for bug-gnu-emacs@gnu.org; Tue, 27 Jun 2017 13:18:53 -0400 Original-Received: by mail-wm0-x22c.google.com with SMTP id w126so30847425wme.0 for ; Tue, 27 Jun 2017 10:18:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=YIuOYAKkaFTrrkdnFMoiCW5vfQx+ULAHDKcHimTL1rc=; b=ano45QNTGVqavyEZH25yydIffuq9FluirODvMMf+fhXZes9xTqeZXMDD9owHn/h338 5oH0OHpD9D9KRF+pmhdb5TzLy1lkOzVJ5ZQWun7P8KgvbkmcVHgaYQCUP+fzSLhmfTg9 YI7wQKurWgOJupw6/VBypoXbo4xo1U1YuiceFChOM+KKKUq2NbNbf6VrnNe2u7MfMzb8 G3YhtBNkh8U0j5QLJSa9xZ0D+ui59C4kbwHOczpDRot0a1LPSWRpiD0Kn9M0Br7dcrtK IRb9QRL+EJYnSK3A819DL1qrxBXorLFLbEMnVlPqgraIlOzl2E2ybAk9LpAr1qe/h7Wu wgUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YIuOYAKkaFTrrkdnFMoiCW5vfQx+ULAHDKcHimTL1rc=; b=d5tEiMZwCCqiBIQOuSGjFgTpf7D+8Ej4mmtU5zNrZ/XKILXjaYMux0COB4rEXWC8AW 0zWArpOjXycnmYIiQ0dYjfxkaLxnWPtj6I7s0pX7Yd6kLWv/ObXRiPAoik8AW5X522WU QXePPZL5SPw653Tu6f82r8q29GrmhTlAVfQTNbbKrcYT2NmD5ua+O7liDRLeVlZIz83k zPk9Wu0lX4dXoq2eVtRNzTmkPbUYbpzwwbO77+aoAVUTrebU8clKxYKNpKnhZYLJ1HxU /YKC1Oph4m2Aq+wirTEdAjNAXDKwmWKyecF/+F8Fhg2d7OU114lx+Il3CPVK7mEHIYGz BL+Q== X-Gm-Message-State: AKS2vOzOjMELoGSKsL7zCg57MBVrdcZ77rqDijJgznwEIfgwyEyLs+kj dfECYOjKL9r9z8J8EqhHb8yfsU5wrd00 X-Received: by 10.28.58.147 with SMTP id h141mr4437401wma.112.1498583930009; Tue, 27 Jun 2017 10:18:50 -0700 (PDT) Original-Received: by 10.223.154.193 with HTTP; Tue, 27 Jun 2017 10:18:49 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 27 Jun 2017 16:35:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:133967 Archived-At: --001a1148eb9cd08d590552f44297 Content-Type: text/plain; charset="UTF-8" Please note that current configuration is built without toolkit scrollbars since Emacs is unusable with them for me. The toolkit scrollbars appear at 2 times the x-position they should with gtk scaling factor=2 but at correct position with scaling factor=1, it is apparent that it is not taken into account properly when calculating the position. Thanks! In GNU Emacs 25.2.1 (amd64-portbld-freebsd12.0, GTK+ Version 3.22.15) of 2017-06-27 built on jd Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 Configured using: 'configure --localstatedir=/var --with-gameuser=games:games --enable-acl --without-canna --with-dbus --with-gnutls --with-modules --with-x --with-xml2 --with-file-notification=kqueue --with-sound=oss --with-x-toolkit=gtk3 --without-cairo --with-gif --with-jpeg --with-imagemagick --with-png --with-rsvg --with-tiff --with-xpm --with-gconf --with-gsettings --with-m17n-flt --with-libotf --without-toolkit-scroll-bars --with-xft --with-xim --without-xwidgets --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --disable-silent-rules --infodir=/usr/local/share/emacs/info/ --build=amd64-portbld-freebsd12.0 'CFLAGS=-O2 -pipe -fstack-protector -fno-strict-aliasing' CPPFLAGS= 'LDFLAGS= -fstack-protector'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB GTK3 X11 MODULES Important settings: value of $LC_ALL: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: C/l Minor modes in effect: diff-auto-refine-mode: t global-company-mode: t company-mode: t global-flycheck-mode: t flycheck-mode: t autopair-global-mode: t autopair-mode: t e2wm:pst-minor-mode: t cscope-minor-mode: t projectile-mode: t global-auto-revert-mode: t global-hl-line-mode: t show-paren-mode: t tooltip-mode: t global-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 line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent messages: E2wm is started. File mode specification error: (void-function column-enforce-mode) File TAGS is large (217M), really open? (y or n) y Mark set Starting a new list of tags tables Making tags-file-name local to TAGS while let-bound! Mark set [3 times] user-error: Minibuffer is inactive Mark set Undo! user-error: No further undo information [3 times] Load-path shadows: /home/johannes/.emacs.d/elpa/seq-2.19/seq hides /usr/local/share/emacs/25.2/lisp/emacs-lisp/seq Features: (shadow sort mail-extr emacsbug message idna dired format-spec rfc822 mml mml-sec password-cache epg gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils vc-git diff-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs flycheck-rust company-oddmuse company-keywords company-etags etags xref project eieio eieio-core company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company flycheck json map find-func rx subr-x autopair multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors mc-edit-lines multiple-cursors-core rect solarized-dark-theme solarized color dash e2wm derived easy-mmode window-layout cl-macs imenu cl smooth-scrolling xcscope projectile cl-seq advice grep compile comint ansi-color ring ibuf-ext ibuffer thingatpt windmove finder-inf info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv edmacro kmacro redo+ autorevert filenotify cl-loaddefs pcase cl-lib hl-line paren time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev 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 dbusbind kqueue dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 277158 17357) (symbols 48 32617 0) (miscs 40 215 359) (strings 32 52370 7057) (string-bytes 1 1681900) (vectors 16 27014) (vector-slots 8 582567 4683) (floats 8 592 254) (intervals 56 2985 341) (buffers 976 27)) --001a1148eb9cd08d590552f44297 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Please note that current configuration= is built without toolkit scrollbars since Emacs is unusable with them for = me.

The toolkit scrollbars appear at 2 times the x-posit= ion they should with gtk scaling factor=3D2 but at correct position with sc= aling factor=3D1, it is apparent that it is not taken into account properly= when calculating the position.

Thanks!<= br>


In GNU Emacs 25.2.1 (amd64-portbld-freebsd12.0, G= TK+ Version 3.22.15)
=C2=A0of 2017-06-27 built on jd
Windowing system= distributor 'The X.Org Foundation', version 11.0.11804000
Confi= gured using:
=C2=A0'configure --localstatedir=3D/var --with-gameuser= =3Dgames:games
=C2=A0--enable-acl --without-canna --with-dbus --with-gnu= tls --with-modules
=C2=A0--with-x --with-xml2 --with-file-notification= =3Dkqueue --with-sound=3Doss
=C2=A0--with-x-toolkit=3Dgtk3 --without-cai= ro --with-gif --with-jpeg
=C2=A0--with-imagemagick --with-png --with-rsv= g --with-tiff --with-xpm
=C2=A0--with-gconf --with-gsettings --with-m17n= -flt --with-libotf
=C2=A0--without-toolkit-scroll-bars --with-xft --with= -xim --without-xwidgets
=C2=A0--x-libraries=3D/usr/local/lib --x-include= s=3D/usr/local/include
=C2=A0--prefix=3D/usr/local --mandir=3D/usr/local= /man --disable-silent-rules
=C2=A0--infodir=3D/usr/local/share/emacs/inf= o/
=C2=A0--build=3Damd64-portbld-freebsd12.0 'CFLAGS=3D-O2 -pipe -fs= tack-protector
=C2=A0-fno-strict-aliasing' CPPFLAGS=3D 'LDFLAGS= =3D -fstack-protector''

Configured features:
XPM JPEG TIF= F GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY
ACL GNUTLS = LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB GTK3 X11 MODULES

Important= settings:
=C2=A0 value of $LC_ALL: en_US.UTF-8
=C2=A0 value of $LC_C= TYPE: en_US.UTF-8
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-co= ding-system: utf-8-unix

Major mode: C/l

Minor modes in effect= :
=C2=A0 diff-auto-refine-mode: t
=C2=A0 global-company-mode: t
= =C2=A0 company-mode: t
=C2=A0 global-flycheck-mode: t
=C2=A0 flycheck= -mode: t
=C2=A0 autopair-global-mode: t
=C2=A0 autopair-mode: t
= =C2=A0 e2wm:pst-minor-mode: t
=C2=A0 cscope-minor-mode: t
=C2=A0 proj= ectile-mode: t
=C2=A0 global-auto-revert-mode: t
=C2=A0 global-hl-lin= e-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 = global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-whee= l-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 auto-composition-mode: t
=C2=A0 auto-encryptio= n-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t<= br>=C2=A0 transient-mark-mode: t
=C2=A0 abbrev-mode: t

Recent mes= sages:
E2wm is started.
File mode specification error: (void-function= column-enforce-mode)
File TAGS is large (217M), really open? (y or n) y=
Mark set
Starting a new list of tags tables
Making tags-file-name= local to TAGS while let-bound!
Mark set [3 times]
user-error: Minibu= ffer is inactive
Mark set
Undo!
user-error: No further undo inform= ation [3 times]

Load-path shadows:
/home/johannes/.emacs.d/elpa/s= eq-2.19/seq hides /usr/local/share/emacs/25.2/lisp/emacs-lisp/seq

Fe= atures:
(shadow sort mail-extr emacsbug message idna dired format-spec r= fc822
mml mml-sec password-cache epg gnus-util mm-decode mm-bodies mm-en= code
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047=
rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils vc-git
dif= f-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align
cc-= engine cc-vars cc-defs flycheck-rust company-oddmuse company-keywords
co= mpany-etags etags xref project eieio eieio-core company-gtags
company-da= bbrev-code company-dabbrev company-files company-capf
company-cmake comp= any-xcode company-clang company-semantic company-eclim
company-template = company-css company-nxml company-bbdb company flycheck
json map find-fun= c rx subr-x autopair multiple-cursors
mc-hide-unmatched-lines-mode mc-se= parate-operations
rectangular-region-mode mc-mark-pop mc-mark-more mc-cy= cle-cursors
mc-edit-lines multiple-cursors-core rect solarized-dark-them= e solarized
color dash e2wm derived easy-mmode window-layout cl-macs ime= nu cl
smooth-scrolling xcscope projectile cl-seq advice grep compile com= int
ansi-color ring ibuf-ext ibuffer thingatpt windmove finder-inf info<= br>package epg-config seq byte-opt gv bytecomp byte-compile cl-extra
hel= p-mode easymenu cconv edmacro kmacro redo+ autorevert filenotify
cl-load= defs pcase cl-lib hl-line paren time-date mule-util tooltip eldoc
electr= ic uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common= -win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list n= ewcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-esha= dow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu fon= t-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese ti= betan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek ro= manian slovak czech european ethiopic indian
cyrillic chinese charscript= case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-prel= oaded nadvice loaddefs button faces
cus-face macroexp files text-propert= ies overlay sha1 md5 base64 format
env code-pages mule custom widget has= htable-print-readable backquote
dbusbind kqueue dynamic-setting system-f= ont-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty m= ake-network-process emacs)

Memory information:
((conses 16 277158= 17357)
=C2=A0(symbols 48 32617 0)
=C2=A0(miscs 40 215 359)
=C2=A0= (strings 32 52370 7057)
=C2=A0(string-bytes 1 1681900)
=C2=A0(vectors= 16 27014)
=C2=A0(vector-slots 8 582567 4683)
=C2=A0(floats 8 592 254= )
=C2=A0(intervals 56 2985 341)
=C2=A0(buffers 976 27))

=
--001a1148eb9cd08d590552f44297--