RE: current CVS has focus problems

2002-06-20 Thread Georg Nikodym

On Thu, 2002-06-20 at 18:48, Sean 'Shaleh' Perry wrote:

> Number one rule of window managers: a feature the authors do not use is a
> feature with more bugs.

This truism is not limited to window managers, my friend.

Thanks again for your help,
-g




signature.asc
Description: This is a digitally signed message part


RE: current CVS has focus problems

2002-06-20 Thread Sean 'Shaleh' Perry

On 20-Jun-2002 Georg Nikodym wrote:
> On Thu, 2002-06-20 at 18:30, Sean 'Shaleh' Perry wrote:
>> 
>> On 20-Jun-2002 Georg Nikodym wrote:
>> > On Thu, 2002-06-20 at 18:07, Sean 'Shaleh' Perry wrote:
> 
>> sticky windows were not meant to be used after being marked sticky.  The
>> expected use was for clocks and the like, not term windows.
> 
> Heh.  Them's fighting words.
> 
> I have a BitchX window that follows me around (1600x1200 display allows
> for such behaviour ;-)
> 
> But if you're going to play this game (that'll only trip up old
> curmudgeonly old bastards like myself) I'd suggest that you have a
> different attribute that implies sticky and never interested in focus
> (though in my mind if a client doesn't want focus, it sets its X event
> mask accordingly)...  though I suspect that, in practice, nobody'll ever
> use it
> 

you misunderstood my statement.  I was explaining the historical reason for why
sticky windows in blackbox are not all that great.  They were basically added
as a way to make a clock sit on all of the workspaces.  Minimal use input
once the item was running.  Neither Brad, Jeff, or now me actually use sticky
windows so there has been no rush to fix them.  Plus fixing them means
rewriting some of the internals of the workspace and window code.

This will change as we move forward.  Those chunks of code are do for a rewrite
and in the process sticky windows will be supported better.  At least that is
the plan.

Number one rule of window managers: a feature the authors do not use is a
feature with more bugs.  Same problem with click to focus.  In general coders
do not use click to focus while many users prefer it.



RE: current CVS has focus problems

2002-06-20 Thread Georg Nikodym

On Thu, 2002-06-20 at 18:30, Sean 'Shaleh' Perry wrote:
> 
> On 20-Jun-2002 Georg Nikodym wrote:
> > On Thu, 2002-06-20 at 18:07, Sean 'Shaleh' Perry wrote:

> sticky windows were not meant to be used after being marked sticky.  The
> expected use was for clocks and the like, not term windows.

Heh.  Them's fighting words.

I have a BitchX window that follows me around (1600x1200 display allows
for such behaviour ;-)

But if you're going to play this game (that'll only trip up old
curmudgeonly old bastards like myself) I'd suggest that you have a
different attribute that implies sticky and never interested in focus
(though in my mind if a client doesn't want focus, it sets its X event
mask accordingly)...  though I suspect that, in practice, nobody'll ever
use it

Anyway, thanks amillion for getting me back in business.
-g




signature.asc
Description: This is a digitally signed message part


RE: current CVS has focus problems

2002-06-20 Thread Sean 'Shaleh' Perry

On 20-Jun-2002 Georg Nikodym wrote:
> On Thu, 2002-06-20 at 18:07, Sean 'Shaleh' Perry wrote:
> 
>> > This should not be too hard to solve.  Thanks.
>> 
>> ok, update from cvs and give it a try.
> 
> Sorry, correction.
> 
> The focus problem is gone, but the focus indication in the title bar is
> still broken.
> 

sorry, neglected to make the same change elsewhere.

Focus is still lost on workspace change, but the window will take it back and
show it properly.

sticky windows were not meant to be used after being marked sticky.  The
expected use was for clocks and the like, not term windows.



RE: current CVS has focus problems

2002-06-20 Thread Georg Nikodym

On Thu, 2002-06-20 at 18:07, Sean 'Shaleh' Perry wrote:

> > This should not be too hard to solve.  Thanks.
> 
> ok, update from cvs and give it a try.

Sorry, correction.

The focus problem is gone, but the focus indication in the title bar is
still broken.

-g

 




signature.asc
Description: This is a digitally signed message part


RE: current CVS has focus problems

2002-06-20 Thread Georg Nikodym

On Thu, 2002-06-20 at 18:07, Sean 'Shaleh' Perry wrote:

> ok, update from cvs and give it a try.

Same problem.

Simple recipe:

start xterm
make sticky
change workspaces (I use bbkeys)
watch xterm lose focus

-g





signature.asc
Description: This is a digitally signed message part


RE: current CVS has focus problems

2002-06-20 Thread Sean 'Shaleh' Perry

On 20-Jun-2002 Sean 'Shaleh' Perry wrote:
>> 
>> Looking more closely at the problem I notice that the focus problem is
>> with sticky windows.
>> 
>> Focus successfully transfers to a sticky window in the workspace in
>> which it was created but not other workspaces.
>> 
> 
> aha!  that helps.  I added code this morning to ensure that windows would not
> receive focus when not on the current workspace.  A sticky window is not
> actually on the current workspace, only its originating workspace.
> 
> This should not be too hard to solve.  Thanks.

ok, update from cvs and give it a try.



RE: current CVS has focus problems

2002-06-20 Thread Sean 'Shaleh' Perry

> 
> Looking more closely at the problem I notice that the focus problem is
> with sticky windows.
> 
> Focus successfully transfers to a sticky window in the workspace in
> which it was created but not other workspaces.
> 

aha!  that helps.  I added code this morning to ensure that windows would not
receive focus when not on the current workspace.  A sticky window is not
actually on the current workspace, only its originating workspace.

This should not be too hard to solve.  Thanks.



RE: current CVS has focus problems

2002-06-20 Thread Georg Nikodym

On Thu, 2002-06-20 at 17:37, Sean 'Shaleh' Perry wrote:
> 
> On 20-Jun-2002 Georg Nikodym wrote:
> > I'm running the latest blackbox code from CVS and observing the
> > following focus problem.
> > 
> > I have sloppy focus set but if I move my pointer into my xmms window,
> > keyboard focus does not follow.  Focus _does_ follow my pointer between
> > xterms...
> > 
> 
> I do not see this.  I can type in a term, move my mouse over to xmms, press "j"
> for jump to a song, type in the song name, and go back to my term.

Looking more closely at the problem I notice that the focus problem is
with sticky windows.

Focus successfully transfers to a sticky window in the workspace in
which it was created but not other workspaces.

-g




signature.asc
Description: This is a digitally signed message part


RE: current CVS has focus problems

2002-06-20 Thread Sean 'Shaleh' Perry

On 20-Jun-2002 Georg Nikodym wrote:
> I'm running the latest blackbox code from CVS and observing the
> following focus problem.
> 
> I have sloppy focus set but if I move my pointer into my xmms window,
> keyboard focus does not follow.  Focus _does_ follow my pointer between
> xterms...
> 

I do not see this.  I can type in a term, move my mouse over to xmms, press "j"
for jump to a song, type in the song name, and go back to my term.



current CVS has focus problems

2002-06-20 Thread Georg Nikodym

I'm running the latest blackbox code from CVS and observing the
following focus problem.

I have sloppy focus set but if I move my pointer into my xmms window,
keyboard focus does not follow.  Focus _does_ follow my pointer between
xterms...

-g






signature.asc
Description: This is a digitally signed message part