Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues on https://new.weedtowonder.org/domestication.html #10175

Open
danielhjacobs opened this issue Mar 17, 2023 · 3 comments
Open

Issues on https://new.weedtowonder.org/domestication.html #10175

danielhjacobs opened this issue Mar 17, 2023 · 3 comments
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working flex Issues relating to Adobe Flex text Issues relating to text rendering/input tlf Issues relating to TLF text rendering or the TLF APIs in AVM2 unimplemented Issues for functionality that hasn't been implemented yet

Comments

@danielhjacobs
Copy link
Contributor

danielhjacobs commented Mar 17, 2023

Describe the bug

Last edited July 3, 2024:

I will list the issue that does not also apply to #10173. Though it's worth noting the remaining issues from there also apply here:

When clicking the number 3 on the left side, the page slows down as the following error prints to the console repeatedly:

ERROR core/src/avm2/events.rs:424 Error dispatching event EventObject(EventObject { type: "frameConstructed", class: flash.events::Event, ptr: 0x2bacae8 }) to handler FunctionObject(FunctionObject { ptr: 0x381de10 }) : TypeError: Error #1009: Cannot access a property or method of a null object reference. (accessing field: length)
	at flashx.textLayout.elements::ParagraphElement/getText()
	at flashx.textLayout.container::TextContainerManager/getText()
	at fl.text::SingleTextContainerManager/get textLength()
	at fl.text::TLFTextField/setSelection()
	at fl.text::TLFTextField/doTypeSet()
	at fl.text::TLFTextField/set selectable()
	at fl.text::RuntimeManager/configureInstance()
	at fl.text::RuntimeManager/getInstanceForInfo()
	at fl.timeline::TimelineManager/getInstanceForInfoWithXns()
	at fl.timeline::TimelineManager/getInstance()
	at fl.motion::AnimatorBase/play()
	at fl.motion::AnimatorBase$/processCurrentFrame()
	at fl.motion::AnimatorBase/handleEnterFrame()

Expected behavior

No errors should occur when clicking that page.

Affected platform

Browser's extension

Operating system

Windows 11

Browser

Google Chrome 126

Additional information

This is an AVM2 Flex animation. See also #8006 and #10173.

@danielhjacobs danielhjacobs added the bug Something isn't working label Mar 17, 2023
@n0samu n0samu added A-avm2 Area: AVM2 (ActionScript 3) flex Issues relating to Adobe Flex labels Mar 17, 2023
@Lord-McSweeney Lord-McSweeney added unimplemented Issues for functionality that hasn't been implemented yet xml labels Mar 17, 2023
@Lord-McSweeney
Copy link
Collaborator

Issue 2.3 (iii) has been stubbed.

@Lord-McSweeney
Copy link
Collaborator

Lord-McSweeney commented Sep 23, 2023

The getFirstLeaf error was improved by #13214 and #13179.

@Lord-McSweeney Lord-McSweeney added text Issues relating to text rendering/input and removed xml labels Sep 23, 2023
@Lord-McSweeney Lord-McSweeney added the tlf Issues relating to TLF text rendering or the TLF APIs in AVM2 label Nov 13, 2023
@danielhjacobs
Copy link
Contributor Author

danielhjacobs commented Nov 15, 2023

The getFirstLeaf error appears to have at some point been fixed. The first video is now loading like all the others, though it is taking an abnormally long amount of time to first load.

That means the only unique errors left from this issue that don't also affect #10173 are mixed AVM and another TLF error. As noted, the mixed AVM PR fixed the original first error in testing, but the animations become layered as they never unload.

@danielhjacobs danielhjacobs changed the title Issues on http://new.weedtowonder.org/domestication.html Issues on https://new.weedtowonder.org/domestication.html Jan 26, 2024
@Lord-McSweeney Lord-McSweeney removed the mixed-avm Mixing AVM1 and AVM2 label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working flex Issues relating to Adobe Flex text Issues relating to text rendering/input tlf Issues relating to TLF text rendering or the TLF APIs in AVM2 unimplemented Issues for functionality that hasn't been implemented yet
Projects
None yet
Development

No branches or pull requests

3 participants