You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tab_add feature only works on the main surface.
This is because TabViewer::on_add does not know which surface the tab belongs to.
To Reproduce
Steps to reproduce the behavior:
run cargo run --example tab_add
Drag any tab to make it pop out into an floating egui window
Click on the + button next to the popped out tab
Instead of inside the window, the new tab is spawned in the first tree leaf of the main surface.
Expected behavior
The tab should be added to the floating window, but as far as I know, this is currently not possible to implement.
Screenshots
Additional context
Ideally the node indices would be unique across the whole DockState structure or TabViewer::on_add should be passed the surface index.
The text was updated successfully, but these errors were encountered:
Describe the bug
The tab_add feature only works on the main surface.
This is because
TabViewer::on_add
does not know which surface the tab belongs to.To Reproduce
Steps to reproduce the behavior:
cargo run --example tab_add
+
button next to the popped out tabExpected behavior
The tab should be added to the floating window, but as far as I know, this is currently not possible to implement.
Screenshots
Additional context
Ideally the node indices would be unique across the whole DockState structure or
TabViewer::on_add
should be passed the surface index.The text was updated successfully, but these errors were encountered: