https://bugs.kde.org/show_bug.cgi?id=458748

--- Comment #2 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
[2681654.605]  -> wl_compositor@4.create_surface(new id wl_surface@59)
[2681818.370]  -> xdg_wm_base@30.get_xdg_surface(new id xdg_surface@60,
wl_surface@51)
[2681818.387]  -> xdg_surface@60.get_toplevel(new id xdg_toplevel@61)
[2681818.390]  -> xdg_toplevel@61.set_parent(nil)
[2681818.392]  -> xdg_toplevel@61.set_title("Mozilla Thunderbird")
[2681818.394]  -> xdg_toplevel@61.set_app_id("thunderbird")
[2681818.396]  -> wl_surface@51.commit()
[2681818.398]  -> org_kde_kwin_server_decoration_manager@11.create(new id
org_kde_kwin_server_decoration@62, wl_surface@51)
[2681818.401]  -> org_kde_kwin_server_decoration@62.request_mode(1)
[2681819.350]  -> xdg_toplevel@61.set_title("Home - Mozilla Thunderbird")

kwin expects that the application sets all initial properties and then commits
the surface. This is not the case with Thunderbird. According to the wayland
debug log, Thunderbird sets "Mozilla Thunderbird" title, then tells kwin that
it has done initializing the window and it can proceed doing its own thing,
kwin applies window rules, then Thunderbird changes the title to "Home -
Mozilla Thunderbird", and afterwards one more time.

Ideally, Thunderbird should initialize in the following order

[2681654.605]  -> wl_compositor@4.create_surface(new id wl_surface@59)
[2681818.370]  -> xdg_wm_base@30.get_xdg_surface(new id xdg_surface@60,
wl_surface@51)
[2681818.387]  -> xdg_surface@60.get_toplevel(new id xdg_toplevel@61)
[2681818.390]  -> xdg_toplevel@61.set_parent(nil)
[2681818.392]  -> xdg_toplevel@61.set_title("Home - Mozilla Thunderbird")
[2681818.394]  -> xdg_toplevel@61.set_app_id("thunderbird")
[2681818.398]  -> org_kde_kwin_server_decoration_manager@11.create(new id
org_kde_kwin_server_decoration@62, wl_surface@51)
[2681818.401]  -> org_kde_kwin_server_decoration@62.request_mode(1)
[2681818.396]  -> wl_surface@51.commit()

As a workaround, change the title match in your window rule, or remove it
completely. Also, can you report this issue to Thunderbird developers? If not,
I can do that, but it can a bit later.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to