Bug 379310

Summary: Special application settings not applied for Spotify on startup
Product: [Plasma] kwin Reporter: Sorin Davidoi <sorin.davidoi>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: minor    
Priority: NOR    
Version First Reported In: 5.9.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: GIF showcasing the issue. Observe the color of the titlebar.

Description Sorin Davidoi 2017-04-28 11:22:47 UTC
Created attachment 105237 [details]
GIF showcasing the issue. Observe the color of the titlebar.

Overview:

Spotify application settings (in this case Titlebar color scheme - Force) are not applied when the application is started. Opening the Edit applications settings dialog and closing it (either by clicking OK or Cancel) applies the settings.

Steps to Reproduce:

1) Create a Special Application setting for Spotify from the decoration (Titlebar color scheme - Force)
2) Close Spotify
3) Open Spotify - observe that the setting is not applied
4) Open the Special Application for Spotify from the decoration and close it
5) Observe that the setting is now applied

Additional Information: Spotify version 1.0.53.758.gde3fc4b2, installed from https://aur.archlinux.org/packages/spotify/
Comment 1 Martin Flöser 2017-04-28 12:48:49 UTC
I'm sorry. Spotify is based on the weird chromium embedding thingy. Unfortunately that one is not ICCCM compliant. Our window rules can only operate with ICCCM compliant windows due to that they are not working for Spotify (and similar applications). We cannot change our code here, because we are also expected to be ICCCM compliant and changing this would result in bugs in other areas.

You are not the first to report this issue.