Closed Bug 172094 Opened 22 years ago Closed 20 years ago

Chatzilla highlights urls in chat but clicking them doesn't bring browser window to the front

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: david, Assigned: rginda)

References

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826

If you are chatting with chatzilla and someone posts a link, clicking it will
cause it to display in a browser window, but if there is one browser window open
and it is popped down, it doesn't pop up after clicking on the link in chatzilla
(though the browser does display the contents of the url when you manually pop
it up).  This is un-intuitive.

Reproducible: Always

Steps to Reproduce:
covered under details


Expected Results:  
It should have popped up the browser window so it comes to the foreground.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
This works for me on Linux.  Is this Windows only?
Now with a recent build, it's not working any more.
The need for this to be fixed should go away when bug 106542 is fixed.
Depends on: 106542
So much for that bug dependancy...

I guess something is needed around
http://lxr.mozilla.org/mozilla/source/extensions/irc/xul/content/commands.js#1492.
Product: Core → Other Applications
Attached patch patch v1. gives focus to browser (obsolete) — Splinter Review
Sets focus to the browser when opening links in something other than a new
window. Also fixes the bug that makes links open twice when opening them from
cz in a tab, in the same tab. (There was code to open it in a new window, but
no return, so it also opened in the same tab after all)
Attachment #168970 - Flags: review?(silver)
Comment on attachment 168970 [details] [diff] [review]
patch v1. gives focus to browser

Style nit: the blank line should not have those 4 spaces.

r=silver with that change.
Attachment #168970 - Flags: review?(silver) → review+
Checked in --> FIXED.

This bug fix will be available in the next planned release of ChatZilla, 0.9.67.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
We need a preference for this feature.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to comment #8)
> We need a preference for this feature.

Taking, again. Unless someone feels like doing it within about 5 hours (I need
to finish other stuff first). Shouldn't be too hard to fix. I do have one
question though. Without this patch, we noticed this behaviour:

- Opening a link in an existing window - was not focused
- Opening a link in a new window - was focused

Should the latter be affected by the pref, thus opening the window in the
background while keeping chatzilla focused? (If possible)
(In reply to comment #8)
> We need a preference for this feature.

Most definitely. I want .66e back, but us poor OS/2 users don't get nightlies
nightly. So, even if this got fixed today, I might not see it for a month. :-(
I've already got a patch, just fighting Firefox to test it...

I'm not sure we can do /that/ much with the new window problem, that's kinda out
of our control. (we could re-focus ourselves when the other window is open, but
how would we know when that has opened and stolen our focus?)
How is it handled in mailnews? 
Attachment #168970 - Attachment is obsolete: true
Attachment #169444 - Flags: review?(samuel)
Attachment #169444 - Flags: review?(samuel) → review+
Checked in --> FIXED (again).

I'll be doing a 0.9.67-pre2 with this in shortly.
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: