https://bugs.kde.org/show_bug.cgi?id=398832
Bug ID: 398832 Summary: window-state-event is not sent for focus change when CSD is enabled Product: kwin Version: 5.13.4 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: core Assignee: kwin-bugs-n...@kde.org Reporter: stran...@redhat.com Target Milestone: --- Expected behaviour Gnome sends window_state_event when application focus changes. Gtk reacts to it by setting GTK_STATE_FLAG_BACKDROP flag (by ensure_state_flag_backdrop() at gtkwindow.c) to the window which is picked by theme to correctly shade the window. Actual behaviour Gtk applications with CSD enabled (gedit, firefox for instance) does not get window_state_event with focus change so the application looks active even when it's on background. Also default KDE theme does not work well with the "backdrop" state and the theme does not render some elements (scrollbar thumb for instance - https://bugzilla.mozilla.org/show_bug.cgi?id=1491374) Steps to reproduce 1) Open gedit 2) Open another application, make gedit partially visible 3) switch to gedit and back - gedit titlebar does not change its color although it should It also causes issue with Firefox as it uses default theme under KDE which does not render thumb with backdrop state - https://bugzilla.mozilla.org/show_bug.cgi?id=1491374 -- You are receiving this mail because: You are watching all bug changes.