After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 124641 - centered-focus-tracking for magnifier is requested
centered-focus-tracking for magnifier is requested
Status: RESOLVED FIXED
Product: gnopernicus
Classification: Deprecated
Component: magnifier
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Adi Dascal
Adi Dascal
AP4
Depends on:
Blocks:
 
 
Reported: 2003-10-15 09:01 UTC by Chandrashekhar. Korlahalli
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Chandrashekhar. Korlahalli 2003-10-15 09:01:28 UTC
Description:
  . Focused menu items are always shown near the bottom line of magnifier 
window. Hence. it is not properly seen on magnifier window. If it is tried 
to re-adjust the position in magnifier window, the focus moves to the next 
item on the menu.


Expected: The focussed item or mouse pointer pointed area should be 
magnified & displayed in the middle of the magnifier window.
Comment 1 bill.haneman 2003-10-20 13:33:53 UTC
there are different focus-following mechanisms, 'centered' is only one
possible tracking algorithm. 

This bug is either NOTABUG, or it's an RFE for more options regarding
focus-tracking behavior, unless we can demonstrate that the
expected/documented tracking behavior isn't being adhered to.

Adi, what do you think?
Comment 2 Calum Benson 2003-10-21 14:39:31 UTC
Apologies for spam; adding accessibility keyword to gnopernicus bugs so they
show up in the right place on our buglist.
Comment 3 Adi Dascal 2003-10-22 13:58:37 UTC
"Focused menu items are always shown near the bottom line of magnifier 
window."
This is NOT true. This is NOT an ALWAYS case, but "IN SOE CASES"

"Hence. it is not properly seen on magnifier window."
What do you mean by this? Why aren't they properly seen?Even if the
focused object is at the bottom it can be seen.

"If it is tried to re-adjust the position in magnifier window, the
focus moves to the next item on the menu."
What position are yo talking about? The position of the mouse?
OR do you mean that you are moving the focus to the next menu item.
In case that you are moving the focus to the next menu item the
behavior is the expected one.



"Expected: The focussed item or mouse pointer pointed area should be 
magnified & displayed in the middle of the magnifier window."
I totally disagree, because the magnifier movement will be very jerky.
If we would use a centered-focus-tracking then, for sure, the movement
will be jerky (I've tested this at some point in development). It is
still possible to offer this to the user, especially that there is
code for the centered-focus-tracking (but no GUI), BUT I find it jerky.

I will explain you the current tracking of the magnifier.
There are 2 types of tracking modes:
1. focus tracking
2. mouse tracking (here there are 3 subtypes : centered, push,
proportional)

1. focus tracking
-----------------
The focus tracking is following the focus object. 
-If the bounding rectangle of the focus object are already magnified
and totally visible then the magnified area won't move.
-If the focus object is clipped to the left (so only its right part is
visible) then the magnified area will move to the left, making the
focused object to be inside the magnified area. 
-If the focus object is clipped to the right (so only its left part is
visible) then the magnified area will move to the right, making the
focused object to be inside the magnified area. 
-If the focus object is clipped on the top (so only its bottom part is
visible) then the magnified area will move up, making the focused
object to be inside the magnified area. 
a. 
-If the focus object is clipped on the bottom (so only its top part is
visible) then the magnified area will move down, making the focused
object to be inside the magnified area. - I THINK THIS IS THE CASE
THAT YOU ARE DESCRIBING
-If the focus object is out (not visible at all) then the magnified
area will move in such way that the movement will be the minimum.

The algorithm described here is similar to the "push" mode of the
"mouse tracking".

2. mouse tracking
-----------------
2.1. centered : the mouse pointer will always be in the center of the
magnified area.
2.2. push: if the mouse pointer is inside the magnified area then no
change occurs (besides drawing the cursor).If the mouse gets out of
the magnified area then the magnified area will follow it.
2.3 . proportional : the mouse is indicating the position relative to
the desktop.

Comment 4 Adi Dascal 2003-10-24 11:09:51 UTC
I think that this bug is a RFE.
Comment 5 Adi Dascal 2003-11-11 13:50:28 UTC
The feature is available now in CVS HEAD.

The magnifier focus-tracking can be selected, and the user can choose
from 
* "Auto" : the only focus tracking that was available until now (a
smooth movement)
* "Centered" : the feature required in this bug 
* "None" : no focus tracking will be done in this case:
   a. the zoomer will be locked on the area given by mouse tracking
(if mouse tracking is diffrent from "none" at startup time)
   b. the zoomer will be locked on the  left corner of the desktop,
(0,0), in the case that mouse tracking is "none" at launch time.
Note:when the mouse tracking will be changed to something else than
"none" -> a.