FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
121 stars 18 forks source link

Beautiful Crash every time when removing a row #2705

Closed ivantodorov78 closed 6 months ago

ivantodorov78 commented 6 months ago

Has your issue been reported?

Current Behavior

Removing a row widget incorrectly puts input text field at the bottom of the tree inside a container instead of as a child of parent component. Attempt to remove the grey container crashes the entire app every time

Expected Behavior

Remove row and text input field remains in column widget.

Steps to Reproduce

see video, you have permission to look at the project. https://us06web.zoom.us/clips/share/Cqu-eAuqdV-y8miFTY1cb2DhuXx65rG-eDIRBwqWAmig7AfgSJpuZ2FT9-xbrw92eoM4nUE8pW1CBs8vqOL1Rdk0.ZqLohC3BLTz_0C04

Reproducible from Blank

Bug Report Code (Required)

IT4wjM/luJNOm7RK1aXqLO9ViicWMjp6ROY00O5uRis9CZDoOu9/ZeCkfhNVOdOmYWlhHFr9rE0Fw6DGheHqGMc4MgWcftlm1c9UeAvyTXq8SpvXPpOWQmhfGfpVGGqs352rhApCIsRZS04F6lOYANnLaBLXCZ+/Zwh9f6PHaOI=

Context

i was optimizing my UI by simplifying the widget tree

Visual documentation

https://us06web.zoom.us/clips/share/Cqu-eAuqdV-y8miFTY1cb2DhuXx65rG-eDIRBwqWAmig7AfgSJpuZ2FT9-xbrw92eoM4nUE8pW1CBs8vqOL1Rdk0.ZqLohC3BLTz_0C04

Additional Info

No response

Environment

- FlutterFlow version: 4.1.39
- Platform: macOS
- Browser name and version:Safari 
- Operating system and version affected: mac
rzambroni commented 6 months ago

Hey @ivantodorov78, i'm taking a look at the issue but i could't find the Row you are referring too in the vid. 😅 (see screenshot)

Where you able delete it?

image.png
ivantodorov78 commented 6 months ago

Yeah I had to work around it by adding a container above the column and it let me properly delete them.


Ivan Todorov | (310) 266-7533 | Calendar ( https://app.hubspot.com/meetings/ivantodorov/30m-1h-2h ) | LinkedIn ( https://www.linkedin.com/in/ivantodorov/ )

On Thu, Apr 11 2024 at 3:44 PM, rzambroni < @.*** > wrote:

Hey @ivantodorov78 ( https://github.com/ivantodorov78 ) , i'm taking a look at the issue but i could't find the Row you are referring too in the vid. 😅 (see screenshot)

Where you able delete it?

image.png ( https://camo.githubusercontent.com/725ee3059b805664f1fff5601b51251f7db2ac93e87b9fd20bc21ae10d80c44d/68747470733a2f2f75706c6f6164732e6c696e6561722e6170702f33323431303839642d373336612d343432322d393030622d3035316537326163636462652f63353336316334612d306466622d343731362d613933302d6239393132653263623937332f33386535643232662d333834312d343331632d623430322d3564376435353731353766393f7369676e61747572653d65794a68624763694f694a49557a49314e694973496e523563434936496b705856434a392e65794a775958526f496a6f694c7a4d794e4445774f446c6b4c54637a4e6d45744e4451794d6930354d4442694c5441314d5755334d6d466a593252695a53396a4e544d324d574d30595330775a475a694c5451334d54597459546b7a4d4331694f546b784d6d5579593249354e7a4d764d7a686c4e5751794d6d59744d7a67304d5330304d7a466a4c5749304d4449744e5751335a4455314e7a45314e3259354969776961574630496a6f784e7a45794f4463314e4463774c434a6c654841694f6a4d7a4d6a677a4e444d314e44637766512e497a514647614d656c4b58355251584b67716f374a67524367664f524d4c695076475869375f7a5a4f545520 )

— Reply to this email directly, view it on GitHub ( https://github.com/FlutterFlow/flutterflow-issues/issues/2705#issuecomment-2050675036 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AEK34UF3IPJGWV7ZNMZEEE3Y44G6LAVCNFSM6AAAAABGC54Q2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGY3TKMBTGY ). You are receiving this because you were mentioned. Message ID: <FlutterFlow/flutterflow-issues/issues/2705/2050675036 @ github. com>

rzambroni commented 6 months ago

That was an odd one for sure. Could you please let us know if you happen to run into it again? will close this for now as we will not be able to replicate it.

Thanks.

ivantodorov78 commented 6 months ago

this happens often to me, seems the page widget gets corrupted with certain action patterns or states. I’ve lost half pages worth of widget tree and had to rebuild multiple times. We can reproduce it by going back to that time snapshot, happy to do it on zoom if you are unable to go back in time without me


Ivan Todorov | (310) 266-7533 | Calendar ( https://app.hubspot.com/meetings/ivantodorov/30m-1h-2h ) | LinkedIn ( https://www.linkedin.com/in/ivantodorov/ )

On Thu, Apr 11 2024 at 3:54 PM, rzambroni < @.*** > wrote:

That was an odd one for sure. Could you please let us know if you happen to run into it again? will close this for now as we will not be able to replicate it.

Thanks.

— Reply to this email directly, view it on GitHub ( https://github.com/FlutterFlow/flutterflow-issues/issues/2705#issuecomment-2050684254 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AEK34UG6IX7XRXNYHJJKN6TY44IEDAVCNFSM6AAAAABGC54Q2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGY4DIMRVGQ ). You are receiving this because you were mentioned. Message ID: <FlutterFlow/flutterflow-issues/issues/2705/2050684254 @ github. com>

rzambroni commented 6 months ago

Ideally, it would be great if you could replicate this in a blank project so we can isolate it from project-specific issues. And we can send that bug report code over to the team to verify it.

ivantodorov78 commented 6 months ago

Hey there,

I found another place this is taking place, I haven't fixed it yet so you guys can take a look at the live project:

Page:

https://app.flutterflow.io/project/lumenosity-app-93r6hh?tab=widgetTree&component=TaskItem

Crashbug Code:

IT4wjM/luJNOm7RK1aXqLO9ViicWMjp6ROY00O5uRis9CZDoOu9+PMykXExvTdO8T0NhHFSjgmMH3Pz9i97mG8A4PSibQIB/yM9idgzNf3q8SpvXPpOWQmhfGfpVGGqs352rhApCIsRZS04F6lOYANnLaBLXCZ+/Zwh9f6PHaOI=

Please keep me posted on what you find, as I mentioned earlier this bug has corrupted my "file" in the past and would be great to eliminate.


Ivan Todorov | (310) 266-7533 | Calendar ( https://app.hubspot.com/meetings/ivantodorov/30m-1h-2h ) | LinkedIn ( https://www.linkedin.com/in/ivantodorov/ )

On Thu, Apr 11, 2024 at 4:10 PM, rzambroni < @.*** > wrote:

Ideally, it would be great if you could replicate this in a blank project so we can isolate it from project-specific issues. And we can send that bug report code over to the team to verify it.

— Reply to this email directly, view it on GitHub ( https://github.com/FlutterFlow/flutterflow-issues/issues/2705#issuecomment-2050697490 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AEK34UB6KMZCBREHDTI4PSDY44J5PAVCNFSM6AAAAABGC54Q2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGY4TONBZGA ). You are receiving this because you were mentioned. Message ID: <FlutterFlow/flutterflow-issues/issues/2705/2050697490 @ github. com>

ivantodorov78 commented 6 months ago

Please also take a look at this as it may be related to the issue we're discussing:

https://us06web.zoom.us/clips/share/dycJjUw4UkqkUs-IqjC_4cfFzZWHifE7c__tMrE2F3hK3setaK19MmLGAHW2CxS2oc0eSVylm4Yk1WxvsZ7lfRk-.aaL4zfvWjNhYcY9y


Ivan Todorov | (310) 266-7533 | Calendar ( https://app.hubspot.com/meetings/ivantodorov/30m-1h-2h ) | LinkedIn ( https://www.linkedin.com/in/ivantodorov/ )

On Thu, Apr 11, 2024 at 7:38 PM, Ivan Todorov < @.*** > wrote:

Hey there,

I found another place this is taking place, I haven't fixed it yet so you guys can take a look at the live project:

Page:

https:/ / app. flutterflow. io/ project/ lumenosity-app-93r6hh?tab=widgetTree&component=TaskItem ( https://app.flutterflow.io/project/lumenosity-app-93r6hh?tab=widgetTree&component=TaskItem )

Crashbug Code:

IT4wjM/luJNOm7RK1aXqLO9ViicWMjp6ROY00O5uRis9CZDoOu9+PMykXExvTdO8T0NhHFSjgmMH3Pz9i97mG8A4PSibQIB/yM9idgzNf3q8SpvXPpOWQmhfGfpVGGqs352rhApCIsRZS04F6lOYANnLaBLXCZ+/Zwh9f6PHaOI=

Please keep me posted on what you find, as I mentioned earlier this bug has corrupted my "file" in the past and would be great to eliminate.


Ivan Todorov | (310) 266-7533 | Calendar ( https://app.hubspot.com/meetings/ivantodorov/30m-1h-2h ) | LinkedIn ( https://www.linkedin.com/in/ivantodorov/ )

On Thu, Apr 11, 2024 at 4:10 PM, rzambroni < notifications@ github. com ( @.*** ) > wrote:

Ideally, it would be great if you could replicate this in a blank project so we can isolate it from project-specific issues. And we can send that bug report code over to the team to verify it.

— Reply to this email directly, view it on GitHub ( https://github.com/FlutterFlow/flutterflow-issues/issues/2705#issuecomment-2050697490 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AEK34UB6KMZCBREHDTI4PSDY44J5PAVCNFSM6AAAAABGC54Q2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGY4TONBZGA ). You are receiving this because you were mentioned. Message ID: <FlutterFlow/flutterflow-issues/issues/2705/2050697490 @ github. com>

rzambroni commented 6 months ago

Hey @ivantodorov78, thanks for the details,

Page:

https://app.flutterflow.io/project/lumenosity-app-93r6hh?tab=widgetTree&component=TaskItem

Crashbug Code:

IT4wjM/luJNOm7RK1aXqLO9ViicWMjp6ROY00O5uRis9CZDoOu9+PMykXExvTdO8T0NhHFSjgmMH3Pz9i97mG8A4PSibQIB/yM9idgzNf3q8SpvXPpOWQmhfGfpVGGqs352rhApCIsRZS04F6lOYANnLaBLXCZ+/Zwh9f6PHaOI=

The link and bug-code are redirecting me to the login and i could not find a component called TaskItem, were you referring to TaskItemDetail?

If that's the case i was able to delete the DetailsRowRow inside the Expanded column, it didn't cause an error.

image.png
ivantodorov78 commented 6 months ago

Hi there, after the issue persisted I ended up rolling back a bit and re-building/cleaning up the widget tree. I think what I'll do next time is clone the component and see if I can preserve a broken tree that way, the challenge has been that I have to keep building and not in a position to leave things in a non-working state, I was secretly hoping that FF has the ability to take a look at an issue from a time snapshot of the project. An you share a bit about what Crashbug code is/does?


Ivan Todorov | (310) 266-7533 | Calendar ( https://app.hubspot.com/meetings/ivantodorov/30m-1h-2h ) | LinkedIn ( https://www.linkedin.com/in/ivantodorov/ )

On Fri, Apr 12, 2024 at 6:09 AM, rzambroni < @.*** > wrote:

Hey @ ivantodorov78 ( https://github.com/ivantodorov78 ) , thanks for the details,

Page:

https:/ / app. flutterflow. io/ project/ lumenosity-app-93r6hh?tab=widgetTree&component=TaskItem ( https://app.flutterflow.io/project/lumenosity-app-93r6hh?tab=widgetTree&component=TaskItem )

Crashbug Code:

IT4wjM/luJNOm7RK1aXqLO9ViicWMjp6ROY00O5uRis9CZDoOu9+PMykXExvTdO8T0NhHFSjgmMH3Pz9i97mG8A4PSibQIB/yM9idgzNf3q8SpvXPpOWQmhfGfpVGGqs352rhApCIsRZS04F6lOYANnLaBLXCZ+/Zwh9f6PHaOI=

The link and bug-code are redirecting me to the login and i could not find a component called TaskItem, were you referring to TaskItemDetail?

If that's the case i was able to delete the DetailsRowRow inside the Expanded column, it didn't an error.

image.png ( https://camo.githubusercontent.com/408429277f1701784c8fe8d5489e2116c608eec921fda43deb7db0dbc9f08590/68747470733a2f2f75706c6f6164732e6c696e6561722e6170702f33323431303839642d373336612d343432322d393030622d3035316537326163636462652f32393461386633382d386235332d343463372d393538662d3339643035613832616433372f36373532663562352d383232622d343064342d616631632d3964646166636235396561353f7369676e61747572653d65794a68624763694f694a49557a49314e694973496e523563434936496b705856434a392e65794a775958526f496a6f694c7a4d794e4445774f446c6b4c54637a4e6d45744e4451794d6930354d4442694c5441314d5755334d6d466a593252695a5338794f5452684f47597a4f433034596a557a4c545130597a63744f5455345a69307a4f5751774e5745344d6d466b4d7a63764e6a63314d6d5931596a55744f444979596930304d4751304c57466d4d574d744f57526b59575a6a596a55355a5745314969776961574630496a6f784e7a45794f5449334d7a55354c434a6c654841694f6a4d7a4d6a677a4e4467334d7a553566512e2d52475975464e7247454e4675416e414e4d514d31344a49384338677a555f644935385a586b526249444120 )

— Reply to this email directly, view it on GitHub ( https://github.com/FlutterFlow/flutterflow-issues/issues/2705#issuecomment-2051732276 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AEK34UFM46JWHBWFZDQC2IDY47MJLAVCNFSM6AAAAABGC54Q2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRG4ZTEMRXGY ). You are receiving this because you were mentioned. Message ID: <FlutterFlow/flutterflow-issues/issues/2705/2051732276 @ github. com>

leighajarett commented 6 months ago

Bug report code just tells us your project ID and the unique identifier of the widget

ivantodorov78 commented 6 months ago

Hi, me again,

Take a look at this video, when I try to wrap the TokenBalance text field in a Container, it remove my TokenBalance Text from the widget tree. It appears the removal is visual only, when I reload the app it's still there.

https://us06web.zoom.us/clips/share/jFvSCqB31LFY9kx3EJuVqh7rmu-5NlxptAmJxA6rX8jSqD5Q3w9ZVjQ6gdmHignER0dNYBs_pUHnyclbybKwDUcK.-NiRg10bwCAsWEns

Then I also found this bug, whenever I come back form a walkthrough, the FlutterFlow stage gets the grey box:

Take a look:

https://us06web.zoom.us/clips/share/vX0Iwf7H-Yc9g5o0V0SGDiX0oQ_6eQ0eBndM9oqDhfBOx_0eUgtLoYwgVzfHaTa6fm5jfF7LH6UFOX-lWz__wntq.aEnYDD6PRdqMXEl2


Ivan Todorov | (310) 266-7533 | Calendar ( https://app.hubspot.com/meetings/ivantodorov/30m-1h-2h ) | LinkedIn ( https://www.linkedin.com/in/ivantodorov/ )

On Fri, Apr 12, 2024 at 7:23 AM, Leigha Jarett < @.*** > wrote:

Bug report code just tells us your project ID and the unique identifier of the widget

— Reply to this email directly, view it on GitHub ( https://github.com/FlutterFlow/flutterflow-issues/issues/2705#issuecomment-2051860883 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AEK34UAS5KIWIOGUYWBMXT3Y47U6HAVCNFSM6AAAAABGC54Q2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRHA3DAOBYGM ). You are receiving this because you were mentioned. Message ID: <FlutterFlow/flutterflow-issues/issues/2705/2051860883 @ github. com>

leighajarett commented 6 months ago

Hi there, sorry but we are unable to reproduce this bug from a blank project. Can you please reach out to our support team? They can help troubleshoot project-specific errors.

Thanks so much and sorry you're running into these issues!