foobar steals focus from Xlobby

Help each other out

foobar steals focus from Xlobby

Postby lar282 on Fri Apr 07, 2006 10:35 am

Help...

Foobar steals focus from XL when playing music but only the FIRST time I play music. I only got a remote so it has big impact for me. Has anybody seen this?

1: start xlobby
2: play music
3: Now foobar has focus and I have to take the mouse and click once on XL to regain focus on XL.
4: Play some more music. All is fine

If somebody does not have this problem can u please post your config file for foobar here. Maybe it's a setting thing in foobar.

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby rembetis on Fri Apr 07, 2006 12:37 pm

I use to have this problem and I'm pretty sure I solved it via one of the following methods:

A) Make sure Foobar is configured to minimize to system tray (Preferences > Display > System Tray > "Minimize to System Tray" checkbox.

B) Make sure Foobar loads minimized. Pretty sure you can set this by simply minimizing Foobar, and then closing it with a right-click option (kind of an autosave), but for good measure you probably want to be sure the "Remember window position" box is checked under Preferences > Display).

C) Lastly, try checking the "Hide Audioplayer" box in Xlobby Setup > Misc.

Hope that helps.
rembetis
 
Posts: 493
Joined: Thu Jul 28, 2005 10:27 pm

Postby lar282 on Fri Apr 07, 2006 6:08 pm

I have all those settings already, when I have foobar to systray, alittle box pops up showing that foobar adds music to the playlist. After that XL is not focused anymore.
Do u not see that little popup?
if not please paste your config file for foobar here.


Still, wierd that it only does this he first time I add music to foobar through XL.

regards

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby rembetis on Fri Apr 07, 2006 6:43 pm

lar282 wrote:Do u not see that little popup?


Yes, currently I do get the little popup (though I'd swear that has not alwaybs been the case) and like you I only get it the first time a song is added to the queue on any given Xlobby session. But I only see the popup for a second, then it disappears and Xlobby is in focus again (or at least I think it is, as my remote>USB-UIRT works fine at that point.)

I don't imagine my Foobar config file will help, but here it is anyway.

Worst case scenario, couldn't you add a sendfocus.exe command to each of your play/queue events?
rembetis
 
Posts: 493
Joined: Thu Jul 28, 2005 10:27 pm

Postby rembetis on Fri Apr 07, 2006 6:53 pm

What event(s), exactly, trigger Foobar to grab focus? I just remembered making this post a while back. Perhaps you are experiencing the same thing.
rembetis
 
Posts: 493
Joined: Thu Jul 28, 2005 10:27 pm

Postby lar282 on Fri Apr 07, 2006 7:06 pm

rembetis wrote:What event(s), exactly, trigger Foobar to grab focus? I just remembered making this post a while back. Perhaps you are experiencing the same thing.


I use play all

Well the little popup is not on top, it only shows for a second and then goes away, but XL is NOT in focus after that.Try yourself with the keyboard, up-down
usbuirt works for u cause its a plugin in XL


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby rembetis on Fri Apr 07, 2006 7:26 pm

lar282 wrote:Well the little popup is not on top, it only shows for a second and then goes away, but XL is NOT in focus after that.Try yourself with the keyboard


You're right :shock: XL is not in focus. I've been using a touchscreen (or a remote with my USB-UIRT) for the last six months, so it's a moot point for me and I hadn't noticed it.

Again, though, couldn't you add a sendfocus command at the end of all your play/queue commands? Not an elegant solution, but it should work until the foobar plugin works properly.
rembetis
 
Posts: 493
Joined: Thu Jul 28, 2005 10:27 pm

Postby lar282 on Fri Apr 07, 2006 7:41 pm

[quote="rembetisAgain, though, couldn't you add a sendfocus command at the end of all your play/queue commands? Not an elegant solution, but it should work until the foobar plugin works properly.[/quote]

Added a bug entry in the bug forum.don't want to send a focus since its only the first time it happens.

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden