GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(timeline): guard minimap density against fractional display width (#863) v1.20.1 by lukecotter · Pull Request #864 · certinia/debug-log-analyzer

Conversation

@lukecotter

@lukecotter lukecotter commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

📝 PR Overview

Backport of the #863 fix to the 1.20.1 patch release line. The Timeline failed to load on Windows under fractional display scaling; this makes it robust.

🛠️ Changes made

  • Floor/normalise the minimap density bucket count at the single MinimapDensityQuery.query() entry point, so a fractional or NaN display width (from getBoundingClientRect() under non-integer DPI) can no longer throw RangeError: Invalid array length and abort timeline init.
  • Bump lana to 1.20.1 and add the ## [1.20.1] changelog entry.

🧩 Type of change (check all applicable)

  • 🐛 Bug fix - something not working as expected

🔗 Related Issues

related #863

✅ Tests added?

  • 👍 yes — fractional / NaN bucket-count regression tests in minimap-density.test.ts.

📚 Docs updated?

  • 🔖 CHANGELOG.md

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
lukecotter added 2 commits July 22, 2026 23:39
@lukecotter
fix(timeline): guard minimap density against fractional display width (…
d3c4cc5
…certinia#863)

Windows fractional display scaling (125/150/175%) makes getBoundingClientRect().width non-integer; passing it to MinimapDensityQuery as a bucket count threw "Invalid array length" and aborted timeline init before interaction handlers attached, so zoom/pan/keys all appeared dead. Floor the count at the single query() entry point. Bump 1.20.1.
@lukecotter
docs: update changelog 1.20.1 date
ceb3615
@lcottercertinia lcottercertinia changed the title fix(timeline): guard minimap density against fractional display width (#863) fix(timeline): guard minimap density against fractional display width (#863) v1.20.1 Jul 23, 2026
lcottercertinia
lcottercertinia approved these changes Jul 23, 2026
View reviewed changes
@lukecotter lukecotter closed this Jul 23, 2026
@lukecotter lukecotter reopened this Jul 23, 2026
lcottercertinia
lcottercertinia approved these changes Jul 23, 2026
View reviewed changes
@lcottercertinia
lcottercertinia merged commit 14b6fc3 into certinia:release/1.20.1 Jul 23, 2026
5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@lukecotter
lukecotter deleted the bug-853-density-scaling-1.20.1 branch July 23, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@lcottercertinia lcottercertinia lcottercertinia approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@lukecotter @lcottercertinia
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.