twosigma / twosigma/beakerx

Clipboard Copy Off-by-one Column in BeakerX table

Open
#8,166 3 comments 0 reactions 1 assignee Claimed by @LeeTZ View on GitHub
Dominant language
Jupyter Notebook
Stars
2.9k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

Using the Groovy kernel I make a table like this:

```groovy
[
[foo: 1, bar:2],
[foo: 10, bar:20]
] * 5
```
This displays like so:

![image](https://user-images.githubusercontent.com/138868/68106673-75babd00-ff36-11e9-839d-2b0b9270afac.png)

I then select some values from the `foo` column and choose "Copy" from the menu:

![image](https://user-images.githubusercontent.com/138868/68106728-a569c500-ff36-11e9-84eb-4a670deb0d64.png)

Choosing Copy:

![image](https://user-images.githubusercontent.com/138868/68106745-b0245a00-ff36-11e9-9ad3-3e67f4b0a713.png)

Then I paste the values into the next cell - but only empty values are pasted:

![image](https://user-images.githubusercontent.com/138868/68106818-ecf05100-ff36-11e9-8262-1c9e36ef22e9.png)

However if I also select the column to the left:

![image](https://user-images.githubusercontent.com/138868/68106851-0beee300-ff37-11e9-84af-7e4222b295a1.png)

Then it pastes the values I wanted originally:

![image](https://user-images.githubusercontent.com/138868/68106894-27f28480-ff37-11e9-891e-a4ae4cf19141.png)

The same behavior happens for the `bar` column. To copy the values from `bar` I have to also select the values from `foo`, which then copies only the `bar` column and not `foo` and `bar`.

Expected behaviour: the column I select should be copied when only that column is selected.

I am using Chrome with a checkout and build from master (commit #774fa4)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.