Hover tooltips in full screen mode cause the current screen to switch
On MacOS when in full-screen mode, mouse hover tooltips cause a switch to another desktop.
The problem does not happen when I'm not in full screen mode.
Expected behavior
The current screen should be stable and the tooltip should appear as a overlay.
Actual behavior
The screen briefly (< 1s) switches to another (new?) screen on which the tooltip is visible and immediately switches back to the emacs screen.
Steps to reproduce the problem
Enter full screen mode, with a window open on a Clojure buffer with CIDER enabled. Then hover on a symbol with tooltip (docstring) content.
Environment & Version information
MacOS 14.6.1 (Sonoma)
CIDER version information
;; Connected to nREPL server - nrepl://localhost:61555
;; CIDER 1.16.0 (Kherson), nREPL 1.3.0
;; Clojure 1.11.4, Java 17.0.8
;; Docs: (doc function-name)
;; (find-doc part-of-name)
;; Source: (source function-name)
;; Javadoc: (javadoc java-object-or-class)
;; Exit: <C-c C-q>
;; Results: Stored in vars *1, *2, *3, an exception in *e;
;; Startup: /Users/cch1/.asdf/shims/clojure -A:nrepl -Sdeps \{\:deps\ \{nrepl/nrepl\ \{\:mvn/version\ \"1.3.0\"\}\ cider/cider-nrepl\ \{\:mvn/version\ \"0.50.2\"\}\}\ \:aliases\ \{\:cider/nrepl\ \{\:main-opts\ \[\"-m\"\ \"nrepl.cmdline\"\ \"--middleware\"\ \"\[cider.nrepl/cider-middleware\]\"\]\}\}\} -M:dev:morse:test:cider/nrepl
Lein / Clojure CLI version
Clojure CLI 1.11.1.1435
Emacs version
29.4
Operating system
MacOS 14.6.1 (Sonoma)
JDK distribution
java corretto-17.0.8.7.1
I can reproduce it with emacs -q.
Setting (setopt tooltip-mode nil) in the init file is a workaround to fix the issue.
So that's some regression in Emacs 29.4?
So that's some regression in Emacs 29.4?
Not sure when it's started, I use emacs 30 and I have tooltips turned off since forever :)
Looks like it's an emacs bug. Can be reproduced by evaluating (tooptip-show "Hello").
https://github.com/user-attachments/assets/cef65c73-201e-43b6-9a41-5d0aceb23df3
I noticed the same thing happening since #3725.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed soon if no further activity occurs. Thank you for your contribution and understanding!
This problem is still happening for me with emacs 29.4 (latest brew cask install) and cider 1.16.1.
I'm having the same issue; (tooltip-show "Hello") only opens up a new frame for me if cider-mode is enabled in a window. If I disable cider-mode, the issue goes away.
I just updated to Emacs 30.1 using Brew and it's still happening.
I disabled tooltips to prevent this behavior
(customize-set-variable 'cider-use-tooltips nil)
Me too.
I disabled tooltips to prevent this behavior
(customize-set-variable 'cider-use-tooltips nil)
I don't think this issue was ever reported to the Emacs bug tracker.
I don't think this issue was ever reported to the Emacs bug tracker.
Any idea how to provoke that outcome?
I don't think this issue was ever reported to the Emacs bug tracker.
Any idea how to provoke that outcome?
M-x report-emacs-bug is the simplest way to do that. It's also possible to just send an email directly to [email protected]