On Tue, Sep 03, 2002 at 10:20:27AM -0400, Charles Hines wrote:
Content-Description: message body and .signature
> >>>>> "DV" == Dominik Vogt <fvwm-workers@fvwm.org> writes:
> 
> DV> On Thu, Aug 29, 2002 at 05:39:41PM -0400, Charles Hines wrote:
> >> I switched to v2.4.9 the other day (from v2.4.3) and noticed this odd
> >> thing...  I use a modified version of xbuffy (v3.3) that I changed to never
> >> take the focus (since it pops up a new window briefly when mail comes in),
> >> and after switching to v2.4.9 I noticed the focus appearing to change, but
> >> not really...
> >> 
> >> The xbuffy window will get highlighted like it's got the focus, but the
> >> focus never actually changes.  And I can't restore the correct window
> >> highlighting until I click in yet another window (I use click to focus, in
> >> case you hadn't guessed) and back to the original one.
> >> 
> >> I was going to look into this problem myself, but since I haven't looked at
> >> the code in a real long time I figured I'd be better off just asking if
> >> anyone has seen similar behavior first.  And since Dominik usually figures
> >> these things out about 2 minutes after they are posted to the list... :)
> 
> DV> ;-)  
> 
> Thought you'd get a kick out of that statement. :)
> 
> DV> unfortunately "these things" doesn't apply to focus problems which are
> DV> hell to debug.
> 
> I always thought that most low level X11 things were all pretty painful to
> debug, actually. :)
> 
> DV> No way to test them in a debugger.
> 
> Don't you use something like VNC, Xnest, or XMX when doing your debugging?
> Should be able to use that to run fvwm under a debugger to debug focus
> problems about as "easily" as any other window manager problem, no?

Sure, I use Xnest et al. quite a lot.  The problem is:  to use the
debugger I have to focus it ruining the debug session.  I rarely
start a separate X server because XFree 4.x crashes or hangs most
of the time when I do this (for debugging).

> Or have I
> been away from working on fvwm for so long now that my memory of the pain and
> difficulty of debugging certain things like focus has faded (always a
> possibility) even using the above tools?
> 
> >> If no one has any ideas off the tops of their heads, I'll look into it
> >> myself tommorrow.
> 
> Which I did, but didn't get very far.  The code has changed so much that I
> felt quite lost looking through it and gave up sooner than I should have (of
> course, work was also interfering).
> 
> DV> No, sorry.  I can take a look too if you send me the modified
> DV> xbuffy sources and a minimal config file.
> 
> I'll do one better.  I've attached a version of a dirt simple X11 (Xt) program
> that someone else posted to the list once to demonstrate another problem,
> modified to essentially contain the same changes that I did to xbuffy.
> 
> Shows the same behavior of switching the highlight when clicked in, and I
> tested it under the fvwm 2.4.3 that I still had lying around and there it
> works as expected (no highlight switch, except temporarily when grabbing the
> title bar to move the window but it immedieately switches back).
> 
> If you don't get a chance to look into it, I'll try again myself later today
> (or tonight at home if I remember to mail this little testcase back there).

Later.

Bye

Dominik ^_^  ^_^

 --
Dominik Vogt, mail: [EMAIL PROTECTED], phone: 0721/91374-382
Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to