-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Inconsistent toolbar button positions when rendered in notebook #15509
Comments
Thank you for reporting this! Can you try jupyterlab pre-release 4.1.0a4 in which the logic was refactored? |
@krassowski Thanks. I conda created a new env for 4.1.0a4, the previous "jump around" issue reduced a lot. But there is Another issue is shown at the the first half of the gif demo, which is very frequently observed: |
The refactor of toolbars happened in #15021 and I can confirm that it introduced a regression with toolbar items being hidden or placed randomly on first load. It feels that we should defer the position shuffling and collapsing until the layout has settled. CC @brichet An issue which sounds similar (but is largely unrelated in the codebase) was brought up by @gabalafou in context of the menu hamburger implementation (see #13148 (comment)). Now, I wonder if |
Indeed I managed to reproduce these behaviors after a lot of refresh. It may be a side effect of #15021, but this PR does not change the way the items are included in the toolbar. Is it possible that sometime the items are first added in a wrong order, and reordered later ? |
We recently released 4.1.0 beta 0. Is this still occurring in beta 0? |
This is still occurring on latest beta. After some tests it seems to be related to #15021. |
I opened #15553 to fix the reversed order. I'll try to explain what I understood. I think we should avoid using the |
@brichet thanks! |
I updated #15553 to fix also the relative insertion in the reactive toolbar.
This must an other issue related to the debugger itself, not to the toolbar. |
Description
The Debugger Button is "jumping around" among different notebooks in the Notebook Panel Toolbar epecially after refreshing, as shown in below gif demo:
Reproduce
Expected behavior
User should see a stable button order on the Notebook Toolbar.
Context
os: wsl2 linux system, using jupyterlab 4.0.9
jupyter_client 8.6.0
jupyter_core 5.5.0
jupyter-events 0.9.0
jupyter-lsp 2.2.1
jupyter_server 2.12.1
jupyter_server_terminals 0.4.4
jupyterlab 4.0.9
jupyterlab_celltagsclasses 0.5.1
jupyterlab_gridwidth 0.2.4
jupyterlab_pygments 0.3.0
jupyterlab_server 2.25.2
The text was updated successfully, but these errors were encountered: