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

Embedded Rerun web viewer loses track of drag events #6354

Open
martenbjork opened this issue May 16, 2024 · 2 comments
Open

Embedded Rerun web viewer loses track of drag events #6354

martenbjork opened this issue May 16, 2024 · 2 comments
Labels
😤 annoying Something in the UI / SDK is annoying to use egui Requires egui/eframe work 🕸️ web regarding running the viewer in a browser

Comments

@martenbjork
Copy link
Collaborator

Describe the annoyance
When using an embedded Rerun window, drag events are only tracked inside the window frame, not outside. As a result, Rerun tends to loose track of drags halfway through. Example:

  • Start a drag (resize a panel)
  • Accidentally drag outside
  • Resizing stops
  • As a result, I think something has gone wrong and up stop the drag
  • I put the cursor inside the embed to start over
  • Rerun thinks a drag is still ongoing because it didn't track the onmouseup event outside the window

To Reproduce
Repeat the steps above using the Rerun embed here:

https://huggingface.co/spaces/pablovela5620/mini-dust3r

Expected behavior

Drags should work even when the drag is outside the window. Like this:

dragging-outside.mov

Desktop (please complete the following information):

  • OS: MacOS 14.4.1, Chrome 118.0.5993.70
@martenbjork martenbjork added 😤 annoying Something in the UI / SDK is annoying to use 👀 needs triage This issue needs to be triaged by the Rerun team labels May 16, 2024
@emilk emilk added egui Requires egui/eframe work 🕸️ web regarding running the viewer in a browser and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels May 16, 2024
@emilk emilk changed the title Embedded Rerun looses track of drag events Embedded Rerun web viewer looses track of drag events May 16, 2024
@emilk
Copy link
Member

emilk commented May 16, 2024

egui issue:

@teh-cmc teh-cmc changed the title Embedded Rerun web viewer looses track of drag events Embedded Rerun web viewer loses track of drag events May 17, 2024
@emilk
Copy link
Member

emilk commented May 21, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
😤 annoying Something in the UI / SDK is annoying to use egui Requires egui/eframe work 🕸️ web regarding running the viewer in a browser
Projects
None yet
Development

No branches or pull requests

2 participants