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

Window theme mode bug #3487

Open
1 task
theN1C1 opened this issue Jun 19, 2024 · 3 comments
Open
1 task

Window theme mode bug #3487

theN1C1 opened this issue Jun 19, 2024 · 3 comments
Labels
platform: windows Specific to Windows OS

Comments

@theN1C1
Copy link

theN1C1 commented Jun 19, 2024

Duplicate Check

Describe the bug

When using a dark theme, the color of the window itself changes, but the title bar remains white.

Code

import flet as ft

import os, sys

def main(page: ft.Page):
    # settings
    page.title = "Console"
    page.window_width = 600
    page.window_height = 500
    page.window_resizable = True
    page.window_maximizable = False

    page.window_left = 400
    page.window_top = 200
    page.theme_mode = "DARK"

    page.window_visible = True
    page.update()

ft.app(target = main, view = ft.AppView.FLET_APP_HIDDEN)

To reproduce

  1. Put a dark theme

Expected behavior

No response

Screenshots

image-1

Operating System

Windows

Operating system details

Windows 10

Flet version

0.23.0

Regression

No, it isn't

Suggestions

No response

Additional details

No response

@ndonkoHenri
Copy link
Collaborator

Can you try this:

new_project.mp4

Source: flutter/flutter#117692 (comment)

@theN1C1
Copy link
Author

theN1C1 commented Jun 20, 2024

Can you try this:

new_project.mp4
Source: flutter/flutter#117692 (comment)

why the DARK theme works as SYSTEM

@WagmanK
Copy link

WagmanK commented Jun 20, 2024

Can you try this:

new_project.mp4
Source: flutter/flutter#117692 (comment)

The thing is that in Flet DARK works as SYSTEM. For example, on customtkinter everything works fine

2024-06-20.11-52-15.mp4

@ndonkoHenri ndonkoHenri added the platform: windows Specific to Windows OS label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: windows Specific to Windows OS
Projects
None yet
Development

No branches or pull requests

3 participants