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

fix: update formula bar after the other executions are done #6208

Merged

Conversation

ugur-vaadin
Copy link
Contributor

@ugur-vaadin ugur-vaadin commented Apr 16, 2024

Description

This PR defers the update of the formula bar so that all the calculations are done beforehand. This fixes the case where the formula bar displays the number using the wrong locale when the cell is selected using the address field. This also applies for the case changing sheet after setting the value and returning to the sheet.

Partially fixes #5731

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/contributing/overview
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

Copy link

sonarcloud bot commented Apr 16, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@yuriy-fix
Copy link
Contributor

@ugur-vaadin , would you like to proceed with this PR in the future and open it for the review?

@ugur-vaadin
Copy link
Contributor Author

I can revisit this one during the upcoming CF and see what remains to be done

@ugur-vaadin ugur-vaadin force-pushed the fix-update-formula-bar-after-the-other-executions-are-done branch from d9878ed to 3b6e190 Compare September 6, 2024 10:00
@ugur-vaadin ugur-vaadin marked this pull request as ready for review September 6, 2024 11:26
@ugur-vaadin ugur-vaadin force-pushed the fix-update-formula-bar-after-the-other-executions-are-done branch from 3b6e190 to 2644485 Compare September 10, 2024 09:18
@ugur-vaadin ugur-vaadin force-pushed the fix-update-formula-bar-after-the-other-executions-are-done branch from 2644485 to 1aea1d0 Compare September 11, 2024 06:50
@ugur-vaadin ugur-vaadin enabled auto-merge (squash) September 11, 2024 06:50
@ugur-vaadin ugur-vaadin removed the request for review from vursen September 11, 2024 06:51
Copy link

sonarcloud bot commented Sep 11, 2024

@ugur-vaadin ugur-vaadin merged commit 673b949 into main Sep 11, 2024
5 checks passed
@ugur-vaadin ugur-vaadin deleted the fix-update-formula-bar-after-the-other-executions-are-done branch September 11, 2024 07:17
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.5.0.alpha17 and is also targeting the upcoming stable 24.5.0 version.

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

Successfully merging this pull request may close these issues.

Spreadsheet: Incorrect number formatting in formula - locale and precision is lost
4 participants