Strange behavior noticed recently that might be related to cider: my hover tooltips when in full screen mode cause a switch to another desktop. The problem does not happen when I'm not in full screen mode. THis is pretty recent behavior. Has anyone else noticed this oddity?
I'm seeing this error even when using the native full screen button (the "green dot").
Wild guess and possibly unrelated – do you perhaps have menu-bar-mode disabled, like (menu-bar-mode -1) somewhere in Emacs config?
yes, i've seen it and been supper annoyed by it
Nowhere do I disable menu bar mode.
This only started happening recently. I'm baffled.
Nothing comes to mind right away. I would ask you to create a ticket. Most likely, it has nothing to do with CIDER as it didn't see many updates lately. Most probably it's either the new MacOS or an Emacs bug.
I reckon that setq cider-use-tooltips nil is a workaround in the meantime?
yup, "because full screen apps in Macos are on their separate desktops". CTRL+UP and you'll see the list of virtual desktops on the top of the screen — if you have some of your apps fullscreened, you'll see them there as well!
I've experienced this issue. It only happens on Mac and it happens if you use toggle-frame-fullscreen and not the native full-screen button if I remember correctly
It's also not related to cider, but to eldoc or whatever machinery cider uses for those tooltips
What happens, is it shows the tooltip in the correct x/y position, but on the wrong desktop, so it jumps in-between. Sometimes you can actually see the tooltip on the blank/black screen
This happens on emacs 29.4 with the following cider config:
;; Connected to nREPL server -
;; 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 I experienced this as well — but only on Mac as @hkjels said, and only when the specific desktop for full screen Emacs was set (via right click on emacs icon in the menu "down there")
I don't think it should jump between the desktops otherwise
I use a keybinding to enter fullscreen and it happens to me.
@cch1 because full screen apps in Macos are on their separate desktops