We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description
Code example to reproduce the issue:
ft.app(main,view=ft.AppView.FLET_APP_HIDDEN)
Describe the results you received: the window is visible when i start app (include build and run)
Describe the results you expected: When programm start window hiden
Additional information you deem important (e.g. issue happens only occasionally): NONE
Flet version (pip show flet):
pip show flet
Name: flet Version: 0.22.0 Summary: Flet for Python - easily build interactive multi-platform apps in Python Home-page: Author: Appveyor Systems Inc. Author-email: hello@flet.dev License: Apache-2.0 Location: C:\Users\Strunder\AppData\Local\Programs\Python\Python312\Lib\site-packages Requires: cookiecutter, fastapi, flet-runtime, packaging, qrcode, uvicorn, watchdog Required-by: flet-fastapi
Give your requirements.txt file (don't pip freeze, instead give direct packages):
requirements.txt
pip freeze
flet
Operating system:
Additional environment details: Default (flet create)
The text was updated successfully, but these errors were encountered:
Thanks!
Could you provide a sample app to reproduce the issue too?
Sorry, something went wrong.
Thanks! Could you provide a sample app to reproduce the issue too?
import flet as ft def main(page: ft.Page): page.add(ft.SafeArea(ft.Text("Hello, Flet!"))) ft.app(main,view=ft.AppView.FLET_APP_HIDDEN)
This example doesn't work on macOS as well:
from time import sleep import flet as ft def main(page: ft.Page): page.add( ft.Text("Hello!") ) sleep(3) page.window_visible = True page.update() ft.app(target=main, view=ft.AppView.FLET_APP_HIDDEN)
Looks like a bug.
No branches or pull requests
Description
Code example to reproduce the issue:
Describe the results you received:
the window is visible when i start app (include build and run)
Describe the results you expected:
When programm start window hiden
Additional information you deem important (e.g. issue happens only occasionally):
NONE
Flet version (
pip show flet
):Give your
requirements.txt
file (don'tpip freeze
, instead give direct packages):Operating system:
Additional environment details:
Default (flet create)
The text was updated successfully, but these errors were encountered: