second Modal UI in npapi is not focused(first-UI is focused, third-fourth... is not focused)

UNCONFIRMED
Unassigned

Status

()

Firefox
General
UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: JinwooJung, Unassigned)

Tracking

4.0 Branch
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.3; Media Center PC 6.0; Tablet PC 2.0; .NET4.0C)
Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

I'm inquire about some feature that look like bug at firefox4.
following the source code, 

// NPP_SetWindow or other npapi function.
NPError NPP_SetWindow (NPP instance, NPWindow* pNPWindow)
{
        // messagebox function is win32 api
	Messagebox(...);  // parent is firefox4 window handle
	// focus of first UI is good.
	Messagebox(...);  // parent is firefox4 window handle
	// focus of second UI is bad.
	// firefox4 browser is focused. Modal UI is not Focuesd
	Messagebox(...);  // parent is firefox4 window handle
	// focus of third UI is bad.
	// firefox4 browser is focused. Modal UI is not Focuesd
	...
}

you can see the abnormal process that is : 

the first Modal UI working successfully, but focuses of the second & third Modal UI are not set as activity. 

if I drag the Modal UI, I can move position of UI. but some actions as choosing the list, clicking the button, etc.. it dose not respond to me. I can put input value to browser by typing the keyboard, but I cannot put input value to UI. actually focus is not served for UI, but served for browser. 

And when I click other space except UI at browser, it is available to focus on the UI so I can insert input value by typing keyboard, click the button and else.., 

l did take forceful steps that give focus or Active to Modal, it was not working... 

until version FF 3.6 it was working normally. but after upgrade version to FF4, it occur the error such as I described(OS:MS Windows xp, vista, 7)... 

Reproducible: Always

Steps to Reproduce:
1. Make npapi plug-ins for windows
2. enter WebPage and loading plug-ins
3. called npapi or other npapi function.

Actual Results:  
first Modal UI is focused (browser is not focused)
second Modal UI is not focused. (browser is focused)
third Modal UI is not focused. (browser is focused)
fourth Modal UI is not focused. (browser is focused)

Expected Results:  
first Modal UI is focused (browser is not focused)
second Modal UI is focused. (browser is not focused)
third Modal UI is focused. (browser is not focused)
fourth Modal UI is focused. (browser is not focused)

... sorry. 
i'm speak english a little....

Updated

7 years ago
Version: unspecified → 4.0 Branch
You need to log in before you can comment on or make changes to this bug.