Git Product home page Git Product logo

Comments (10)

brichet avatar brichet commented on July 17, 2024

Thanks @jtpio for the ping.

Wondering if this is only a matter of time for the button to be visible, and if we want to fix it (if it's inconvenient to use) or only fix the test (waiting for the button to be visible).
Did you notice the missing button outside the tests?

from notebook.

jtpio avatar jtpio commented on July 17, 2024

Did you notice the missing button outside the tests?

Usually not, so it might indeed just be an issue with the tests.

There is some logic to wait for the kernel status animations to be gone before taking the screenshot, which may not be enough:

// wait for the kernel status animations to be finished
await waitForKernelReady(notebook);

But maybe there could indeed also be a check to wait for that button to be visible, just to be sure.

from notebook.

brichet avatar brichet commented on July 17, 2024

I can take a look at the test and we'll see if it's enough.

from notebook.

brichet avatar brichet commented on July 17, 2024

Probably related to #6731, see #7371 for details.

from notebook.

jtpio avatar jtpio commented on July 17, 2024

Re-opening to keep track of updating to a new JupyterLab version, and check if it fixes the flakiness.

from notebook.

jtpio avatar jtpio commented on July 17, 2024

From #7378 (which should include jupyterlab/jupyterlab#16335), it looks like this time it is the button to toggle the virtual scrollbar that is sometimes showing up:

Actual Expected
image image

from notebook.

brichet avatar brichet commented on July 17, 2024

it looks like this time it is the button to toggle the virtual scrollbar that is sometimes showing up

I think it is another computation issue with the toolbar, but I can't tell why it was not an issue before.
The debugger is inserted late in the toolbar (because it wait for the debugger to be ready in the kernel).
If it is inserted while the resizer is running (the resizer positions items in the toolbar or in the popup toolbar), the last item is not taken into account during the computation.

from notebook.

brichet avatar brichet commented on July 17, 2024

Opened jupyterlab/jupyterlab#16409, it fixes this issue locally, during tests and usage.
Too bad that we don't have yet an easy way to run all the tests on CI with this PR...

from notebook.

brichet avatar brichet commented on July 17, 2024

I hope there will not be other issues with the new change... 😄

from notebook.

jtpio avatar jtpio commented on July 17, 2024

Yes, thanks for looking into them!

I'll re-open to keep track of it, which should be fixed after the next JupyterLab update.

from notebook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.