You are not logged in.

#1 2006-05-29 11:18:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Problem with new firefox tabs and window focus

Here's a problem that I've had for ages - sometimes it annoys me, other times I can live with it. Right now it's really p***ing me off.  :x

I have selected 'a new tab in the most recent window' under FF's Preferences->Tabs->Open links from other applications in:, so as an example, if I click on a URL in a mail in Thunderbird, Firefox opens it in a new tab. However, window focus stays on Thunderbird. I run both of them full screen, so although I'm looking at the web page in Firefox, anything I do on the keyboards affects Thunderbird. It affects URLs opened from other apps too e.g. if I open a terminal and do

firefox www.archlinux.org

focus stays on the terminal window. The only exception is when firefox is not already running - in that case, firefox launches with focus.

DE is xfce4, and the system is completely up to date.

I've done some googling, and AFAICS, nobody else seems to have this problem. Any ideas, anyone?

TIA.

Offline

#2 2006-05-29 12:49:30

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

Re: Problem with new firefox tabs and window focus

Mayby try this plugin: ( Tab Mix Plus )
https://addons.mozilla.org/firefox/1122/
It has all options, setting for tabs you can dream of smile
I use it and focus is set to firefox on every link I open in other app.

Offline

#3 2006-05-30 10:46:34

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with new firefox tabs and window focus

Thanks MAC!EK - definitely a useful add-on, but it still doesn't solve my problem. In Tab Mix Plus Options, I have the following selected:

Links -> Open links from other applications in: New tab
Events-> Tab Focus -> Focus/Select tabs  that open from: <all>

However, the behaviour is as before i.e. I click a URL in Thunderbird, it opens in a new tab in Firefox, but window focus stays on Thunderbird. Within Firefox, the newly-opened tab is selected or focussed, but Firefox itself is not.

Anyway, thanks again. I think I need to keep looking. smile

Offline

#4 2006-05-30 14:07:37

MAC!EK
Member
Registered: 2005-09-27
Posts: 267

Re: Problem with new firefox tabs and window focus

Did You try to move ~/.mozilla and then check?

Offline

#5 2006-05-30 16:43:49

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with new firefox tabs and window focus

Thanks again.

I've just tried that, but there's no change.

Offline

#6 2006-05-30 17:36:12

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Problem with new firefox tabs and window focus

Wait wait... so you *want* focus on a new tab? Or you *don't*?

MAC!EK: I think you're misunderstanding the gripe.

Offline

#7 2006-05-30 17:42:52

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Problem with new firefox tabs and window focus

try:
Edit -> Preferences -> Tab Mix Plus
Check "Select New Tabs opened from links"

Offline

#8 2006-05-31 00:28:48

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with new firefox tabs and window focus

phrakture wrote:

Wait wait... so you *want* focus on a new tab?

Exactly. I want Firefox to open the new tab, with focus. Right now it opens the new tab, but without focus.

phrakture wrote:

try:
Edit -> Preferences -> Tab Mix Plus
Check "Select New Tabs opened from links"

That's a default when TMP is installed - and it doesn't help.

Thanks for the suggestion, all the same.

Offline

#9 2006-05-31 00:33:14

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: Problem with new firefox tabs and window focus

tomk, I am having problems reproducing what you're talking about. I have the same settings as you and new tabs have focus for me, even through thunderbird... What window manager are you using?

edit
I stand corrected, I got the problem to reproduce also... hmm, I'll check into this myself it is quite annoying.

Offline

#10 2006-05-31 21:18:26

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Problem with new firefox tabs and window focus

The problem is the "load tabs in background" stuff.

I know exactly what your talking about - I use a WM "rudeness" setting to disallow other windows to raise when i'm doing something... but it spits out a little message "Raise request from window 3 (Gecko)" - I recall it happening alot... irritatingly so, actually.  And now it does not... hrrrm

Offline

#11 2006-06-01 09:18:45

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with new firefox tabs and window focus

Thanks folks - at least I know I'm making sense now. smile

phrak, it sounds like I need the opposite of your "rudeness" thing - something is preventing FF gaining focus, even though it should. I've been looking at this as a FF problem, but if there's a solution via WM, that would do either. I think I'll post it on the xfce forum as well - maybe someone there has come across it.

Offline

#12 2006-06-01 12:31:30

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: Problem with new firefox tabs and window focus

Pfff well if you used ion, you could just use the "ioncore.activity_goto()" lua call and then call "ioncore.goto_previous()"  ... or use the keybinding "Mod+K K" blah blah blah answers that don't help.

This looks like an XFCE problem, and I'm sure there is a way to get it working, just not sure how :-P

Offline

#13 2006-06-01 20:39:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Problem with new firefox tabs and window focus

codemac wrote:

blah blah blah answers that don't help.

I wouldn't say you're not helping. OK, you didn't really address my problem, you waffled on about your own amazing WM, you threw in uber-1337-looking lua stuff - but you gave me a laugh. That helped!  lol

Offline

#14 2007-04-17 22:13:32

linuxinit
Member
From: Bumkcuf, Egypt
Registered: 2005-08-21
Posts: 33
Website

Re: Problem with new firefox tabs and window focus

What he's describing is the opposite of what my problem is... which makes me think somebody changed something to accommodate him, and screwed the rest of us.

Here's the skinny...
I have firefox opened on my first desktop, and thunderbird on my second desktop.
I click a url in thunderbird, and firefox is moved to the second desktop, and brought into focus. If I turn on focus stealing prevention in XFCE, firefox is still moved to the second desktop, but thunderbird retains focus, and firefox is pushed behind.

The old behavior is what I miss. If I have firefox on my first desktop, I want it to stay there.

Offline

Board footer

Powered by FluxBB