| Summary: | [Browser][Mozilla]Can't select text on Web Page | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | pei na <peina> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 3.5 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 169939 [details]
Sample code
Carbon is not a supported platform anymore. Support for Mozilla is dropped for 4.8. Please see Bug 518446 for details. |
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;