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 (for issue #3347) that node selection gets forgotten when switching between proofs #3349

Merged
merged 6 commits into from
Nov 21, 2023

Conversation

unp1
Copy link
Member

@unp1 unp1 commented Nov 13, 2023

No description provided.

@unp1 unp1 self-assigned this Nov 13, 2023
@unp1 unp1 enabled auto-merge November 13, 2023 19:08
Copy link

codecov bot commented Nov 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2d9f36c) 37.94% compared to head (83e97af) 37.92%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3349      +/-   ##
============================================
- Coverage     37.94%   37.92%   -0.02%     
+ Complexity    17001    16994       -7     
============================================
  Files          2059     2059              
  Lines        125973   125973              
  Branches      21273    21273              
============================================
- Hits          47797    47772      -25     
- Misses        72293    72317      +24     
- Partials       5883     5884       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@FliegendeWurst FliegendeWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still broken, but now it only updates the sequent view to show a closed goal, and not the proof tree.

FWIW I fully expected these regressions when I originally made changes to the selection event handling in #3289. This area of KeY is extremely fragile.

@unp1
Copy link
Member Author

unp1 commented Nov 13, 2023

Thanks. I hope the latest fix works now reliable.

Copy link
Member

@FliegendeWurst FliegendeWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue is fixed. Code changes look good. But it is hard to check that all the removed setSelectedProof calls etc. were really not needed.

@FliegendeWurst FliegendeWurst added this to the v2.14.0 milestone Nov 13, 2023
@Drodt Drodt linked an issue Nov 14, 2023 that may be closed by this pull request
@unp1 unp1 added the 🐞 Bug label Nov 14, 2023
@unp1 unp1 added this pull request to the merge queue Nov 21, 2023
Merged via the queue into main with commit d5b0917 Nov 21, 2023
14 checks passed
@unp1 unp1 deleted the fixIssue3347 branch November 21, 2023 11:56
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.

Switching proofs resets selection
3 participants