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

Android GodotFragment monopolizes UI #11757

Open
WouterVandenputte opened this issue Feb 12, 2025 · 2 comments
Open

Android GodotFragment monopolizes UI #11757

WouterVandenputte opened this issue Feb 12, 2025 · 2 comments

Comments

@WouterVandenputte
Copy link

Describe the project you are working on

a 3D embedded view in a native Flutter application (Android only for now)

Describe the problem or limitation you are having in your project

When integrating a GodotFragment in my Flutter (or Android) application, the GodotFragment blocks all the on-top UI elements. If I have for example a StackView with 2 children, first the GodotFragment and then a Button, then the GodotFragment won't even display, nor does the button. If I change this StackView to a LinearLayout, then the GodotFragment and the Button are displayed. It seems that GodotFragment cannot work with UI elements on top of it.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

The GodotFragment should either not be blocking on top UI elements OR it should at least have a configurable option

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Make it not blocking and/or fix the manual elevation setting of the Fragment to overcome this.

If this enhancement will not be used often, can it be worked around with a few lines of script?

No

Is there a reason why this should be core and not an add-on in the asset library?

This is core behavior

@Calinou
Copy link
Member

Calinou commented Feb 12, 2025

This sounds like a bug, so it should be reported on https://github.com/godotengine/godot/issues instead of godot-proposals. Also, please upload a minimal reproduction project so this can be confirmed.

@WouterVandenputte
Copy link
Author

This sounds like a bug, so it should be reported on https://github.com/godotengine/godot/issues instead of godot-proposals. Also, please upload a minimal reproduction project so this can be confirmed.

I was doubting. But in order for something to be a bug, it must not be intended to be the way it is. Maybe this was a design choice. But I will start on creating a repo for reproduction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants