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

Persistent Frame in Profile Window #25

Closed
ada-foss opened this issue Oct 8, 2012 · 4 comments
Closed

Persistent Frame in Profile Window #25

ada-foss opened this issue Oct 8, 2012 · 4 comments
Labels

Comments

@ada-foss
Copy link
Collaborator

ada-foss commented Oct 8, 2012

Sometimes, somehow, the profile get's stuck on one particular frame. Refreshing the frame by moving around or zooming though, reveals the frame the user would expect before the program flickers back to the frame it's stuck on.

  • It's not clear how this is reproduced, may have something to do with using the classification queue.
  • The program cannot get a new profile and display it, even by moving the viewpoint around, in this state.
@ada-foss
Copy link
Collaborator Author

ada-foss commented Oct 9, 2012

Current hypothesis: Check Profile::loadprofile, even though it's got a mutex locking the whole method, it could be called with some arguments, block, those arguments become out of date, and then the method unblocks and loads the wrong set of points. Unsure though how this could cause this particular bug.

@ada-foss
Copy link
Collaborator Author

Observed to not be restricted to getting a new profile. Has now occurred when just changing the profile location and moving in the 2d overview window without refreshing the profile.

@ada-foss
Copy link
Collaborator Author

Turns out to occur when: the profile is drawn on the overview, and a point is queried with right-click.

@ada-foss
Copy link
Collaborator Author

Mish-mashed BoxOverlay into doing the job of overlaying the point selection box rather than the LagDisplay::overlayBox method (which probably causes this). That means:

  1. All the overlays are being consistently drawn in the same way
  2. The point selection box is now something that persists on the dataset and maps to it spatially, meaning its size will subsequently change when you zoom in+out. It might be wise to tweak BoxOverlay to optionally not do this.

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

No branches or pull requests

1 participant