[i3] i3 does not swallow title correctly

2014-09-29 Thread Sargrad, Dave
I3 swallows the following just fine
class: ^Firefox$

But it wont swallow title as follows (notice in this case I don’t use anchors 
since I want to match any title containing YouTube):
title: YouTube

I run firefox as follows
firefox -no-remote http://youtube.com


I've done other experiments with the title swallow spec, but I don’t have any 
luck getting i3 to swallow the title.

The complete swallows spec that I'm using is:
swallows: [
{title: YouTube}
],
-
This message is intended only for the addressee and may contain information 
that is company confidential or privileged.  Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately. 
-  

Re: [i3] i3 does not swallow title correctly

2014-09-29 Thread Sargrad, Dave
WM_CLASS(STRING) = Navigator, Firefox
WM_ICON_NAME(STRING) = YouTube - Mozilla Firefox
_NET_WM_ICON_NAME(UTF8_STRING) = YouTube - Mozilla Firefox
WM_NAME(STRING) = YouTube - Mozilla Firefox
_NET_WM_NAME(UTF8_STRING) = YouTube - Mozilla Firefox

-Original Message-
From: Sargrad, Dave 
Sent: Monday, September 29, 2014 2:24 PM
To: i3-discuss@i3.zekjur.net
Subject: i3 does not swallow title correctly

I3 swallows the following just fine
class: ^Firefox$

But it wont swallow title as follows (notice in this case I don’t use anchors 
since I want to match any title containing YouTube):
title: YouTube

I run firefox as follows
firefox -no-remote http://youtube.com


I've done other experiments with the title swallow spec, but I don’t have any 
luck getting i3 to swallow the title.

The complete swallows spec that I'm using is:
swallows: [
{title: YouTube}
],
-
This message is intended only for the addressee and may contain information 
that is company confidential or privileged.  Any technical data in this message 
may be exported only in accordance with the U.S. International Traffic in Arms 
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be 
unlawful. If you are not the intended recipient, or the person responsible for 
delivering to the intended recipient, you should not read, copy, disclose or 
otherwise use this message. If you have received this email in error, please 
delete it, and advise the sender immediately. 
-  

Re: [i3] i3 does not swallow title correctly

2014-09-29 Thread Joep van Delft
 
 
 
 
 
 
 _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 33554554
 _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
 _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x279
 WM_CLIENT_LEADER(WINDOW): window id # 0x201
 _NET_WM_PID(CARDINAL) = 8082
 WM_LOCALE_NAME(STRING) = en_US.UTF-8
 WM_CLIENT_MACHINE(STRING) = sensis-90025-2
 WM_NORMAL_HINTS(WM_SIZE_HINTS):
 program specified minimum size: 300 by 71
 program specified maximum size: 32767 by 32767
 window gravity: NorthWest
 WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS,
 _NET_WM_PING, _N
 ET_WM_SYNC_REQUEST WM_CLASS(STRING) = Navigator, Firefox
 WM_ICON_NAME(STRING) = YouTube - Mozilla Firefox
 _NET_WM_ICON_NAME(UTF8_STRING) = YouTube - Mozilla Firefox
 WM_NAME(STRING) = YouTube - Mozilla Firefox
 _NET_WM_NAME(UTF8_STRING) = YouTube - Mozilla Firefox
 
 -Original Message-
 From: Sargrad, Dave 
 Sent: Monday, September 29, 2014 2:24 PM
 To: i3-discuss@i3.zekjur.net
 Subject: i3 does not swallow title correctly
 
 I3 swallows the following just fine
 class: ^Firefox$
 
 But it wont swallow title as follows (notice in this case I don’t
 use anchors since I want to match any title containing YouTube):
 title: YouTube
 
 I run firefox as follows
 firefox -no-remote http://youtube.com
 
 
 I've done other experiments with the title swallow spec, but I
 don’t have any luck getting i3 to swallow the title.
 
 The complete swallows spec that I'm using is:
 swallows: [
 {title: YouTube}
 ],
 -
 This message is intended only for the addressee and may contain
 information that is company confidential or privileged.  Any
 technical data in this message may be exported only in accordance
 with the U.S. International Traffic in Arms Regulations (22 CFR
 Parts 120-130) or the Export Administration Regulations (15 CFR
 Parts 730-774). Unauthorized use is strictly prohibited and may be
 unlawful. If you are not the intended recipient, or the person
 responsible for delivering to the intended recipient, you should
 not read, copy, disclose or otherwise use this message. If you have
 received this email in error, please delete it, and advise the
 sender immediately. 
 -  


Re: [i3] i3 does not swallow title correctly

2014-09-29 Thread Axel Wagner
Hi,

you should really look at the i3 logs, as often windows change their
titles and such *after* they are mapped and afaik firefox is a
prime example of this. So the state of the window when you run Xprop is
really no indication as to what you should put in your i3 config (as
this is afaik applied during mapping, as this is the only sane thing to
do).

Best,

Merovius

PS: In the future, could you pretty please attach large logs as files,
instead of pasting them inline?