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

Copy Output to Clipboard does not include (hides?) search matches #15280

Open
krassowski opened this issue Oct 19, 2023 · 0 comments
Open

Copy Output to Clipboard does not include (hides?) search matches #15280

krassowski opened this issue Oct 19, 2023 · 0 comments
Labels
bug tag:Regression Behavior that had been broken, was fixed, and is broken again tag:Search and Replace
Milestone

Comments

@krassowski
Copy link
Member

Description

In rich word processing editors the search matches are lost.

image

Reproduce

  1. Execute a cell with:
    import pandas as pd
    pd.DataFrame({'a': [111, 222], 'b': [333, 444]})
    
  2. Open search, type 444, enable "Search Cell Outputs"
  3. Right click on cell output, click "Copy Output to Clipboard"
  4. Paste in a rich word processing editor (e.g. LibreOffice)
  5. See 444 is missing in pasted table

repro-4 x

Expected behavior

Each cell should be visible.

Copy Output to Clipboard should filter out search highlights from the dome before storing it in clopboard, but preserve the text.

Context

  • Operating System and version: Linux Ubuntu
  • Browser and version: Chrome 118 and Firefox 117
  • JupyterLab version: 4.0.x
@krassowski krassowski added bug status:Needs Triage Applied to new issues that need triage tag:Regression Behavior that had been broken, was fixed, and is broken again labels Oct 19, 2023
@krassowski krassowski added this to the 4.0.x milestone Oct 19, 2023
@JasonWeill JasonWeill added tag:Search and Replace and removed status:Needs Triage Applied to new issues that need triage labels Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug tag:Regression Behavior that had been broken, was fixed, and is broken again tag:Search and Replace
Projects
None yet
Development

No branches or pull requests

2 participants