all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#73037: 31.0.50; fullscreen tooltips break after loading pdf-tools on MacOS
@ 2024-09-05  9:01 Paul Nelson
  2024-09-12  9:16 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Nelson @ 2024-09-05  9:01 UTC (permalink / raw)
  To: 73037

I've tested the following setups:

(1) Emacs master, pdf-tools 1.1.0
(2) Emacs 29.4, pdf-tools 1.1.0

The issue appears with (1) but not (2), so I figured I'd report it as
a bug with Emacs rather than pdf-tools, but would welcome other
suggestions.

Steps to reproduce:

1. Install pdf-tools (e.g., via list-packages)

2. Emacs -Q

3. Evaluate the following:

(package-initialize)
(use-package pdf-tools
  :config
  (pdf-tools-install :no-query))

4. Visit any pdf file.

These steps put Emacs in a state where tooltips behave badly: when the
current frame is fullscreen (via (toggle-frame-fullscreen)), tooltips
display in a separate fullscreen frame rather than as a child frame.

All tooltips are affected, not just those produced by pdf-tools.  For
example, (x-show-tip "This is a tooltip." (selected-frame) nil 5)
triggers the issue, as does mousing over any link in *Help*.



In GNU Emacs 31.0.50 (build 4, aarch64-apple-darwin23.6.0, NS
 appkit-2487.70 Version 14.6.1 (Build 23G93)) of 2024-09-05 built on
 d51735
Repository revision: df57e44a08fd5c7dc159254a40f5d2e4d008e8df
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2487
System Description:  macOS 14.6.1

Configured using:
 'configure --with-ns --with-native-compilation --with-tree-sitter
 --with-gif --with-png --with-jpeg --with-rsvg --with-tiff
 --with-imagemagick --with-x-toolkit=gtk3 --with-xwidgets'

Configured features:
ACL DBUS GLIB GNUTLS IMAGEMAGICK LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XIM XWIDGETS ZLIB

Important settings:
  value of $LC_CTYPE: UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  pdf-occur-global-minor-mode: t
  repeat-mode: t
  override-global-mode: t
  recentf-mode: t
  display-time-mode: t
  save-place-mode: t
  global-auto-revert-mode: t
  minibuffer-depth-indicate-mode: t
  electric-pair-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  tab-bar-history-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: 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:
/Users/au710211/.emacs.d/elpa/lispy-20230314.1738/elpa hides
/Users/au710211/.emacs.d/elpa/ivy-20240405.2019/elpa
/Users/au710211/.emacs.d/elpa/editorconfig-20240318.2049/editorconfig
hides /Users/au710211/gnu-emacs/nextstep/Emacs.app/Contents/Resources/lisp/editorconfig
/Users/au710211/.emacs.d/elpa/which-key-20240423.1320/which-key hides
/Users/au710211/gnu-emacs/nextstep/Emacs.app/Contents/Resources/lisp/which-key
/Users/au710211/.emacs.d/elpa/editorconfig-20240318.2049/editorconfig-core
hides /Users/au710211/gnu-emacs/nextstep/Emacs.app/Contents/Resources/lisp/editorconfig-core
/Users/au710211/.emacs.d/elpa/editorconfig-20240318.2049/editorconfig-conf-mode
hides /Users/au710211/gnu-emacs/nextstep/Emacs.app/Contents/Resources/lisp/editorconfig-conf-mode
/Users/au710211/.emacs.d/elpa/ef-themes-1.7.0/theme-loaddefs hides
/Users/au710211/gnu-emacs/nextstep/Emacs.app/Contents/Resources/lisp/theme-loaddefs
/Users/au710211/.emacs.d/elpa/transient-20240421.1737/transient hides
/Users/au710211/gnu-emacs/nextstep/Emacs.app/Contents/Resources/lisp/transient
/Users/au710211/.emacs.d/elpa/editorconfig-20240318.2049/editorconfig-core-handle
hides /Users/au710211/gnu-emacs/nextstep/Emacs.app/Contents/Resources/lisp/editorconfig-core-handle
/Users/au710211/.emacs.d/elpa/editorconfig-20240318.2049/editorconfig-fnmatch
hides /Users/au710211/gnu-emacs/nextstep/Emacs.app/Contents/Resources/lisp/editorconfig-fnmatch

Features:
(shadow sort mail-extr emacsbug magit-base magit-section cursor-sensor
crm dash compat etags fileloop generator xref shortdoc help-fns
radix-tree mm-archive misearch multi-isearch package-vc lisp-mnt
network-stream url-cache url-http url-auth url-gw nsm
display-line-numbers add-log vc-hg vc-git diff-mode track-changes vc-bzr
vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view pcvs-util vc vc-dispatcher
dired-aux ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info
ol-gnus nnselect 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 dbus xml gnus-cloud nnimap nnmail
mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range message
sendmail yank-media puny rfc822 mml mml-sec epa derived epg rfc6068
epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus
nnheader gnus-util mail-utils range mm-util mail-prsvr ol-docview
ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi org-link-doi org-capture
org-refile pdf-sync pdf-annot facemenu pdf-outline pdf-links org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie
treesit executable ob-comint org-pcomplete pcomplete org-list
org-footnote org-faces org-entities time-date ob-emacs-lisp ob-core
ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc
org-loaddefs thingatpt cal-menu calendar cal-loaddefs org-version
org-compat org-macs pdf-history pdf-occur ibuf-ext ibuffer
ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp
semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util
semantic semantic/tag semantic/lex semantic/fw mode-local find-func
cedet pdf-isearch let-alist pdf-misc imenu doc-view pdf-tools compile
comint ansi-osc ansi-color ring cus-edit cus-start cus-load pdf-view
bookmark text-property-search pp jka-compr pdf-cache pdf-info tq
pdf-util format-spec pdf-macs image-mode dired dired-loaddefs exif
ace-link-autoloads aggressive-indent-autoloads ai-org-chat-autoloads
attrap-autoloads auctex-cont-latexmk-autoloads
auctex-label-numbers-autoloads consult-company-autoloads
company-autoloads copilot-autoloads czm-cpp-autoloads
cmake-build-autoloads czm-misc-autoloads czm-preview-autoloads
czm-spell-autoloads czm-tex-edit-autoloads czm-tex-fold-autoloads
czm-tex-jump-autoloads czm-tex-ref-autoloads debbugs-autoloads
define-repeat-map-autoloads diminish-autoloads dynexp-autoloads
easy-kill-autoloads ediff-copy-all-autoloads editorconfig-autoloads
ef-themes-autoloads eldoc-box-autoloads embark-consult-autoloads
consult-autoloads embark-autoloads exec-path-from-shell-autoloads
expand-region-autoloads flycheck-package-autoloads flycheck-autoloads
gnu-elpa-keyring-update-autoloads go-translate-autoloads gptel-autoloads
info-colors-autoloads library-autoloads czm-tex-util-autoloads
lispy-autoloads hydra-autoloads iedit-autoloads ace-window-autoloads
avy-autoloads llm-autoloads lv-autoloads marginalia-autoloads
mmm-mode-autoloads orderless-autoloads package-lint-autoloads
pdf-tools-autoloads perfect-margin-autoloads plz-autoloads
pos-tip-autoloads preview-auto-autoloads preview-tailor-autoloads
publish-autoloads f-autoloads repo-scan-autoloads magit-autoloads pcase
magit-section-autoloads git-commit-autoloads dash-autoloads s-autoloads
swiper-autoloads ivy-autoloads symbol-overlay-autoloads
tablist-autoloads tex-continuous-autoloads tex-item-autoloads
tex-numbers-autoloads auctex-autoloads tex-site finder-inf
tex-parens-autoloads transient-autoloads vertico-autoloads
which-key-autoloads info with-editor-autoloads zoutline-autoloads
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 eieio eieio-core password-cache json
map url-vars noutline outline project repeat edmacro kmacro byte-opt
use-package-bind-key bind-key easy-mmode recentf tree-widget wid-edit
time saveplace autorevert filenotify mb-depth elec-pair comp comp-cstr
warnings icons subr-x comp-run comp-common rx cl-macs gv cl-extra
help-mode use-package-ensure cl-seq use-package-core cl-loaddefs cl-lib
bytecomp byte-compile rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 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 xwidget-internal dbusbind
kqueue cocoa ns lcms2 multi-tty make-network-process native-compile
emacs)

Memory information:
((conses 16 692070 125304) (symbols 48 42961 0)
 (strings 32 173681 11296) (string-bytes 1 5072351) (vectors 16 68177)
 (vector-slots 8 753335 54362) (floats 8 713 600)
 (intervals 56 26364 0) (buffers 992 30))





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#73037: 31.0.50; fullscreen tooltips break after loading pdf-tools on MacOS
  2024-09-05  9:01 bug#73037: 31.0.50; fullscreen tooltips break after loading pdf-tools on MacOS Paul Nelson
@ 2024-09-12  9:16 ` Eli Zaretskii
  2024-09-12  9:31   ` Paul Nelson
  2024-09-18 13:50   ` Paul Nelson
  0 siblings, 2 replies; 5+ messages in thread
From: Eli Zaretskii @ 2024-09-12  9:16 UTC (permalink / raw)
  To: Paul Nelson; +Cc: 73037

> From: Paul Nelson <ultrono@gmail.com>
> Date: Thu, 5 Sep 2024 11:01:11 +0200
> 
> I've tested the following setups:
> 
> (1) Emacs master, pdf-tools 1.1.0
> (2) Emacs 29.4, pdf-tools 1.1.0
> 
> The issue appears with (1) but not (2), so I figured I'd report it as
> a bug with Emacs rather than pdf-tools, but would welcome other
> suggestions.
> 
> Steps to reproduce:
> 
> 1. Install pdf-tools (e.g., via list-packages)
> 
> 2. Emacs -Q
> 
> 3. Evaluate the following:
> 
> (package-initialize)
> (use-package pdf-tools
>   :config
>   (pdf-tools-install :no-query))
> 
> 4. Visit any pdf file.
> 
> These steps put Emacs in a state where tooltips behave badly: when the
> current frame is fullscreen (via (toggle-frame-fullscreen)), tooltips
> display in a separate fullscreen frame rather than as a child frame.
> 
> All tooltips are affected, not just those produced by pdf-tools.  For
> example, (x-show-tip "This is a tooltip." (selected-frame) nil 5)
> triggers the issue, as does mousing over any link in *Help*.

Could you please report this to the developers of pdf-tools first, and
ask them to look into the issue?  If they identify some issue with
core Emacs functionality, please then come back here with the details,
or ask them to post those details.

Thanks.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#73037: 31.0.50; fullscreen tooltips break after loading pdf-tools on MacOS
  2024-09-12  9:16 ` Eli Zaretskii
@ 2024-09-12  9:31   ` Paul Nelson
  2024-09-18 13:50   ` Paul Nelson
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Nelson @ 2024-09-12  9:31 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 73037

Thanks, will do.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#73037: 31.0.50; fullscreen tooltips break after loading pdf-tools on MacOS
  2024-09-12  9:16 ` Eli Zaretskii
  2024-09-12  9:31   ` Paul Nelson
@ 2024-09-18 13:50   ` Paul Nelson
  2024-09-18 15:50     ` Eli Zaretskii
  1 sibling, 1 reply; 5+ messages in thread
From: Paul Nelson @ 2024-09-18 13:50 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 73037

> Could you please report this to the developers of pdf-tools first, and
> ask them to look into the issue?  If they identify some issue with
> core Emacs functionality, please then come back here with the details,
> or ask them to post those details.
>

Having followed up with pdf-tools, the issue with Emacs is:

  when use-system-tooltips is nil, on macOS, with fullscreen Emacs,
(tooltip-show "hi") creates a new fullscreen frame.

I've tested this on both Emacs 29.4 and a recent master, with Emacs
-Q.  Please let me know if I should report a fresh bug for this, or
leave it here.

---

To make matters even more confusing, the issue does not present if I
run emacs from the src folder (rather than the app folder), even
though the executables are the same:

  cmp -s ~/gnu-emacs/src/emacs
~/gnu-emacs/nextstep/Emacs.app/Contents/MacOS/Emacs

I don't know what to make of this, and I've tried what I could think
of ("make clean", deleting eln-cache).  Any other suggestions would be
welcome.

Thanks, best,

Paul





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#73037: 31.0.50; fullscreen tooltips break after loading pdf-tools on MacOS
  2024-09-18 13:50   ` Paul Nelson
@ 2024-09-18 15:50     ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2024-09-18 15:50 UTC (permalink / raw)
  To: Paul Nelson; +Cc: 73037

> From: Paul Nelson <ultrono@gmail.com>
> Date: Wed, 18 Sep 2024 15:50:47 +0200
> Cc: 73037@debbugs.gnu.org
> 
> Having followed up with pdf-tools, the issue with Emacs is:
> 
>   when use-system-tooltips is nil, on macOS, with fullscreen Emacs,
> (tooltip-show "hi") creates a new fullscreen frame.
> 
> I've tested this on both Emacs 29.4 and a recent master, with Emacs
> -Q.  Please let me know if I should report a fresh bug for this, or
> leave it here.
> 
> ---
> 
> To make matters even more confusing, the issue does not present if I
> run emacs from the src folder (rather than the app folder), even
> though the executables are the same:
> 
>   cmp -s ~/gnu-emacs/src/emacs
> ~/gnu-emacs/nextstep/Emacs.app/Contents/MacOS/Emacs
> 
> I don't know what to make of this, and I've tried what I could think
> of ("make clean", deleting eln-cache).  Any other suggestions would be
> welcome.

Thanks, I guess some macOS expert will have to look into this.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-18 15:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-05  9:01 bug#73037: 31.0.50; fullscreen tooltips break after loading pdf-tools on MacOS Paul Nelson
2024-09-12  9:16 ` Eli Zaretskii
2024-09-12  9:31   ` Paul Nelson
2024-09-18 13:50   ` Paul Nelson
2024-09-18 15:50     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.