xpra icon
Bug tracker and wiki

Opened 2 weeks ago

Closed 2 weeks ago

Last modified 2 weeks ago

#2900 closed task (duplicate)

Possible fix for Eclipse repainting problem

Reported by: wanderyr Owned by: Antoine Martin
Priority: major Milestone:
Component: server Version:
Keywords: environment, eclipse Cc: wanderyr

Description

Server: v4.0.4-r27557 on Kubuntu 20.04.
Client: v4.0.4-r27557 on Windows 10.
Using SSH connections.

I'm running Eclipse 2020-09. Eclipse runs fine (although slowly) via standard X11 forwarding (using MobaXTerm on Windows).

Within xpra, the eclipse editor windows show the constant repainting mentioned in #2715 and #2070.

For debugging, I started an xterm within xpra, and then started eclipse from that command line. The flickering is still there.
$ eclipse &

But, if I do the following within xterm, eclipse works great:
$ export GTK_IM_MODULE="ibus"
$ eclipse &

That environmental variable is originally set as "xim".

Is there a way to start the xpra session with this environmental variable preset to "ibus"? I would prefer to use "$ xpra start --start=eclipse" instead of bringing up an intermediate terminal.

Thanks for all you are doing!

Change History (4)

comment:1 Changed 2 weeks ago by wanderyr

Cc: wanderyr added
Type: enhancementtask

My apologies if I set the owner/properties incorrectly! :)

comment:2 Changed 2 weeks ago by wanderyr

Okay, I've found out how to do it. If I start the server with

xpra start --start-env=GTK_IM_MODULE=ibus --start=eclipse

then it fixes the Eclipse repainting problem.

It appears that this fix isn't well-known. At least, I couldn't a solution anywhere online. I don't know if the best path forward is a simple documentation change or if there should be a code solution so that the environmental variable isn't set to "xim". I also don't know if "ibus" vs "xim" would solve (or break) other things.

I hope this info is helpful!

comment:3 Changed 2 weeks ago by Antoine Martin

Resolution: duplicate
Status: newclosed

Doesn't --input-method=ibus do what you want? It should.
As for switching to ibus by default: #2359

comment:4 Changed 2 weeks ago by wanderyr

Yes, in fact it does! Thank you. I'm glad to see the future ibus switch in #2359.

Thanks for all your hard work. This software is excellent, and much needed :)

Take care.

Note: See TracTickets for help on using tickets.