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

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

Open
mbtaylor opened this issue Nov 24, 2023 · 7 comments
Open

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

mbtaylor opened this issue Nov 24, 2023 · 7 comments

Comments

@mbtaylor
Copy link
Contributor

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:

  • I've seen problems in topcat and Aladin. I haven't seen problems in ds9, which leads me to believe this might be a java issue. I haven't really tried other desktop applications.
  • One cosmetic effect is scrambling of toolbar button icons, see e.g. the screenshot here (posted by @severingaudet)
  • A more serious effect is in plot windows in topcat - they display OK when first plotted, but subsequent user interaction (pan/zoom) doesn't work properly, e.g. moves the axes around but not the plotted points
  • In Aladin I've had all-sky imagery claim in the GUI that it is loaded, but not visible in the display
  • I noticed these issues first in 06/2021, and again now (11/2023). I haven't really played with the science platform in between.
  • Problems are intermittent - e.g. at the moment it's behaving nicely. I'm not sure, but I have the impression that problems are more common in Canadian daytime than the middle of the Canadian night, so this could be related to loading?
  • I had an idea in 2021 that fiddling with java2d system properties, e.g. -Dsun.java2d.xrender=false might fix it. But as long as it's not misbehaving consistently I can't test that.
@mbtaylor
Copy link
Contributor Author

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

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

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

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

@brianmajor
Copy link
Member

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

@brianmajor
Copy link
Member

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants