Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with intellij idea based IDE #140

Open
c-leri opened this issue Aug 9, 2022 · 5 comments
Open

Issues with intellij idea based IDE #140

c-leri opened this issue Aug 9, 2022 · 5 comments
Labels
documentation Can be answered by improving documentation

Comments

@c-leri
Copy link

c-leri commented Aug 9, 2022

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

  • idea windows seem to be forever stuck in floating mode
  • you can't move them or focus them with keyboard shortcut but you however can with touchpad gesture
  • sometimes modal windows spawned by idea will appear behind the main window
  • sometime they will simply freeze everything forcing you to reboot your pc
  • you can't activate fullscreen mode with an idea window
@jbuchermn
Copy link
Owner

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:

  • Does it run any differently under XWayland than native?
  • Have you tried setting the "_JAVA_AWT_WM_NONREPARENTING" and similar tweaks? (see linked JetBrains issue)

@c-leri
Copy link
Author

c-leri commented Aug 9, 2022

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
Copy link
Contributor

CRAG666 commented Aug 11, 2022

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

@jbuchermn jbuchermn added the documentation Can be answered by improving documentation label Aug 22, 2022
@EpsilonKu
Copy link

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
Copy link
Contributor

CRAG666 commented Nov 10, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Can be answered by improving documentation
Projects
None yet
Development

No branches or pull requests

4 participants