Closed Bug 516349 Opened 15 years ago Closed 14 years ago

Error for -new-tab function

Categories

(Firefox :: Shell Integration, defect, P1)

Other
Windows CE
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ash, Unassigned)

Details

(Whiteboard: mothballed)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 GTB5 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0,WindowsCE 6.0 en-US,   Firefox/3.6a2pre

使用-new-tab function,他無法在原有的視窗中建立,而會開起另一個firefox 視窗
Use-new-tab function to launch a new tab, however, it can NOT open a new tab when one window exists. It would open a new Window.
 
---------------------------
WCHAR param[256];
            SHELLEXECUTEINFO sei;
            memset(&sei,0,sizeof(SHELLEXECUTEINFO));
            sei.cbSize = sizeof(SHELLEXECUTEINFO);
            sei.fMask=SEE_MASK_NOCLOSEPROCESS;
            sei.hwnd = NULL;
            sei.lpFile = L"\\Program Files\\Firefox\\firefox.exe";

            swprintf(param,L"-new-tab %s",https

             swprintf(param,L"-new-tab %s",https://bugzilla.mozilla.org);
            sei.lpParameters =param;

            sei.nShow = SW_SHOWNORMAL;
            ShellExecuteEx(&sei);
-----------------------------------------

Mozilla/5.0   
WindowsCE 6.0 en-US
Firefox/3.6a2pre


Reproducible: Always

Steps to Reproduce:
(1)add the code (use-new-tab function)
(2)launch FF first
(3)Enter text to search

Actual Results:  
it would launch FF and open a new window.

Expected Results:  
Should open a new tab

Mozilla/5.0   
WindowsCE 6.0 en-US
Firefox/3.6a2pre
OS: Other → Windows CE
Priority: -- → P1
Whiteboard: [nv]
This year we mothballed windows mobile development.  See:

  http://blog.pavlov.net/2010/03/22/stopping-development-for-windows-mobile/

Marking bugs in the windows mobile / windows ce bucket as WONTFIX.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Whiteboard: [nv] → mothballed
You need to log in before you can comment on or make changes to this bug.