ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.7k stars 817 forks source link

Scrolling text doesn't work on Nobel Prize ECG game #4217

Closed hansmehlin closed 3 years ago

hansmehlin commented 3 years ago

Hello!

On the Nobel Prize ECG game at https://educationalgames.nobelprize.org/educational/medicine/ecg-ruffle/ecg.html some text areas with scrollable text at the bottom of the screen doesn't work. It is not possible to scroll and read the complete text.

SWF file at https://educationalgames.nobelprize.org/educational/medicine/ecg-ruffle/ekg.swf

Original Flash version at https://educationalgames.nobelprize.org/educational/medicine/ecg/ecg.html

Running ruffle-nightly-2021_04_29-web-selfhosted and tested of several clients.

ecg

Hans

danielhjacobs commented 3 years ago

I'm fairly sure this is due to #1033. It's a problem on some sites I maintain as well.

Edit: In case anyone's curious, the sites are:

1) http://www.dnai.org/timeline/index.html - Issue on many biographies, but the easiest reproduction steps are if you click 1950-54, hover your mouse over the right side of the animation so it scrolls, and then click the image of Francis Crick, you'll see a biography that gets cut off and cannot be scrolled due to a non-functional scrollbar.

2) http://www.insidecancer.org/ - If you click "Causes and Prevention", then "3", then "→", you'll see a legend that also gets cut off and cannot be scrolled due to a non-functional scrollbar. Also, there are up and down arrows on transcripts next to the videos on other slides (which themselves don't work due to lack of codec support, though they produce sound) that I believe are likely also using scroll properties, as they do not work either.

JeremyLyokoPPG2020 commented 3 years ago

Ultrasounds Scrollbar Not work fix please?

sombraguerrero commented 3 years ago

Ultrasounds Scrollbar Not work fix please?

Agreed. #4827 almost fixed the scrollbars here, but there seems to be a case where, if the length delta is not large enough, the text pane still won't move. So in this example, it works perfectly now on the Gallery page, but not on the About page.

midgleyc commented 3 years ago

Filed #4847 for the Ultrasounds thing. It's not related to #4827: that fixes the case where the text is assigned to a textbox after creation. In Ultrasounds, the textbox already has the text.