-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
Unable to move or resize certain electron js apps #3816
Comments
3.1 is not a supported version, please try something newer, ideally 4.4.x This does work fine with newer versions. |
I've installed 4.4.4-r0-1 on the server instead and the same issue occurs. I have updated the version info in this bug to reflect that. I'm unable to move or resize either Termius or Tabby while running 4.4.4-r0-1 on the server side and 4.4.4-r1 on the windows 11 client side. You said this works fine with newer versions, is there some trick to getting this working if that's the case? I've tried everything that I can think of at this point. |
Are there any applications in the Ubuntu standard repositories that I can use for testing? |
There don't tend to be any electron js apps hosted in apt, unless you add third party repos. Canonical hosts them in snapcraft: https://snapcraft.io/store There are plenty of other electron apps including some very popular / well known ones such as slack, discord, skype, signal, whatsapp, vscode, tidal, github desktop, etc... I would wager that you'd see the same problem that I'm describing with any of those. https://en.wikipedia.org/wiki/List_of_software_using_Electron |
I really don't have time to try random applications that aren't easily installable, sorry. If your desktop is running Wayland, you may want to try with Xorg instead. |
The xpra host is an Ubuntu Server install that I only interract with over ssh. Any X11 related dependencies installed are whatever ones the xpra .deb file told apt to install as dependencies when I installed it. I see that xpra has an xorg.conf file that it uses to create a dummy xorg session. I do see some wayland libs installed but I'm not sure if xpra is configured to make use of those by default or what. There's no xserver or window manager running on the server itself other than whatever xpra is doing. The client side is a windows box with the windows xpra package installed. I've checked other electron apps and all of the ones I've tested so far seem to draw in such a way that I can move or resize them in xpra. The only two I'm not able to do that in are Tabby (https://tabby.sh) and Termius (https://termius.com) which are the main packages that I wanted to use via xpra. They both work fine in a normal Xorg or Wayland session when I've tested them in the past. The only way I've found to install one of these from the built in ubuntu package managers is to use snap to install Termius in Ubuntu (snap install termius), but then because of how snap bundles it's packages they don't play nicely at all with xpra, so that's a no go. The reason it's not in apt is because it's already in snap so Canonical aren't going to bother putting it in both places. Termius is a commercial app so it's not like it's some random project on github. I have to install the .deb file from the Termius website using apt (apt install ./Termius.deb) to get it to display via xpra. I've tried to find other packages in apt which have the same move/resize issue but I haven't been able to find any. In any case, it sounds like you're not really interested in installing Termius even inside of a sandbox to try to track down what's going on here so I'm just going to close this out as I don't have the energy to jump through these hoops just to get this looked at. |
Then later:
This right here is why I had asked for specific and reproducible installation instructions.
That's not encouraging for debugging purposes.
Commercial apps are usually more problematic than open-source ones due to their reinvent the wheel attitude.
Let's keep this ticket open since the issue still exists. |
There were more major geometry fixes in 5.0.7. Not heard back, closing. |
Describe the bug
Unable to move or resize electron js apps (tested with Termius)
To Reproduce
Steps to reproduce the behavior:
System Information (please complete the following information):
Additional context
Electron js apps don't have window decorations around them, they manage their own window movement and sizing. It would be nice if there were a way to either handle this within xpra automatically or provide an option to add a window border on the client side to allow movement and resizing.
Another good example of an app suffering from the same issue is Tabby https://tabby.sh. Both Tabby and Termius are popular graphical terminal clients with a modern feature set and it would be very nice to be able to use them with xpra. As it stands unless they are being used in maximized mode they are basically unusable.
The text was updated successfully, but these errors were encountered: