cubing.js icon indicating copy to clipboard operation
cubing.js copied to clipboard

[Twizzle issue] Twizzle Editor indexing incorrect for certain long inversions

Open DougCube opened this issue 11 months ago • 2 comments

Steps to reproduce the issue

These long inversions don't work properly. There seems to be a lot wrong with the move indexing. Using the playback buttons helps it reset to correct position sometimes, but VERY buggy behavior.

Setup: R' U' F R' F2 B2 U L2 U2 D' B2 D R2 D2 L F R2 L2 F2 D2 B D B R' U' F

(R' U' F R' F2 B2 U L2 U2 D' B2 D R2 D2 L F R2 L2 F2 D2 B D B R' U' F)'
(F B' R F L)' // 2x2x2 on UFL on inverse scramble
(R' U' F R' F2 B2 U L2 U2 D' B2 D R2 D2 L F R2 L2 F2 D2 B D B R' U' F)

Observed behaviour

https://alpha.twizzle.net/edit/?setup-alg=R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F&alg=%28R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F%29%27%0A%28F+B%27+R+F+L%29%27+%2F%2F+2x2x2+on+UFL+on+inverse+scramble%0A%28R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F%29

🖼 Screenshots

My cursor is placed at the end but the highlighted move is different. Index is not updating properly. Image

Expected behaviour

https://alpha.twizzle.net/edit/?setup-alg=%28F+B%27+R+F+L%29%27+%28R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F%29

Browser & operating system

Chrome 132.0.6834.111 on Windows 10 Pro

Additional info

No response

DougCube avatar Feb 14 '25 22:02 DougCube

Simple case:

https://alpha.twizzle.net/edit/?alg=%28U+F+R+D+B+L%29%27

Clicking on a move actually moves the highlight to the move at the other end.

-tom

On Fri, Feb 14, 2025 at 2:02 PM DougCube @.***> wrote:

Steps to reproduce the issue

These long inversions don't work properly. There seems to be a lot wrong with the move indexing. Using the playback buttons helps it reset to correct position sometimes, but VERY buggy behavior.

Setup: R' U' F R' F2 B2 U L2 U2 D' B2 D R2 D2 L F R2 L2 F2 D2 B D B R' U' F

(R' U' F R' F2 B2 U L2 U2 D' B2 D R2 D2 L F R2 L2 F2 D2 B D B R' U' F)' (F B' R F L)' // 2x2x2 on UFL on inverse scramble (R' U' F R' F2 B2 U L2 U2 D' B2 D R2 D2 L F R2 L2 F2 D2 B D B R' U' F)

Observed behaviour

https://alpha.twizzle.net/edit/?setup-alg=R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F&alg=%28R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F%29%27%0A%28F+B%27+R+F+L%29%27+%2F%2F+2x2x2+on+UFL+on+inverse+scramble%0A%28R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F%29 🖼 Screenshots

My cursor is placed at the end but the highlighted move is different. Index is not updating properly. image.png (view on web) https://github.com/user-attachments/assets/0e98fbe6-d3b1-4a65-986f-0f9ccf99aa6d Expected behaviour

https://alpha.twizzle.net/edit/?setup-alg=%28F+B%27+R+F+L%29%27+%28R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F%29 Browser & operating system

Chrome 132.0.6834.111 on Windows 10 Pro Additional info

No response

— Reply to this email directly, view it on GitHub https://github.com/cubing/cubing.js/issues/368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMOLS6SBC2TP7VCQQMFLZL2PZRVXAVCNFSM6AAAAABXFQ7VB2VHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2TINZXGYZTKNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***> [image: DougCube]DougCube created an issue (cubing/cubing.js#368) https://github.com/cubing/cubing.js/issues/368 Steps to reproduce the issue

These long inversions don't work properly. There seems to be a lot wrong with the move indexing. Using the playback buttons helps it reset to correct position sometimes, but VERY buggy behavior.

Setup: R' U' F R' F2 B2 U L2 U2 D' B2 D R2 D2 L F R2 L2 F2 D2 B D B R' U' F

(R' U' F R' F2 B2 U L2 U2 D' B2 D R2 D2 L F R2 L2 F2 D2 B D B R' U' F)' (F B' R F L)' // 2x2x2 on UFL on inverse scramble (R' U' F R' F2 B2 U L2 U2 D' B2 D R2 D2 L F R2 L2 F2 D2 B D B R' U' F)

Observed behaviour

https://alpha.twizzle.net/edit/?setup-alg=R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F&alg=%28R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F%29%27%0A%28F+B%27+R+F+L%29%27+%2F%2F+2x2x2+on+UFL+on+inverse+scramble%0A%28R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F%29 🖼 Screenshots

My cursor is placed at the end but the highlighted move is different. Index is not updating properly. image.png (view on web) https://github.com/user-attachments/assets/0e98fbe6-d3b1-4a65-986f-0f9ccf99aa6d Expected behaviour

https://alpha.twizzle.net/edit/?setup-alg=%28F+B%27+R+F+L%29%27+%28R%27+U%27+F+R%27+F2+B2+U+L2+U2+D%27+B2+D+R2+D2+L+F+R2+L2+F2+D2+B+D+B+R%27+U%27+F%29 Browser & operating system

Chrome 132.0.6834.111 on Windows 10 Pro Additional info

No response

— Reply to this email directly, view it on GitHub https://github.com/cubing/cubing.js/issues/368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMOLS6SBC2TP7VCQQMFLZL2PZRVXAVCNFSM6AAAAABXFQ7VB2VHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2TINZXGYZTKNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

rokicki avatar Feb 14 '25 22:02 rokicki

Yep, definitely an issue. Thanks for cataloguing these, I'm going to start a label specifically for <twisty-alg-editor> and <twisty-alg-viewer> indexing issues.

lgarron avatar Feb 15 '25 04:02 lgarron