To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=52176


User af changed the following:

                  What    |Old value                 |New value
================================================================================
                    Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Tue Jul 19 08:08:25 -0700 
2005 -------
This bug is due to a recent change that was made for accessibility: When the
slide sorter (window) gets the focus, the focus rectangle is managed by the
slide sorter.  Together with the behaviour that the focused slide is moved into
the visible area this lead to the observed problem.

What happens in detail is this:
1. The user clicks on an unselected slide in the slide sorter.
2. The old implementation in ViewShell::MouseButtonDown() grabs the focus to the
window of the view shell.
3. The new code of the accessibility fix mentioned above in
SlideSorterController reacts to this in telling its FocusManager to take care of
the focus.
4. As a result the focus rectangle is displayed and the focused slide is moved
into the visible area.
5a. So far so good.  If the focus would be moved to the slide under the mouse
the only ill effect would be the focus rectangle being visible.  This violates
the rule that the focus indicator is only displayed when an object is focused
via the keyboard, not via the mouse.
5b. But the focus is not moved.  This makes the first slide focused by default
and explains the scrolling up: the first slide, now focused, is being made 
visible.



This chain has two potential problems.  One is to not move the focus to the
slide under the mouse. However, the focuse in StarOffice/OpenOffice is usually
not modified with the mouse but with the keyboard so this behaviour is OK.  

The other problem is the ViewShell::MouseButtonDown() method grabbing the focus
to the view shell window.  This may be OK for the main ViewShell (that is
displayed in the center pane) but is not for the slide sorter in the left pane.
 It moves the focus away from the center pane without a very good reason and
makes the focus indicator visible as a result of a mouse operation.
Changing this will be the best way to resolve this issue.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to