Skip to content

Window theme mode bug #3487

Open
Open
@theN1C1

Description

@theN1C1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions