From kde-devel Sat Feb 09 14:08:20 2013 From: Joe Date: Sat, 09 Feb 2013 14:08:20 +0000 To: kde-devel Subject: Re: invalid SDL application's icon in KDE Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=136041892232573 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============5637311418511802183==" --===============5637311418511802183== Content-Type: multipart/alternative; boundary=089e013c5d6c4fdb7004d54b3538 --089e013c5d6c4fdb7004d54b3538 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Checked "xprop". There is no _NET_WM_ICON proeprty, but I've noticed this one: _NET_WM_ICON_NAME(UTF8_STRING) =3D "INSTEAD - 1.8.3" Here is a full log: http://pastebin.com/rHxxjb3A I forgot to mention that SDL applications have correct window title icon. Incorrect is only taskbar one. I also tried to reduce taskbar size so that icons on it have 16x16 size. Problem still remains. So issue is not about icon size. What about that that _NET_WM_ICON property? I've checked out other applications and they have this property. So issue in SDL? On Sat, Feb 9, 2013 at 3:20 PM, Thomas L=FCbking wrote: > On Samstag, 9. Februar 2013 13:58:43 CEST, Joe wrote: > >> Hi, >> >> I've noticed that SDL games have invalid icon at taskbar when running in >> KDE (this icon: /usr/share/icons/oxygen/32x32/**apps/xorg.png). >> In rest of DEs (like a XFCE or GNOME) icon is ok. >> So I wonder if it's KDE specific or SDL specific issue? And can we handl= e >> it in some way? >> > > > Check "xprop" on the window, is there some _NET_WM_ICON proeprty? > How big. > It sounds as if the icon would be resolved from likely *_wm_class and > filesystem and can not ("SDL" class or so?) - resulting in the invalid ic= on. > > No idea, but assume this could happen if the window does not carry a > sufficiently large icon (while it nevertheless sounds like a bug in > lib/taskbar) > > Cheers, > Thomas > > Visit http://mail.kde.org/mailman/**listinfo/kde-devel#unsubto unsubscribe << >>> >> --=20 Best regards, Sam Protsenko --089e013c5d6c4fdb7004d54b3538 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Checked "xprop". There is no _NET_WM_ICON proeprty, but I've = noticed this one:
_NET_WM_ICON_NAME(UTF8_STRING) =3D "INSTEAD - 1.8= .3"
Here is a full log: ht= tp://pastebin.com/rHxxjb3A

I forgot to mention that SDL applications have correct window title ico= n. Incorrect is only taskbar one. I also tried to reduce taskbar size so th= at icons on it have 16x16 size. Problem still remains. So issue is not abou= t icon size.

What about that that _NET_WM_ICON property? I've checked out other = applications and they have this property. So issue in SDL?

On Sat, Feb 9, 2013 at 3:20 PM, Thomas L=FCbking <thomas.luebking@gmail.com> wrote:
On Samstag, 9. Februar 201= 3 13:58:43 CEST, Joe wrote:
Hi,

I've noticed that SDL games have invalid icon at taskbar when running i= n
KDE (this icon: /usr/share/icons/oxygen/32x32/apps/xorg.png).
In rest of DEs (like a XFCE or GNOME) icon is ok.
So I wonder if it's KDE specific or SDL specific issue? And can we hand= le
it in some way?


Check "xprop" on the window, is there some _NET_WM_ICON proeprty?=
How big.
It sounds as if the icon would be resolved from likely *_wm_class and files= ystem and can not ("SDL" class or so?) - resulting in the invalid= icon.

No idea, but assume this could happen if the window does not carry a suffic= iently large icon (while it nevertheless sounds like a bug in lib/taskbar)<= br>
Cheers,
Thomas

Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<



--
Best regards,
=A0 Sa= m Protsenko
--089e013c5d6c4fdb7004d54b3538-- --===============5637311418511802183== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============5637311418511802183==--