Bug 343872 - Hosted Safari Browser does not keep focussed Element / Selection if deactivated/reactivated or disabled and re-enabled
Summary: Hosted Safari Browser does not keep focussed Element / Selection if deactivat...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.2   Edit
Hardware: Macintosh Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-04-26 11:19 EDT by Dominik ölzl CLA
Modified: 2019-10-06 16:26 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik ölzl CLA 2011-04-26 11:19:16 EDT
Build Identifier: 20110218-0911

The SWT Browser control (SWT 3.6.2) for Safari on Mac does not handle the Focus correctly.

If it looses the focus or if it is disabled and re-enabled, the selection inside the browser gets lost.

Reproducible: Always

Steps to Reproduce:
1. Eclipse: open a HTML File with Text and/or input fields (Open With -> Web Browser)
2. Select some text or set the focus to an input control
3. Set the focus to another desktop window
4. Set the focus back to the Eclipse window
(Alternative for 3. and 4.: Set the focus to another View, and activate the Web Browser-View again)

----

1. Simply host a Safari with the SWT Browser widget, display a simple HTML with Text and/or input fields
2. Select some text or set the focus to an input control
3. Set the focus to another desktop window
4. Set the focus back to the window hosting the browser control

----

1. Simply host a Safari with the SWT Browser widget, display a simple HTML with Text and/or input fields
2. Select some text or set the focus to an input control
3. Disable the web browser control programmatically, e.g. via timer or also a menu (browser.setEnabled(false)) and re-enable it (browser.setEnabled(true)) (maybe called in one step)


In all cases no more text is selected in the browser and a before focussed input control has no more longer the focus.

Works, if hosting the mozilla browser on windows and ubuntu, and ie on windows. i have not tested the behavior of the mozilla browser on mac os-x.
Comment 1 Lakshmi P Shanmugam CLA 2017-07-03 05:16:40 EDT
Bug triaged, visit https://wiki.eclipse.org/SWT/Devel/Triage for more
information.
Comment 2 Eclipse Genie CLA 2019-10-06 16:26:55 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.