Issue 13955

Summary: grabFocus() failing to grab focus...
Product: Writer Reporter: darren.p.kenny
Component: codeAssignee: ru <ralf.unger>
Status: CLOSED FIXED QA Contact: issues@ui <issues>
Severity: Trivial    
Priority: P3 CC: issues, malte_timmermann
Version: OOo 1.1 Beta2Keywords: accessibility
Target Milestone: ---   
Hardware: Other   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description darren.p.kenny 2003-04-30 09:47:52 UTC
Using grabFocus() on elements of a document seems to have problems:

1) On text, if you were originally focused outside the doc area (eg. in
   a combobox), the style information seems to switch correctly but
   the cursor is still located in the comobobox...

2) On Images, the image seems to get the focus (at least the frame around
   it is highlighted and the handlebars - for resize, etc. - for visible).
   

In all cases there is no state-changed:focused event sent (which would be
expected) and the FOCUSED state is not added to the StateSet...
Comment 1 ru 2003-04-30 10:39:13 UTC
.
Comment 2 nospam4obr 2003-05-05 10:45:59 UTC
Seperated (2) to a new task:
http://www.openoffice.org/project/www/issues/show_bug.cgi?id=14107

(1) seems not to be a bridge issue, since the wrapper directly calls
XAccessibleComponent.grabFocus().
Comment 3 openoffice 2003-06-03 10:22:11 UTC
dvo->hbrinkm: Please have a look at this. Ideally, you only need to
add something like GetWindow()->GrabFocus() to the accessible
paragraph's grabFocus() method. 
Comment 4 openoffice 2003-06-04 08:31:05 UTC
.
Comment 5 openoffice 2003-06-05 10:24:41 UTC
review pending
Comment 6 openoffice 2003-06-05 13:37:55 UTC
changed files:
sw/source/core/access/accpara.cxx: 1.54.8.1

reviewed by DVO.
Comment 7 openoffice 2003-06-10 09:15:15 UTC
ready for QA
Comment 8 nospam4obr 2003-06-10 09:29:31 UTC
Please verify.
Comment 9 ru 2003-06-11 14:34:09 UTC
.
Comment 10 ru 2003-06-11 14:34:46 UTC
.
Comment 11 ru 2003-06-13 15:14:30 UTC
.