Package: emacs;
Reported by: Aaron Jensen <aaronjensen <at> gmail.com>
Date: Wed, 24 May 2017 12:33:02 UTC
Severity: normal
Found in version 26.0.50
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27053 in the body.
You can then email your comments to 27053 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-gnu-emacs <at> gnu.org
:bug#27053
; Package emacs
.
(Wed, 24 May 2017 12:33:02 GMT) Full text and rfc822 format available.Aaron Jensen <aaronjensen <at> gmail.com>
:bug-gnu-emacs <at> gnu.org
.
(Wed, 24 May 2017 12:33:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Aaron Jensen <aaronjensen <at> gmail.com> To: bug-gnu-emacs <at> gnu.org Subject: 26.0.50; x-show-tip gets wrong mouse position if frame moves w/o mouse moving on macOS Date: Wed, 24 May 2017 05:32:31 -0700
To repro, start 'emacs -Q' then eval in order without moving mouse: (set-frame-position nil 0 0) (run-with-timer 0.1 nil (lambda () (x-show-tip (propertize "hello" 'face 'tooltip)))) ;; Tooltip should appear where mouse cursor is (set-frame-position nil 100 100) (run-with-timer 0.1 nil (lambda () (x-show-tip (propertize "hello" 'face 'tooltip)))) ;; Tooltip should appear where mouse cursor is, but does not. If you then move your mouse and reeval the timer, it will show the tip at the mouse cursor. Emacs is apparently not tracking the mouse position through frame movement. I encounter this often when resizing/moving the frame w/ keyboard shortcuts. In GNU Emacs 26.0.50 (build 1, x86_64-apple-darwin16.6.0, NS appkit-1504.83 Version 10.12.5 (Build 16F73)) of 2017-05-24 built on aaronmbp.local Repository revision: bba9917299e3628e40462a762f2a14bb8df193f0 Windowing system distributor 'Apple', version 10.3.1504 Recent messages: [nil 22821 31567 794483 nil (lambda nil (x-show-tip (propertize "hello" (quote face) (quote tooltip)) (selected-frame) (quote nil))) nil nil 0] (lambda nil (x-show-tip (propertize "hello" (quote face) (quote tooltip)) (selected-frame) (quote nil))) [2 times] [nil 22821 31586 803839 nil (lambda nil (x-show-tip (propertize "hello" (quote face) (quote tooltip)) (selected-frame) (quote nil))) nil nil 0] [nil 22821 31591 777546 nil (lambda nil (x-show-tip (propertize "hello" (quote face) (quote tooltip)) (selected-frame) (quote nil))) nil nil 0] Undo branch point! [2 times] user-error: No further undo information [37 times] Saving file /Users/aaronjensen/.emacs.d/elpa/26.0/pos-tip-20150318.813/pos-tip.el... Wrote /Users/aaronjensen/.emacs.d/elpa/26.0/pos-tip-20150318.813/pos-tip.el Wrote /Users/aaronjensen/.emacs.d/elpa/26.0/pos-tip-20150318.813/pos-tip.elc Wrote /Users/aaronjensen/.emacs.d/elpa/26.0/pos-tip-20150318.813/pos-tip.{el,elc} Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs-plus/HEAD-bba9917/share/info/emacs --prefix=/usr/local/Cellar/emacs-plus/HEAD-bba9917 --with-xml2 --without-dbus --with-gnutls --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: auto-compile-mode: t elisp-slime-nav-mode: t eros-mode: t lispyville-mode: t lispy-mode: t nameless-mode: t company-mode: t goto-address-prog-mode: t bug-reference-prog-mode: t auto-highlight-symbol-mode: t highlight-numbers-mode: t highlight-parentheses-mode: t rainbow-delimiters-mode: t yas-global-mode: t yas-minor-mode: t projectile-mode: t recentf-mode: t evil-mc-mode: t hl-todo-mode: t global-spacemacs-whitespace-cleanup-mode: t spacemacs-whitespace-cleanup-mode: t ws-butler-global-mode: t ws-butler-mode: t winum-mode: t winner-mode: t volatile-highlights-mode: t global-vi-tilde-fringe-mode: t vi-tilde-fringe-mode: t pupo-mode: t purpose-mode: t spaceline-info-mode: t spaceline-helm-mode: t save-place-mode: t savehist-mode: t popwin-mode: t persp-mode: t Info-breadcrumbs-in-mode-line-mode: t global-git-gutter+-mode: t git-gutter+-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t flycheck-pos-tip-mode: t global-flycheck-mode: t flx-ido-mode: t eyebrowse-mode: t global-evil-surround-mode: t evil-surround-mode: t global-evil-search-highlight-persist: t evil-search-highlight-persist: t show-smartparens-global-mode: t show-smartparens-mode: t smartparens-mode: t evil-lion-mode: t evil-escape-mode: t global-anzu-mode: t anzu-mode: t eval-sexp-fu-flash-mode: t editorconfig-mode: t global-edit-server-edit-mode: t dtrt-indent-mode: t diff-auto-refine-mode: t counsel-mode: t ivy-mode: t clean-aindent-mode: t hybrid-mode: t which-key-mode: t override-global-mode: t global-undo-tree-mode: t undo-tree-mode: t evil-mode: t evil-local-mode: t spacemacs-leader-override-mode: t global-spacemacs-leader-override-mode: t global-hl-line-mode: t xterm-mouse-mode: t global-auto-revert-mode: t ido-vertical-mode: t global-page-break-lines-mode: t page-break-lines-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t hs-minor-mode: t Load-path shadows: /Users/aaronjensen/.emacs.d/elpa/26.0/org-bullets-20140918.1137/org-bullets hides /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-bullets /Users/aaronjensen/.emacs.d/elpa/26.0/ht-20161015.1945/ht hides /Users/aaronjensen/.emacs.d/core/libs/ht /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox-texinfo hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox-texinfo /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox-publish hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox-publish /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox-org hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox-org /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox-odt hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox-odt /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox-md hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox-md /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox-man hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox-man /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox-latex hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox-latex /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox-icalendar hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox-icalendar /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox-html hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox-html /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox-beamer hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox-beamer /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ox-ascii hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ox-ascii /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-w3m hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-w3m /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-version hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-version /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-timer hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-timer /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-table hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-table /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-src hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-src /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-rmail hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-rmail /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-protocol hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-protocol /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-plot hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-plot /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-pcomplete hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-pcomplete /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-mouse hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-mouse /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-mobile hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-mobile /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-mhe hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-mhe /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-macs hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-macs /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-macro hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-macro /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-loaddefs hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-loaddefs /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-list hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-list /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-irc hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-irc /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-install hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-install /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-inlinetask hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-inlinetask /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-info hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-info /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-indent hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-indent /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-id hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-id /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-habit hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-habit /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-gnus hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-gnus /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-footnote hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-footnote /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-feed hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-feed /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-faces hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-faces /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-eshell hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-eshell /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-entities hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-entities /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-element hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-element /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-docview hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-docview /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-datetree hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-datetree /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-ctags hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-ctags /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-crypt hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-crypt /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-compat hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-compat /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-colview hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-colview /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-clock hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-clock /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-capture hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-capture /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-bibtex hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-bibtex /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-bbdb hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-bbdb /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-attach hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-attach /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-archive hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-archive /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/org-agenda hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/org-agenda /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-tangle hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-tangle /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-table hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-table /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-sqlite hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-sqlite /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-sql hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-sql /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-shen hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-shen /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-screen hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-screen /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-scheme hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-scheme /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-scala hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-scala /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-sass hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-sass /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-ruby hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-ruby /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-ref hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-ref /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-R hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-R /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-python hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-python /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-plantuml hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-plantuml /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-picolisp hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-picolisp /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-perl hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-perl /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-org hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-org /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-octave hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-octave /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-ocaml hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-ocaml /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-mscgen hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-mscgen /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-maxima hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-maxima /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-matlab hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-matlab /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-makefile hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-makefile /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-lob hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-lob /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-lisp hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-lisp /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-lilypond hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-lilypond /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-ledger hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-ledger /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-latex hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-latex /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-keys hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-keys /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-js hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-js /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-java hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-java /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-io hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-io /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-haskell hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-haskell /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-gnuplot hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-gnuplot /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-fortran hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-fortran /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-exp hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-exp /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-eval hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-eval /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-emacs-lisp hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-emacs-lisp /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-dot hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-dot /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-ditaa hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-ditaa /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-css hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-css /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-core hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-core /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-comint hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-comint /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-clojure hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-clojure /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-calc hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-calc /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-C hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-C /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-awk hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-awk /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20170515/ob-asymptote hides /usr/local/Cellar/emacs-plus/HEAD-bba9917/share/emacs/26.0.50/lisp/org/ob-asymptote Features: (shadow sort mail-extr emacsbug sendmail pp cl-print tabify misearch multi-isearch debug company-capf auto-compile packed elisp-slime-nav eros flycheck-package package-lint finder lispyville lispy iedit iedit-lib multiple-cursors-core lispy-inline avy semantic/db eieio-base semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet evil-ediff ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff edebug lispy-tags nameless pixel-scroll mwim smex eieio-opt speedbar sb-image ezimage dframe vc-git open-junk-file company-files company-keywords company-etags company-gtags company-template company-dabbrev-code company-dabbrev php-extras company add-node-modules-path tide goto-addr bug-reference auto-highlight-symbol highlight-numbers parent-mode highlight-parentheses hideshow rainbow-delimiters clojure-snippets yasnippet flycheck-elm flycheck-credo typescript-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs editorconfig-core editorconfig-core-handle editorconfig-fnmatch counsel-projectile colir projectile grep compile recentf tree-widget flyspell ispell quiet-emacs fill-or-unfill company-simple-complete init-xclip init-typescript init-flyspell init-terminal-cursor evil-terminal-cursor-changer init-org init-magit evil-mc evil-mc-command-execute evil-mc-command-record evil-mc-cursor-make evil-mc-region evil-mc-cursor-state evil-mc-undo evil-mc-vars evil-mc-known-commands evil-mc-common hl-todo zone xterm-color spacemacs-whitespace-cleanup ws-butler winum winner window-purpose-x imenu-list imenu ibuf-ext ibuffer ibuffer-loaddefs volatile-highlights vi-tilde-fringe tmux string-inflection spacemacs-purpose-popwin window-purpose window-purpose-fixes window-purpose-prefix-overload window-purpose-switch let-alist window-purpose-layout window-purpose-core window-purpose-configuration window-purpose-utils spaceline-config spaceline-segments spaceline powerline powerline-separators color powerline-themes smartparens-config smartparens-ruby saveplace savehist ruby-test-mode pcre2el rxt re-builder ruby-mode smie popwin persp-mode osx-trash linum ivy-hydra info+ image-mode git-gutter-fringe+ fringe-helper git-gutter+ git-commit with-editor async-bytecomp async tramp-sh server magit-utils crm log-edit message puny dired dired-loaddefs rfc822 mml mml-sec epa epg gnus-util rmail rmail-loaddefs mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log docker-tramp tramp-cache tramp tramp-compat tramp-loaddefs trampver shell drupal/pcomplete pcomplete comint ansi-color parse-time gh-common gh-profile s marshal flycheck-pos-tip pos-tip flycheck-flow flycheck find-func flx-ido eyebrowse format-spec evil-surround evil-search-highlight-persist evil-numbers evil-lisp-state smartparens dash evil-lion evil-indent-plus evil-exchange evil-escape evil-args evil-anzu anzu cider-eval-sexp-fu eval-sexp-fu highlight editorconfig edit-server noutline outline dtrt-indent rx diff-hl vc-dir ewoc vc vc-dispatcher diff-mode counsel jka-compr esh-util etags xref project swiper ivy flx delsel ivy-overlay ffap clean-aindent-mode adaptive-wrap hybrid-mode exec-path-from-shell evil-evilified-state which-key use-package diminish bind-key hydra lv cus-edit cus-start cus-load evil evil-integration undo-tree diff evil-maps evil-commands evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core evil-common windmove thingatpt rect evil-digraphs evil-vars ring info bind-map quelpa help-fns radix-tree package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr json map lisp-mnt hl-line xt-mouse autorevert filenotify cl-extra disp-table wid-edit monokai-theme finder-inf init-sass init-php init-html init-evil core-configuration-layer eieio-compat ht cl help-mode warnings package epg-config url-handlers url-parse auth-source cl-seq password-cache url-vars eieio eieio-core eieio-loaddefs ido-vertical-mode ido seq byte-opt bytecomp byte-compile cconv core-spacemacs core-use-package-ext core-transient-state core-micro-state core-toggle core-keybindings core-fonts-support core-spacemacs-buffer core-funcs cl-macs gv core-themes-support core-display-init core-jump core-release-management core-custom-settings core-dotspacemacs core-command-line pcase core-debug edmacro kmacro derived advice profiler easymenu cl-loaddefs cl-lib page-break-lines easy-mmode subr-x time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 1166937 1007787) (symbols 48 69670 103) (miscs 40 1801 3613) (strings 32 193847 324132) (string-bytes 1 7182036) (vectors 16 146360) (vector-slots 8 3983843 427023) (floats 8 516 3627) (intervals 56 20004 7247) (buffers 976 23))
bug-gnu-emacs <at> gnu.org
:bug#27053
; Package emacs
.
(Wed, 24 May 2017 12:54:01 GMT) Full text and rfc822 format available.Message #8 received at 27053 <at> debbugs.gnu.org (full text, mbox):
From: martin rudalics <rudalics <at> gmx.at> To: Aaron Jensen <aaronjensen <at> gmail.com>, 27053 <at> debbugs.gnu.org Subject: Re: bug#27053: 26.0.50; x-show-tip gets wrong mouse position if frame moves w/o mouse moving on macOS Date: Wed, 24 May 2017 14:53:15 +0200
> To repro, start 'emacs -Q' then eval in order without moving mouse: > > (set-frame-position nil 0 0) > (run-with-timer 0.1 nil (lambda () > (x-show-tip (propertize "hello" 'face 'tooltip)))) > > ;; Tooltip should appear where mouse cursor is > > (set-frame-position nil 100 100) > (run-with-timer 0.1 nil (lambda () > (x-show-tip (propertize "hello" 'face 'tooltip)))) > > ;; Tooltip should appear where mouse cursor is, but does not. > > If you then move your mouse and reeval the timer, it will show the tip > at the mouse cursor. > > Emacs is apparently not tracking the mouse position through frame > movement. I encounter this often when resizing/moving the frame w/ > keyboard shortcuts. I'm not quite sure I understand. On Windows the tooltip appears at the same display position in both cases because the mouse cursor did not move. Where does your second showing of a tooltip take place? martin
bug-gnu-emacs <at> gnu.org
:bug#27053
; Package emacs
.
(Wed, 24 May 2017 14:43:01 GMT) Full text and rfc822 format available.Message #11 received at 27053 <at> debbugs.gnu.org (full text, mbox):
From: Aaron Jensen <aaronjensen <at> gmail.com> To: martin rudalics <rudalics <at> gmx.at> Cc: 27053 <at> debbugs.gnu.org Subject: Re: bug#27053: 26.0.50; x-show-tip gets wrong mouse position if frame moves w/o mouse moving on macOS Date: Wed, 24 May 2017 07:42:37 -0700
On Wed, May 24, 2017 at 5:53 AM, martin rudalics <rudalics <at> gmx.at> wrote: > I'm not quite sure I understand. On Windows the tooltip appears at the > same display position in both cases because the mouse cursor did not > move. Where does your second showing of a tooltip take place? It sounds like that's the correct behavior on Window. On macOS the second tooltip appears in the same *frame* position as it did before, but it is now offset 100x100 from the actual mouse position. It's as if emacs updates the mouse position only on mouse move and stores it in frame local coordinates on macOS.
bug-gnu-emacs <at> gnu.org
:bug#27053
; Package emacs
.
(Wed, 24 May 2017 14:58:02 GMT) Full text and rfc822 format available.Message #14 received at 27053 <at> debbugs.gnu.org (full text, mbox):
From: Aaron Jensen <aaronjensen <at> gmail.com> To: martin rudalics <rudalics <at> gmx.at> Cc: 27053 <at> debbugs.gnu.org Subject: Re: bug#27053: 26.0.50; x-show-tip gets wrong mouse position if frame moves w/o mouse moving on macOS Date: Wed, 24 May 2017 07:57:10 -0700
On Wed, May 24, 2017 at 7:42 AM, Aaron Jensen <aaronjensen <at> gmail.com> wrote: > It's as if emacs updates the mouse position only on mouse move and > stores it in frame local coordinates on macOS. Indeed, this appears to be exactly what it is doing (from nsterm.m): -(void)mouseMoved: (NSEvent *)e { Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (emacsframe); struct ns_display_info *dpyinfo = FRAME_DISPLAY_INFO (emacsframe); Lisp_Object frame; NSPoint pt; NSTRACE_WHEN (NSTRACE_GROUP_EVENTS, "[EmacsView mouseMoved:]"); dpyinfo->last_mouse_movement_time = EV_TIMESTAMP (e); pt = [self convertPoint: [e locationInWindow] fromView: nil]; dpyinfo->last_mouse_motion_x = pt.x; dpyinfo->last_mouse_motion_y = pt.y; I do not know what the best solution to this is. They could be stored in screen local coordinates and converted to frame local as they're needed, or they could be recalculated/asked for whenever the frame is moved.
bug-gnu-emacs <at> gnu.org
:bug#27053
; Package emacs
.
(Thu, 25 May 2017 07:02:01 GMT) Full text and rfc822 format available.Message #17 received at 27053 <at> debbugs.gnu.org (full text, mbox):
From: martin rudalics <rudalics <at> gmx.at> To: Aaron Jensen <aaronjensen <at> gmail.com> Cc: 27053 <at> debbugs.gnu.org Subject: Re: bug#27053: 26.0.50; x-show-tip gets wrong mouse position if frame moves w/o mouse moving on macOS Date: Thu, 25 May 2017 09:01:11 +0200
> I do not know what the best solution to this is. They could be stored > in screen local coordinates and converted to frame local as they're > needed, or they could be recalculated/asked for whenever the frame is > moved. Both, X and Windows query the absolute mouse position here and the NS code should do the same (just that I don't have any idea what the direct NS equivalent for XQueryPointer/GetCursorPos is - it should be somehwere hidden in ns_mouse_position's position = [[view window] mouseLocationOutsideOfEventStream]; position = [view convertPoint: position fromView: nil]; but I'm too lazy to figure that out). last_mouse_motion_x/_y are conceptually reserved for note_mouse_movement and should not be used for anything else (IMHO). martin
bug-gnu-emacs <at> gnu.org
:bug#27053
; Package emacs
.
(Thu, 25 May 2017 19:24:02 GMT) Full text and rfc822 format available.Message #20 received at 27053 <at> debbugs.gnu.org (full text, mbox):
From: Alan Third <alan <at> idiocy.org> To: martin rudalics <rudalics <at> gmx.at> Cc: 27053 <at> debbugs.gnu.org, Aaron Jensen <aaronjensen <at> gmail.com> Subject: Re: bug#27053: 26.0.50; x-show-tip gets wrong mouse position if frame moves w/o mouse moving on macOS Date: Thu, 25 May 2017 20:23:26 +0100
[Message part 1 (text/plain, inline)]
On Thu, May 25, 2017 at 09:01:11AM +0200, martin rudalics wrote: > > I do not know what the best solution to this is. They could be stored > > in screen local coordinates and converted to frame local as they're > > needed, or they could be recalculated/asked for whenever the frame is > > moved. > > Both, X and Windows query the absolute mouse position here and the NS > code should do the same (just that I don't have any idea what the direct > NS equivalent for XQueryPointer/GetCursorPos is - it should be somehwere > hidden in ns_mouse_position's > > position = [[view window] mouseLocationOutsideOfEventStream]; > position = [view convertPoint: position fromView: nil]; > > but I'm too lazy to figure that out). last_mouse_motion_x/_y are > conceptually reserved for note_mouse_movement and should not be used for > anything else (IMHO). Looks like the right way to get it in screen‐coords is [NSEvent mouseLocation] which returns an NSPoint. https://developer.apple.com/reference/appkit/nsevent/1533380-mouselocation?language=objc Seems strange to me that it’s in NSEvent, but I guess it makes sense to someone. Patch attached. I’ve just noticed the grocer’s apostrophe in the commit message. *sigh* It seems to me that the NS port seems to like storing values and then reusing them later even though they can be asked for directly in real‐time. I don’t know if that’s a coding style thing or what. -- Alan Third
[0001-Fix-NS-tooltip-s-showing-in-the-wrong-place-bug-2705.patch (text/plain, attachment)]
bug-gnu-emacs <at> gnu.org
:bug#27053
; Package emacs
.
(Thu, 25 May 2017 20:43:02 GMT) Full text and rfc822 format available.Message #23 received at 27053 <at> debbugs.gnu.org (full text, mbox):
From: martin rudalics <rudalics <at> gmx.at> To: Alan Third <alan <at> idiocy.org> Cc: 27053 <at> debbugs.gnu.org, Aaron Jensen <aaronjensen <at> gmail.com> Subject: Re: bug#27053: 26.0.50; x-show-tip gets wrong mouse position if frame moves w/o mouse moving on macOS Date: Thu, 25 May 2017 22:41:44 +0200
> Looks like the right way to get it in screen‐coords is > > [NSEvent mouseLocation] > > which returns an NSPoint. > > https://developer.apple.com/reference/appkit/nsevent/1533380-mouselocation?language=objc > > Seems strange to me that it’s in NSEvent, but I guess it makes sense > to someone. > > Patch attached. I'd say go for it. martin
bug-gnu-emacs <at> gnu.org
:bug#27053
; Package emacs
.
(Thu, 25 May 2017 20:52:02 GMT) Full text and rfc822 format available.Message #26 received at 27053 <at> debbugs.gnu.org (full text, mbox):
From: Aaron Jensen <aaronjensen <at> gmail.com> To: Alan Third <alan <at> idiocy.org> Cc: 27053 <at> debbugs.gnu.org, martin rudalics <rudalics <at> gmx.at> Subject: Re: bug#27053: 26.0.50; x-show-tip gets wrong mouse position if frame moves w/o mouse moving on macOS Date: Thu, 25 May 2017 13:51:13 -0700
On Thu, May 25, 2017 at 12:23 PM, Alan Third <alan <at> idiocy.org> wrote: > Patch attached. This worked for me, thanks!
Alan Third <alan <at> idiocy.org>
:Aaron Jensen <aaronjensen <at> gmail.com>
:Message #31 received at 27053-done <at> debbugs.gnu.org (full text, mbox):
From: Alan Third <alan <at> idiocy.org> To: martin rudalics <rudalics <at> gmx.at> Cc: 27053-done <at> debbugs.gnu.org, Aaron Jensen <aaronjensen <at> gmail.com> Subject: Re: bug#27053: 26.0.50; x-show-tip gets wrong mouse position if frame moves w/o mouse moving on macOS Date: Thu, 25 May 2017 21:54:13 +0100
On Thu, May 25, 2017 at 10:41:44PM +0200, martin rudalics wrote: > > Patch attached. > > I'd say go for it. Pushed to master. -- Alan Third
Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Fri, 23 Jun 2017 11:24:04 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.