Re: Proposal: add a _NET_WM_DESKTOP_FILE

Martin Graesslin <[email protected]> Thu, 12 Nov 2015 08:22:13 +0100
Newsgroups gmane.comp.gnome.wm-spec
Message-ID <3279453.t9tJqVhgeU@martin-desktop>
--===============6883294975413401908==
Content-Type: multipart/signed; boundary="nextPart10063165.WM9LchAcyY"; micalg="pgp-sha1"; protocol="application/pgp-signature"

--nextPart10063165.WM9LchAcyY
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

On Wednesday, November 11, 2015 11:21:44 AM CET Allison Ryan Lortie wrote:
> I understand that this doesn't correspond exactly to your original
> intention with this addition,

no it's worse: it makes the part which I wanted to fix impossible. Which would 
mean that:
a) I scratch what I wanted to fix
b) willfully break the spec
c) add a KDE specific additional property to get what I wanted in the first 
place

> but I think your original intent is
> unrealisable: you will either have many apps that provide nothing at
> all,

which is fine! This is an optional flag. It's not a requirement. The proposal 
(after Thomas update) will say that the window MUST NOT specify the desktop 
file if it doesn't know it. If it cannot be matched to a desktop file: that's 
fine.

> or you will have some apps that provide something other than the
> desktop file name.

This would be a clear violation of the spec. Adding a requirement to add DBus 
to it, will not fix windows ignoring the spec and passing in wrong data.

> 
> This is the same problem as the previous attempt to solve this problem:
> there was a proposal at some point that the wmclass should be equal to
> the name of the desktop file.  For many apps this was true, but coverage
> was never 100%.

Right, because you cannot change the meaning of an existing property and then 
assume that it will work. Because of that I propose a new additional protocol 
applications can opt-in to when they can provide the information.

Cheers
Martin
--nextPart10063165.WM9LchAcyY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAlZEPisACgkQqVXwidMiVrryvQCeJNDDY60xZNYmpDpl3dx+kuj+
LToAn1QabHD2qQy1wFZEqOF0rfLz4kBX
=a/0o
-----END PGP SIGNATURE-----

--nextPart10063165.WM9LchAcyY--


--===============6883294975413401908==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
wm-spec-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/wm-spec-list

--===============6883294975413401908==--