swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.63k stars 1.11k forks source link

Non-resizable IntelliJ IDEA debugging tooltips #5959

Open tsdh opened 3 years ago

tsdh commented 3 years ago

Im running Sway and wlroots from their current git master branches. The merge of the PRs #5948 and swaywm/wlroots#2605 by @BrassyPanache finally made IntelliJ usable with sway for me. There's just the following tiny bit which I still run into.

When debugging a Java program and standing on a breakpoint, you can hover over a variable and a tooltip will appear with a big + symbol. Clicking that will open a new inspection tooltip where you can expand and view the structure of the object. This tooltip is resizable in Gnome (on Wayland) but it's not resizable in Sway. Or rather, I could initially make it smaller by clicking and holding an edge and dragging but now that it is pretty small (see screenshot), I cannot make it bigger (or even smaller) again.

I've tried grabbing on the edges (where the mouse pointer gets the resize-shape) and pressing $mod while dragging with the right mouse button. The former just does nothing. With the latter, it seems pressing and holding the right mouse button delivers a right click event to the tooltip, at least I get the same IntelliJ context menu I get when just right-clicking in there.

intellij_debug_popup

cpouldev commented 1 year ago

Did you ever find a solution for this issue? Using the latest sway-git and jetbrains products I'm facing the same issue but for the "Search Everywhere" popup

tsdh commented 1 year ago

@cpouldev No, sadly not. I can resize the "Search Everywhere" popup one or two millimeters using $mod and right-click dragging at its borders but then it stops resizing.

cpouldev commented 1 year ago

Meh..

I opened an issue on YouTrack (https://youtrack.jetbrains.com/issue/IDEA-316500), with a screencast showing the resizing issue but I don't think they will ever deal with it.

Their response:

sadly, we have limited capabilities of supporting different window managers. We expect Idea to be run on KDE, Gnome, or Unity. Generally, we try to support as many window managers as possible, but in this particular case, I was not able to install Sway, and in other tiling managers, such as i3, the issue is not reproduced.

tsdh commented 1 year ago

Yeah, the behavior for me is exactly as shown in your screencast. I'm a very lucky guy as my "search everywhere" popup is much larger than yours so I have no pressing need to resize it. :-)

pschmidt88 commented 1 year ago

Did you find or have a workaround?

Since the latest update I also face the same issue.

Edit: Ah overread that part in the youtrack issue. If you move the mouse slowly you can actually resize it.

tsdh commented 7 months ago

Oh no, now my "search everything" popup shrunk to some too small size, so now I'm actually also very negatively affected by this issue. :-(

I'm using sway 1.9 right now.

vanarok commented 1 month ago

I'm also facing this problem