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

Run and advance command caption doesn't adapt when selecting more than one cell #14161

Open
HaudinFlorence opened this issue Mar 10, 2023 · 0 comments

Comments

@HaudinFlorence
Copy link
Contributor

HaudinFlorence commented Mar 10, 2023

Description

In a recent PR #13861, some changes were proposed to adapt the caption associated to the different buttons of the notebook toolbar. Most particularly, when selecting more than one cell, the number of cells is changing in the displayed caption, as shown here (in the case of copy cells command) :
selection1

Nevertheless, it appears that the caption doesn't adapt for the run and advance command as shown here:
selection2

Reproduce

  1. Open a notebook
  2. Click on the run and advance button (play triangular button) and check the caption: it is "Run this cell and advance"
  3. Add n cells and select the n+1 cells of the notebook
  4. Click again on the run and advance button
  5. See the corresponding caption: it still mentions a single cell

Expected behavior

When n cells are selected, the caption should be "Run these n cells and advance"

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

No branches or pull requests

2 participants