jbuchermn / newm

Wayland compositor
MIT License
958 stars 30 forks source link

Issues with intellij idea based IDE #140

Open c-leri opened 2 years ago

c-leri commented 2 years ago

List of issues I encountered trying to use idea on newm :

jbuchermn commented 2 years ago

I've tried using IntelliJ under newm and remember having similar issues. The thing is that Wayland isn't supported officially by JetBrains as far as I can tell: https://youtrack.jetbrains.com/issue/JBR-3206 Last time I tried it I remember IntelliJ doing all sorts of weird things such as starting the main window as a modal (which is why it is stuck in floating mode) instead of using the main surface...

If I understand correctly, sway has some source code specific to dealing with IntelliJ, but I might be mistaken. I'm not against including something in newm (or probably it'd need to be in pywm), but I'm not going to put any work into coping with such individual behaviour - a PR is welcome.

Just some more thoughts:

c-leri commented 2 years ago

Hey, I tried to launch the app with Xephyr as suggested in the linked JetBrains issue and it seems to have corrected all my issues ! The only malfunctioning thing left is the fullscreen mode that just adds black bars to the side off the window but it'd be cherry picking to consider this an issue So thank you very much ! Note : this is by no mean an ideal solution but it works and i'm content with that

CRAG666 commented 2 years ago

It works partially Intellij, I advise you to give us up, those of Jetbrains are not interested in supporting Wayland, if they really wanted to do it the same as Dbeaver, that despite being written in Java, it supports totally Wayland

EpsilonKu commented 1 year ago

If u see latest comments on JetBrains issue. They are trying to fix it with RedHat. Quote:

actually we're working together with Java Client team at Oracle and Wayland developers at RedHat to support the Wayland desktop. Pure Wayland client project is being developed by JetBrains engineers. So as a rough schedule, we'd like to have a preview by the end of 2023.

CRAG666 commented 1 year ago

@EpsilonKu They are good news, I hope and if they take it seriously, because Jetbrains gives many surprises (and not of good taste)