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

Lisp exception when deleting a line: repaint-inferiors-pass-2-sr: adjusting items that should have been handled in pass-1 #107

Open
rigdern opened this issue Jul 18, 2024 · 1 comment
Labels

Comments

@rigdern
Copy link

rigdern commented Jul 18, 2024

Repro steps

I reproed this with Boxer 3.4.19 2024-06-24.

  1. Download, unzip, and open layout exception repro.box.zip
  2. Delete the line labeled "b" (so that the box is reduced from 3 lines to 2 lines)

Unexpected result: A Common Lisp exception is thrown:

Lisp Error:repaint-inferiors-pass-2-sr adjusting items that should have been handled in pass-1
  inf-screen-obj: #<screen-box 1 >
  (screen-obj-x-offset inf-screen-obj): 4
                          inf-x-offset: 5
  (screen-obj-y-offset inf-screen-obj): 0
                          inf-y-offset: 0 

I'm not sure how I created this box that reproduces the issue. I started hitting this issue in a more complicated project and was able to simplify it down to the repro I've shared here.

@sgithens
Copy link
Member

I've changed this from an error form to a log:error form so any issues get logged, but it doesn't crash. So far, on reproducable instances I've seen of this, it's usually a small desprepency, like a pixel or so based on the font styling calculations.
This will be included in 3.4.22. Thanks for this very reproducable test case @rigdern

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

No branches or pull requests

2 participants