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

Bug: android build ft.tabs not working/visible #4908

Open
1 task done
goajos opened this issue Feb 16, 2025 · 0 comments
Open
1 task done

Bug: android build ft.tabs not working/visible #4908

goajos opened this issue Feb 16, 2025 · 0 comments
Labels
bug Something isn't working controls has reproducible steps Issue is reproducible packaging Related to app packaging platform: android Specific to Android

Comments

@goajos
Copy link

goajos commented Feb 16, 2025

Duplicate Check

Describe the bug

I created a small todo app to showcase SQLAlchemy2.0 and android on request of @FeodorFitsner . The main branch has the working application using internal storage. While working on another project I noticed that the ft.tabs refuse to work when the application is build on android. So I integrated a small test branch setting up two tabs and two todo apps just to see if it would work in a simple setup. Sadly that is not the case.

Image

As you can see the flet run version clearly shows the tab content (a working todo application for both tabs). But sadly the emulator version shows no content on either tab. I've done some more testing with text, listtiles,... No matter what content is used, nothing seems to show up as the tab content when build for android. So I assume this is a bug?

Code sample

Code
[Paste your code here]

To reproduce

  1. clone the tabs branch from the todo repo
  2. poetry lock
  3. poetry install
  4. poetry run flet build apk -v
  5. run the apk in an emulator
  6. BUG: no tab content???

Expected behavior

Two working todo applications inside each tab (like the flet run version).

Screenshots / Videos

No response

Operating System

Linux

Operating system details

Debian 12

Flet version

0.26.0

Regression

No, it isn't

Suggestions

No response

Logs

No response

Additional details

No response

@ndonkoHenri ndonkoHenri added bug Something isn't working controls packaging Related to app packaging has reproducible steps Issue is reproducible platform: android Specific to Android labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working controls has reproducible steps Issue is reproducible packaging Related to app packaging platform: android Specific to Android
Projects
None yet
Development

No branches or pull requests

2 participants