Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314396 - [Browser][Mozilla]Can't select text on Web Page
Summary: [Browser][Mozilla]Can't select text on Web Page
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 03:06 EDT by pei na CLA
Modified: 2017-07-04 05:15 EDT (History)
0 users

See Also:


Attachments
Sample code (46.96 KB, application/x-zip-compressed)
2010-05-26 03:26 EDT, pei na CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description pei na CLA 2010-05-26 03:06:25 EDT
Build Identifier: I20080617-2000

It's a weird problem. Sometimes I can't select text in mozilla browser by mouse.

Reproducible: Always

Steps to Reproduce:
To recreate:

1.Download "BrowserSample" project in attachment. 

2. Set  Run configuration for BrowserSample:

 VM args:
-Dorg.eclipse.swt.browser.XULRunnerPath=${you xulrunner path} 

3.Run BrowserSamle as Eclipse Application.

4.Select "Window"->"Show View"->"SWTMozillaView", waiting for web page to load completely.

5.Click the address bar to make sure focus is in address bar.

6. Press F9 to active the Expose. Select another application other than eclipse by mouse click.

7. Press F9 again and switch back to browser window by mouse click.

Result:

You can no longer select text in web page by mouse click. It looks like the whole browser is deactived and can't be activate again by mouse click.

Other information:
This problem is simlar to https://bugs.eclipse.org/bugs/show_bug.cgi?id=162942( [Browser] Textbox on webpage locks up after pushing "Back"  ).

I noticed that some code is added for bug 162942, but this code is *never* trigged on Leopard or SnowLeopard. 


MozillaDelegate.java:

			case OS.kEventClassMouse:
				browser.getShell ().forceActive ();
				((Mozilla)browser.webBrowser).Activate ();
				break;
Comment 1 pei na CLA 2010-05-26 03:26:01 EDT
Created attachment 169939 [details]
Sample code
Comment 2 Lakshmi P Shanmugam CLA 2017-07-04 05:15:44 EDT
Carbon is not a supported platform anymore. Support for Mozilla is dropped for 4.8. Please see Bug 518446 for details.