humdrum-tools / verovio-humdrum-viewer

Verovio Humdrum Viewer
http://verovio.humdrum.org
36 stars 9 forks source link

refresh page to use filter #878

Open derkveen opened 5 months ago

derkveen commented 5 months ago

When I use

!!!filter: fb -c -l --rate 4

I have to refresh the page in my browser to see it being applied. I'm using Firefox 122.0.1 (64-bits), windows 10 on an imac. Not a big problem, but it would be nicer to have it in the function ;)

craigsapp commented 5 months ago

Strange, I am not getting that problem, but I am getting a related opposite problem: when I add

!!!filter: fb -c -l --rate 4

to the score, I see the figured bass being added

Screenshot 2024-02-07 at 11 41 15

But when I delete the filter, the figure bass remains:

Screenshot 2024-02-07 at 11 41 48

(happening in Firefox and Chrome on MacOS).

craigsapp commented 5 months ago

But sometimes it is behaving: doing the same addition and deletion of filter:

Screenshot 2024-02-07 at 11 45 24
craigsapp commented 5 months ago

Could be related to this error message in Firefox:

Screenshot 2024-02-07 at 11 46 59

But the location of the error is not given (inside wasm javascript is probably the reason). Maybe there is an empty filter being applied internally to verovio, and there is a complaint related to that).

derkveen commented 5 months ago

Yes, my desciption was not accurate: what I meant that

!!!filter: fb -c -l --rate 4 works fine, but when I change the 4 to 2, like

!!!filter: fb -c -l --rate 2 it doesn't work. Seems to correspond with what you are saying.