Closed Bug 257011 Opened 16 years ago Closed 16 years ago

advanced.system.supportDDEExec pref ineffective


(Firefox :: General, defect)

Windows XP
Not set





(Reporter: danm.moz, Assigned: benjamin)



Mozilla is supposed to reuse an extant window to open an URL handed it from an
external application if the pref

user_pref("advanced.system.supportDDEExec", true)

has been set (this is the default value). Recent trunk builds of Firefox seem to
always open URLs in a new window, as if the pref were set to false, regardless
of its setting. Restoring this functionality would arguably fix the largest part
of bug 172962.

NB: Surprisingly I couldn't find this bug among the bunches of already opened
DDE bugs. The DDE/Single-Window universe is a complicated place, with extensions
and OS settings and I don't know what else all vying for attention. I suspect
this behaviour was lost while fixing something else but it's kind of sorely missed.
Note Firefox 0.9.3 is also affected.
I don't understand why a pref named "SupportDDEExec" would affect whether we
open in a current window or a new window. Maybe it's just historical accident. I
specifically removed this code from Firefox during semi-single-profile work
because in Seamonkey the behavior is non-deteministic, depending on whether you
have already selected a profile or not (which affects the pref, though there is
no pref observer).

How does this change the codepaths that are being used? I told Blake that this
might be affecting the bug where firefox opens two windows, and he had dome some
hacking in this code... we should ask him what he found.
Whiteboard: DUPEME
Flags: blocking-aviary1.0?
Since you removed the code, this one's yours, Benjamin. BTW I agree it's the
most unlikely name for a preference controlling whether the browser opens a new
window. As far as I know that was the only effect of this code.
Assignee: general → bsmedberg
Component: Browser-General → General
Product: Browser → Firefox
Whiteboard: DUPEME
On the other hand the new-window-or-not functionality is being taken over by bug
172962. Closing WONTFIX and dependent on that bug.
No longer blocks: 172962
Closed: 16 years ago
Depends on: 172962
Resolution: --- → WONTFIX
Flags: blocking-aviary1.0?
You need to log in before you can comment on or make changes to this bug.