[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: invalid SDL application's icon in KDE
From:       Joe <joe.skb7 () gmail ! com>
Date:       2013-02-09 14:41:59
Message-ID: CAHbAHRxV2YFmRGMQXPP6sxZMVZXgC67wy5UZczYgmGMY87B-Lg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> and tell SDL to enter this millennium
You've meant to use _NET_WM_ICON? Because I've found such a patch:
http://lists.libsdl.org/pipermail/commits-libsdl.org/2012-October/005808.html
If I apply it -- icon will be correct?

> file a bug there (they've to use "KWindowSystem::NETWM |
KWindowSystem::WMHints", the second seems missing)

OK, but which project I should use to file bug? kdelibs?

On Sat, Feb 9, 2013 at 4:20 PM, Thomas Lübking <thomas.luebking@gmail.com>wrote:

> On Samstag, 9. Februar 2013 15:08:20 CEST, Joe wrote:
> 
> > Checked "xprop". There is no _NET_WM_ICON proeprty, but I've noticed this
> > one:
> > _NET_WM_ICON_NAME(UTF8_STRING) = "INSTEAD - 1.8.3"
> > Here is a full log: http://pastebin.com/rHxxjb3A
> > 
> 
> _NET_WM_ICON_NAME is not related to "icons" (don't ask, that predates your
> birth ;-)
> 
> The window only has legacy:
> 
> bitmap id # to use for icon: 0x420000e
> bitmap id # of mask for icon: 0x420000c
> 
> which the taskbar (lib) likely does not resolve - file a bug there
> (they've to use "KWindowSystem::NETWM | KWindowSystem::WMHints", the second
> seems missing) and tell SDL to enter this millennium ;-)
> 
> 
> 
> I forgot to mention that SDL applications have correct window title icon.
> > 
> Yes, kwin resolves the bitmap id as well.
> 
> 
> 
> What about that that _NET_WM_ICON property? I've checked out other
> > applications and they have this property. So issue in SDL?
> > 
> 
> It's the way to hint icons since a decatde or so, but SDL is not very
> extensive on it's window hints / properties anyway.
> 
> 
> Cheers,
> Thomas
> 
> Visit http://mail.kde.org/mailman/**listinfo/kde-devel#unsub<http://mail.kde.org/mailman/listinfo/kde-devel#unsub>to \
> unsubscribe <<
> > > 
> > 


-- 
Best regards,
  Sam Protsenko


[Attachment #5 (text/html)]

&gt; and tell SDL to enter this millennium<br>You&#39;ve meant to use _NET_WM_ICON? \
Because I&#39;ve found such a patch: <a \
href="http://lists.libsdl.org/pipermail/commits-libsdl.org/2012-October/005808.html">h \
ttp://lists.libsdl.org/pipermail/commits-libsdl.org/2012-October/005808.html</a><br> \
If I apply it -- icon will be correct?<br><br>&gt; file a bug there (they&#39;ve to \
use &quot;KWindowSystem::NETWM | KWindowSystem::WMHints&quot;, the second seems \
missing)<br><br>OK, but which project I should use to file bug? kdelibs?<br> <br><div \
class="gmail_quote">On Sat, Feb 9, 2013 at 4:20 PM, Thomas Lübking <span \
dir="ltr">&lt;<a href="mailto:thomas.luebking@gmail.com" \
target="_blank">thomas.luebking@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div class="im">On Samstag, 9. Februar 2013 15:08:20 CEST, \
Joe wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> Checked &quot;xprop&quot;. There \
is no _NET_WM_ICON proeprty, but I&#39;ve noticed this<br> one:<br>
_NET_WM_ICON_NAME(UTF8_STRING) = &quot;INSTEAD - 1.8.3&quot;<br>
Here is a full log: <a href="http://pastebin.com/rHxxjb3A" \
target="_blank">http://pastebin.com/rHxxjb3A</a><br> </blockquote>
<br></div>
_NET_WM_ICON_NAME is not related to &quot;icons&quot; (don&#39;t ask, that predates \
your birth ;-)<br> <br>
The window only has legacy:<br>
<br>
bitmap id # to use for icon: 0x420000e<br>
bitmap id # of mask for icon: 0x420000c<br>
<br>
which the taskbar (lib) likely does not resolve - file a bug there (they&#39;ve to \
use &quot;KWindowSystem::NETWM | KWindowSystem::WMHints&quot;, the second seems \
missing) and tell SDL to enter this millennium ;-)<div class="im"> <br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> I forgot to mention that SDL applications have correct \
window title icon.<br> </blockquote></div>
Yes, kwin resolves the bitmap id as well.<div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> What about that that _NET_WM_ICON property? I&#39;ve checked \
out other<br> applications and they have this property. So issue in SDL?<br>
</blockquote>
<br></div>
It&#39;s the way to hint icons since a decatde or so, but SDL is not very extensive \
on it&#39;s window hints / properties anyway.<div class="HOEnZb"><div class="h5"><br> \
<br> Cheers,<br>
Thomas<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> Visit <a \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/<u></u>listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br> </blockquote></blockquote>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>  Sam \
Protsenko<br>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic