vaadin / vaadin/spreadsheet

Copying a cell value to multiple cells does not work

Open
#657 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
50
Forks
53
Avg merge
1d 21h
Merged PRs (30d)
1

Description

When I try to copy a cell value and paste it in a region selected. Then the cell value is copied only in first cell.
The behavior is inconsistent with the Microsoft spreadsheet's most common copy+paste behavior where we try to bulk update multiple cells.

Steps to reproduce

Set a cell value "ABC" in any one cell.
Copy the cell using CTRL+C
Select a region in spreadsheet where selection highlights multiple cells.
Paste the cell value using CTRL+V

Expected: All cells which are highlighted in selection should have the new value
Actual: Only first cell from the selected region is getting the new value.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Ctrl+C/Ctrl+V steps described in the issue with a single source cell and a multi-cell selection. Trace the spreadsheet's copy-and-paste handling and add coverage for the selected region; done means the value appears in every highlighted cell rather than only the first.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.