-
Notifications
You must be signed in to change notification settings - Fork 32
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
[FW][FIX] edition: do not reset selection when range selecting on differe… #1372
Closed
fw-bot
wants to merge
1
commit into
saas-15.3
from
saas-15.3-15.0-fix-cell-reset-on-composition-rar-kRVW-fw
Closed
[FW][FIX] edition: do not reset selection when range selecting on differe… #1372
fw-bot
wants to merge
1
commit into
saas-15.3
from
saas-15.3-15.0-fix-cell-reset-on-composition-rar-kRVW-fw
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 tasks
Ping @rrahir, @pro-odoo cherrypicking of pull request #1369 failed. stderr:
Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?). In the former case, you may want to edit this PR message as well. |
rrahir
force-pushed
the
saas-15.3-15.0-fix-cell-reset-on-composition-rar-kRVW-fw
branch
from
May 20, 2022 10:18
748d5df
to
f8a7d37
Compare
LucasLefevre
approved these changes
May 20, 2022
…nt sheet When starting a ranger selection in the composer, we would systematically reset the selection anchor to the cell that we were editing in the first place. This behaviour is required when a user edits a formula and wants to select some ranges by moving the position with their keyboard. e.g. User wants to sum several range together - they start editing cell A1 select a first cell anywhere on the grid, input a comma to add another zone, hit ArrowDown, it should select A2. Unfortunately, when selecting a range on another sheet, this behaviour does not make sense anymore since there is no guarantee that the anchor coordinates of the edited cell existes on another sheet. e.g. Edit on A1000 sheet 1 with 1000 rows, then move to sheet 2 with 10 rows, When selecting several ranges for a formula, you cannot be 'moved' to A1000 since it doesn't exist. To solve this, we choose to prevent the reset of the anchor when the current sheet differs from the sheet of the edited cell. task 2859417 X-original-commit: cdd61a0
rrahir
force-pushed
the
saas-15.3-15.0-fix-cell-reset-on-composition-rar-kRVW-fw
branch
from
May 20, 2022 12:09
f8a7d37
to
83fe0d6
Compare
@robodoo r+ |
robodoo
pushed a commit
that referenced
this pull request
May 20, 2022
…nt sheet When starting a ranger selection in the composer, we would systematically reset the selection anchor to the cell that we were editing in the first place. This behaviour is required when a user edits a formula and wants to select some ranges by moving the position with their keyboard. e.g. User wants to sum several range together - they start editing cell A1 select a first cell anywhere on the grid, input a comma to add another zone, hit ArrowDown, it should select A2. Unfortunately, when selecting a range on another sheet, this behaviour does not make sense anymore since there is no guarantee that the anchor coordinates of the edited cell existes on another sheet. e.g. Edit on A1000 sheet 1 with 1000 rows, then move to sheet 2 with 10 rows, When selecting several ranges for a formula, you cannot be 'moved' to A1000 since it doesn't exist. To solve this, we choose to prevent the reset of the anchor when the current sheet differs from the sheet of the edited cell. task 2859417 closes #1372 X-original-commit: cdd61a0 Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com> Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
14 tasks
fw-bot
deleted the
saas-15.3-15.0-fix-cell-reset-on-composition-rar-kRVW-fw
branch
June 3, 2022 12:47
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…nt sheet
When starting a ranger selection in the composer, we would
systematically reset the selection anchor to the cell that we were
editing in the first place. This behaviour is required when a user edits
a formula and wants to select some ranges by moving the position with
their keyboard.
e.g. User wants to sum several range together -
they start editing cell A1
select a first cell anywhere on the grid,
input a comma to add another zone,
hit ArrowDown,
it should select A2.
Unfortunately, when selecting a range on another sheet, this behaviour
does not make sense anymore since there is no guarantee that the anchor
coordinates of the edited cell existes on another sheet.
e.g. Edit on A1000 sheet 1 with 1000 rows, then move to sheet 2 with 10
rows, When selecting several ranges for a formula, you cannot be 'moved'
to A1000 since it doesn't exist.
To solve this, we choose to prevent the reset of the anchor when the
current sheet differs from the sheet of the edited cell.
task 2859417
Description:
description of this task, what is implemented and why it is implemented that way.
Odoo task ID : TASK_ID
review checklist
Forward-Port-Of: #1369