helge17 / tuxguitar

Improve TuxGuitar and provide builds
Other
303 stars 29 forks source link

Timing of the silence not refreshed #439

Open Shine753 opened 4 days ago

Shine753 commented 4 days ago

Using TuxGuitar 1.6.3 When you select a note, the timing of the note is displayed. When selecting a silence, the timing remains the same and is not refreshed. bug

guiv42 commented 3 days ago

I'm adding a tag "enhancement" here, and not "bug": just reading the code, the observed behaviour is clearly intentional. When clicking on a beat, Caret duration is only updated if it's not a rest beat: https://github.com/helge17/tuxguitar/blob/149af1041502c02ee922d613fbca62441ca3103c/desktop/TuxGuitar/src/org/herac/tuxguitar/app/view/component/tab/Caret.java#L262

Need to understand why before trying any modification