opencadc / science-platform

Science Platform Infrastructure
GNU Affero General Public License v3.0
14 stars 29 forks source link

Display problems in (java?) desktop GUI applications #578

Open mbtaylor opened 10 months ago

mbtaylor commented 10 months ago

I have experienced issues with the display of java GUI applications in a science platform desktop session.

The issues are intermittent, have happened over a long period, and are in some cases just cosmetic and in other cases more serious.

Miscellaneous observations:

mbtaylor commented 10 months ago

Here's a screenshot of a topcat plot misbehaving. shot1 It's not very revealing, but take my word for it there should be a sky full of points visible. I just ran topcat :skysim:1000000 from a topcat-terminal and hit the Sky Plot toolbar button. Plot comes up nicely, but when I try to drag it around using the mouse, the axes move but the plotted points go away. Note also a couple of missing toolbar icons and scrambled pixelmaps on a horizontal and a vertical divider in the plot window - those are not really a problem, but tend to accompany the plot problems.

brianmajor commented 10 months ago

I don’t think this is the issue (is OpenGL used?) but posting for the record : https://bbs.archlinux.org/viewtopic.php?id=269181

mbtaylor commented 10 months ago

I'm not using OpenGL explicitly; I haven't attempted to check whether Java uses it but I would think not (there's no 3d graphics going on here). And the symptoms don't look very similar. So probably that's not the same issue.

mbtaylor commented 10 months ago

And here's a shot of Aladin misbehaving: aladin Icons on the left and right are scrambled, and the sky display is blank. Interacting with the plot appears to work in that the zoom slider bottom right moves, but the sky display does not respond.

brianmajor commented 10 months ago

Another post that may provide insight: https://stackoverflow.com/questions/35852534/java-swing-applications-not-rendering-properly-with-vnc

brianmajor commented 4 months ago

Raising the priority on this as it is clear it is affecting all Java-based desktop-apps.

brianmajor commented 3 months ago

@ijiraq - You mentioned that you have an idea of what the issue may be. Could you please post the details so we can give it a try?