docToolchain / diagrams.net-intellij-plugin

An IntelliJ plugin which allows you to edit diagrams.net (formerly known as draw.io) diagrams directly in IntelliJ!
https://plugins.jetbrains.com/plugin/15635-diagrams-net-integration
Apache License 2.0
134 stars 16 forks source link

Can not type on any other window while my diagram is open #218

Open JoaoRuss0 opened 1 year ago

JoaoRuss0 commented 1 year ago

Basically the title, as long as the diagram is opened, I can not move or type in any other window. When I try to type it just types in the diagram window, creating a new text box. The cursor will not even show on the other window as you can see in the example below.

image

Supposedly my cursor is on the found variable, but it can not be seen. After closing the diagram everything goes back to normal.

image OSR is disabled.

ahus1 commented 1 year ago

I've been able to reproduce this on Linux (Fedora 37 with Wayland). I assume you're using Linux or macOS. Disabling off-screen-rendering seems to cause this. I've also seen that the menus are not accessible when off-screen-rendering disabled. Enabling off-screen-rendering is also not an option, as then typing of text is not possible on Linux and macOS in all releases up to and including 2023.3 - see #212. for a discussion on this.

I recommend you update to plugin version 0.2.3 and IntelliJ 2023.3.1 EAP. With this combination, off-screen rendering support typing and no longer interferes with other editors or the menu.

In previous versions, the workaround is to not have the diagram open side-by-side. The typing will work once the diagram is either closed or in the background.

Please let me know if this works for you.