Skip to content

After updated to 1.8.1, the cursor sometimes misaligned with notes. #2546

Description

@louislam

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Sometimes the cursor misaligned with notes.

PS: GitHub muted video by default, unmuting may be able to sense the issue easier.

1.8.1miss-align.mp4

Expected Behavior

It was fine in 1.6.X, 1.7.X, 1.8.0. The cursor should always aligned to notes.

1.8.0.mp4

Steps To Reproduce

Update: I have setup an instance, in case you don't want to install deno, see #2546 (comment)

I think my AlphaTab is heavily modified, so I think the best way to reproduce is directly using my project.

git clone https://github.com/louislam/its-mytabs
cd its-mytabs
git checkout dev-alphatab181
deno task setup
deno task start

For reference, you can switch back to AlphaTab 1.8.0 (master branch) for comparison:

git checkout master
deno task setup
deno task start

Also here is the bass tab Guitar Pro file:
https://github.com/louislam/its-mytabs/blob/master/extra/demo-tab.gp

Link to jsFiddle, CodePen, Project

https://github.com/louislam/its-mytabs

Version and Environment

OS: Windows 11
Tested on Chrome and Firefox

[AlphaTab][VersionInfo] alphaTab 1.8.1 alphaTab-4zmP5fZN.js:1:11392
[AlphaTab][VersionInfo] commit: 8a2102fe7ee7dcf4b50c3a4198fbb8c0d5c0fda3 alphaTab-4zmP5fZN.js:1:11392
[AlphaTab][VersionInfo] build date: 2026-02-01T19:53:46.853Z alphaTab-4zmP5fZN.js:1:11392
[AlphaTab][VersionInfo] High DPI: 1.25 alphaTab-4zmP5fZN.js:1:11392
[AlphaTab][VersionInfo] Platform: BrowserModule alphaTab-4zmP5fZN.js:1:11392
[AlphaTab][VersionInfo] WebPack: false alphaTab-4zmP5fZN.js:1:11392
[AlphaTab][VersionInfo] Vite: false alphaTab-4zmP5fZN.js:1:11392
[AlphaTab][VersionInfo] Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0 alphaTab-4zmP5fZN.js:1:11392
[AlphaTab][VersionInfo] Window Size: 2062x1118 alphaTab-4zmP5fZN.js:1:11392
[AlphaTab][VersionInfo] Screen Size: 2048x1152

Platform

Web

Anything else?

I suspected it is related to this #2536

Metadata

Metadata

Assignees

Type

Fields

Priority

None yet

Effort

None yet

Area

None yet

Platform

None yet

Work State

None yet

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions