GNOME Bugzilla – Bug 706252
ShellAppSystem: handle desktop files with capital letters
Last modified: 2013-08-18 20:08:42 UTC
gnome-weather will soon be org.gnome.Weather.Application (hopefully before 3.9.90), as a preview of the new application deployment model we talked about at GUADEC, and the wm_class matching is broken for it without this patch.
Created attachment 252135 [details] [review] ShellAppSystem: handle desktop files with capital letters This is needed to handle applications that are converted to reverse dns notation, if their application ID includes capital letters (as it is often the case for DBus names)
Created attachment 252136 [details] [review] ShellWindowTracker: support looking apps from GApplication IDs In the new application model, there is one ID shared by GApplication, DBus and .desktop files, so we can use that for the association, instead of fiddling with badly cased wm classes. This is the other way to takle the problem. The biggest issue is that it relies on a GTK specific window property, so it wouldn't work with applications in the new model written in Qt, for example.
Review of attachment 252135 [details] [review]: OK.
Review of attachment 252136 [details] [review]: OK.
Attachment 252135 [details] pushed as 2acd23b - ShellAppSystem: handle desktop files with capital letters Attachment 252136 [details] pushed as 4a3f020 - ShellWindowTracker: support looking apps from GApplication IDs