cider

cch1 2024-10-20T02:14:20.299349Z

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?

cch1 2024-10-31T21:19:46.774729Z

I'm seeing this error even when using the native full screen button (the "green dot").

oyakushev 2024-10-20T18:12:20.386919Z

Wild guess and possibly unrelated – do you perhaps have menu-bar-mode disabled, like (menu-bar-mode -1) somewhere in Emacs config?

Linus Ericsson 2024-10-20T19:41:07.398629Z

yes, i've seen it and been supper annoyed by it

cch1 2024-10-20T21:47:24.554419Z

Nowhere do I disable menu bar mode.

cch1 2024-10-20T21:47:44.601449Z

This only started happening recently. I'm baffled.

oyakushev 2024-10-20T22:07:02.229239Z

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.

✔️ 2
cch1 2024-10-20T22:24:49.479029Z

Done: https://github.com/clojure-emacs/cider/issues/3748

vemv 2024-10-21T05:04:08.499319Z

I reckon that setq cider-use-tooltips nil is a workaround in the meantime?

Volodymyr Anokhin 2024-11-10T05:44:01.958099Z

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!

hkjels 2024-10-21T07:24:13.481979Z

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

👍 1
hkjels 2024-10-21T07:24:41.102369Z

It's also not related to cider, but to eldoc or whatever machinery cider uses for those tooltips

hkjels 2024-10-21T07:26:25.173959Z

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

👍 1
cch1 2024-10-20T02:17:10.347459Z

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

Volodymyr Anokhin 2024-10-23T12:13:53.605599Z

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")

Volodymyr Anokhin 2024-10-23T12:14:17.222879Z

I don't think it should jump between the desktops otherwise

cch1 2024-10-23T21:43:29.056619Z

I use a keybinding to enter fullscreen and it happens to me.

Volodymyr Anokhin 2024-10-24T14:11:55.327149Z

@cch1 because full screen apps in Macos are on their separate desktops