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

Orientation Viewer doesn't clear itself on Wayland #3114

Open
jamescrake-merani opened this issue Sep 30, 2024 · 2 comments · Fixed by #3115
Open

Orientation Viewer doesn't clear itself on Wayland #3114

jamescrake-merani opened this issue Sep 30, 2024 · 2 comments · Fixed by #3115

Comments

@jamescrake-merani
Copy link
Contributor

Describe the bug
The orientation viewer's display is not cleared on every new frame. This means that whatever was drawn on the screen remains even when a new frame is redrawn. I have only been able to reproduce this bug on Wayland; it doesn't occur on X11 from my testing.

@krzywon as you'll recall, I raised this at the last technical meeting. I thought at the time that this was specific to Linux but it would now appear its more specifically just a Wayland issue. Because of this, I wasn't sure if I should disable this feature on Linux as discussed in the meeting. Please let me know what you think is best, and then I can create a pull request.

To Reproduce
Steps to reproduce the behavior:

  1. Go to to Tools -> Orientation Viewer
  2. Try panning the camera around, or changing the parameters (basically anything that updates the state).

Screenshots
This bug doesn't show up when you take a screenshot of it so I've had to take a photo from my phone instead to demonstrate the problem.

PXL_20240930_083046175

SasView version

  • Version: SasView 6.0.0

Operating system (please complete the following information):

  • OS: Ubuntu 24.04 LTS

Additional context
I tried looking this morning for a solution but unfortunately I wasn't able to. It looks like everything is being cleared correctly so I'm not sure what is happening.

@lucas-wilkins
Copy link
Contributor

Have you run testgl2 on the same machine?

@jamescrake-merani
Copy link
Contributor Author

Have you run testgl2 on the same machine?

I couldn't find a package for that on my machine so I used glmark2 instead. It all appears to be working fine on my machine.

@lucas-wilkins lucas-wilkins linked a pull request Sep 30, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants