BoltBait/CodeLab

Line Number Rendering Issue

Closed this issue · 7 comments

Line numbers do not render correctly, then are cut off by the window.

CodeLab v6.8
Paint.Net v5.0.9

2023-09-11_050954

My settings:
2023-09-11_051310

Same for me
image

I haven't been able to reproduce this.
Is there a specific scenario where this happens?

Doesn't seem to be any special scenario, just load up CodeLab and enable line numbers

Is it perhaps a high-DPI issue? I'm at 1.5x / 144 DPI

Hmm, now it's working correctly

Maybe it doesn't do the layout correctly until you close and restart CodeLab?

image

Yeah that seems to cause it.

  1. Open up CodeLab without line numbers enabled
  2. Enable line numbers, notice how it renders wrong
  3. Close CodeLab
  4. Open CodeLab again. Notice how it renders correctly

Yep, you can easily replicate this by disabling line numbers, closing CodeLab, re opening it and re enabling line numbers.

I've always wanted to contribute back to Paint.Net, this may have been a minor bug fix but I'm glad I reported it.