Closed Bug 314814 Opened 19 years ago Closed 19 years ago

Not all links that open new windows are diverted

Categories

(Firefox Graveyard :: Help Documentation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 2

People

(Reporter: u60234, Assigned: steffen.wilberg)

Details

(Keywords: fixed1.8.1, verified1.8.0.1)

Attachments

(1 file, 1 obsolete file)

Bug 313300 changed the default value for the browser.link.open_newwindow.restriction pref so that windows with specific features are no longer diverted with the "Force links that open new windows to open in:" option.

Lacking a proper label for this option, it would be good to at least have this exception explained in the Help documentation.
I might be able to get to this, but right now I'm not sure.  Tentatively targeting this at 1.5 as it doesn't look difficult and will probably confuse people...
Target Milestone: --- → Firefox1.5
Attached patch patch v1.0 (obsolete) — Splinter Review
This only applies to the "open in a new tab", not to the "open in the same tab" setting.
Assignee: nobody → steffen.wilberg
Status: NEW → ASSIGNED
Attachment #201964 - Flags: review?(jwalden+fxhelp)
Comment on attachment 201964 [details] [diff] [review]
patch v1.0

>+    If you have chosen to open links in new tabs, &brandShortName; will
>+    nonetheless open them in a popup window if the page author has specified
>+    that the popup should appear as a certain size.</p>

This feels stilted, particularly the "nonetheless" part.  I really feel that the whole idea we're trying to convey here is completely "ugh"; I remember going through exactly this confusion back when I first read about the preference after it had been checked into the source code.  Does the following sound any better, at all?  If you think it does, I think we can add this where you made your addition, style it so it looks like the rest of our "Note:"s do, and ask for approval:

Note: if you have chosen to open links in new tabs, &brandShortName; will ignore this &pref.singular; and will open a new window from a link if the page author specifies that the new window should have a specific size, because some pages can only be displayed correctly at a specific size.

This exception, while well-intentioned and probably for the better, is really starting to annoy me.
Attachment #201964 - Flags: review?(jwalden+fxhelp) → review-
Attached patch patch v1.0.1Splinter Review
The name of the pref doesn't completely match the UI, which makes it unpleasant to document, but I like the new behaviour.
Your suggestion is indeed an improvement, and it tries to explain the behaviour. We're too late for RC2 anyway, so have a second look.
Attachment #201964 - Attachment is obsolete: true
Attachment #202552 - Flags: review?(jwalden+fxhelp)
Comment on attachment 202552 [details] [diff] [review]
patch v1.0.1

The change from "specifies" to "specified" makes sense to me, as the page (or page code) would have been written before the user actually saw it.  Also, for the record, I think I have this behavior enabled in my user.js, so what dislike I do have for it is more from a consistency standpoint than anything else.

Sorry about being slow on the review; I've been moderately busy recently, but last week was truly horrible.
Attachment #202552 - Flags: review?(jwalden+fxhelp) → review+
> so what dislike I do have for it is more from a consistency standpoint than anything else.
Indeed!

Trunk checkin:
Checking in mozilla/browser/locales/en-US/chrome/help/prefs.xhtml;
/cvsroot/mozilla/browser/locales/en-US/chrome/help/prefs.xhtml,v  <--  prefs.xhtml
new revision: 1.42; previous revision: 1.41
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: Firefox1.5 → Firefox1.6-
Attachment #202552 - Flags: approval1.8.0.1?
Comment on attachment 202552 [details] [diff] [review]
patch v1.0.1

Please land on 1.8 and 1.8.1 branches.
Attachment #202552 - Flags: approval1.8.1+
Attachment #202552 - Flags: approval1.8.0.1?
Attachment #202552 - Flags: approval1.8.0.1+
Checked into 1.8 and 1.8.0 branches.
verified landed in build 2006010904 (mac)
verified on mac, build 2006011103 (a 1.8.0.1 build)
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: