Commit ebcc37d
The modern editor's entries ListView hits a WinUI 3 raster clip-escape bug
(upstream microsoft-ui-xaml#11225): once content extent passes ~2^21 DIPs the
renderer stops clipping bottom-edge rows and they paint over the status bar.
The previous mitigation was an opaque backplate behind the status bar
(StatusBackplateThreshold/StatusBackplateVisibility + a Border) that merely
occluded the strays — cosmetic, and it dropped the true-Mica look on large files.
Two responders on the upstream issue proposed a cleaner fix: give the ListView
any non-zero CornerRadius, which forces a composition geometry clip on its
content and re-establishes the bottom clip. CornerRadius="0.1" is visually
indistinguishable from square and actually keeps rows inside the control, so it
works with the transparent Mica band and no backplate is needed.
- Add CornerRadius="0.1" to EntriesList.
- Remove StatusBackplateThreshold, StatusBackplateVisibility, the backplate
Border, and the two OnPropertyChanged(nameof(StatusBackplateVisibility)) calls.
- Update the surrounding comments.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 60e8dcf commit ebcc37d
2 files changed
Lines changed: 16 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
354 | 363 | | |
355 | 364 | | |
356 | 365 | | |
| 366 | + | |
357 | 367 | | |
358 | 368 | | |
359 | 369 | | |
| |||
470 | 480 | | |
471 | 481 | | |
472 | 482 | | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
487 | 488 | | |
488 | | - | |
489 | | - | |
490 | 489 | | |
491 | 490 | | |
492 | 491 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | 181 | | |
198 | 182 | | |
199 | 183 | | |
| |||
531 | 515 | | |
532 | 516 | | |
533 | 517 | | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | 518 | | |
539 | 519 | | |
540 | 520 | | |
| |||
782 | 762 | | |
783 | 763 | | |
784 | 764 | | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
| 765 | + | |
793 | 766 | | |
794 | 767 | | |
795 | 768 | | |
| |||
0 commit comments