You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/01/05 23:54:30 UTC

[Bug 121583] New: Vertical scrollbar scroll bar miscalculations

https://issues.apache.org/ooo/show_bug.cgi?id=121583

            Bug ID: 121583
        Issue Type: DEFECT
           Summary: Vertical scrollbar scroll bar miscalculations
    Classification: Application
           Product: word processor
           Version: AOO 3.4.1
          Hardware: Mac
                OS: Mac OSX, all
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ui
          Assignee: issues@openoffice.apache.org
          Reporter: beingofassistance@yahoo.com
                CC: issues@openoffice.apache.org

This is an attempt to clarify the problems I see reported in Bug # 121266.

The vertical scroll bar on the mac version in a word processor window has an
area at the bottom reserved for several buttons. Thus the whole height of the
window is not used for the scroll bar. In all likelihood, these size of these
buttons was not understood and threw off some calculations regarding the usable
area of the scroll bar. 

In this shorter scroll bar range, the visible thumb actually can appear in any
position, as it should. (However, it looks like a slight miscalculation of
thumb position allows it to overlap the top pixels of the buttons below it when
the thumb is in its bottom-most position.)

Now, even though the visible position of the thumb seems to be nearly correct
in its use of the visible space, the clickable area of the vertical scroll bar
is more restricted. This has some curious effects. The mapping of the clickable
range onto the visible range causes the thumb to be under your mouse when the
mouse is at the top of the scroll bar. However, as the mouse moves further
toward the bottom of the scroll bar, the visible thumb starts to move further
and further BELOW the mouse. By grabbing the thumb when it as at the top of the
scroll bar and dragging it slowly down, you can see that the thumb moves
progressively more and more below the cursor. In this way, you can discover the
approximate clickable range and how much it differs from the space in which the
scroll bar thumb moves.

When the visible thumb is at the bottom, you cannot "grab" it with the mouse,
since it is outside the clickable range. The user must guess at the where the
bottom of the clickable range is and click there to be able to grab the thumb.
The thumb then tracks the mouse, but is not visibly overlaid by the mouse until
the mouse approaches the top of the scroll bar. 

This explains some effects described in Bug # 121266. There can be a "dead
zone" above the visible thumb when it as the bottom of the scroll bar, since
the miscalculated clickable range ends some distance above the thumb.
Strangely, there are two clickable areas (one for scrolling up and another for
scrolling down) which fall below this dead zone and even span the visible thumb
when at the bottom of the scroll bar. Perhaps these are byproducts of some code
intended to support a different scrolling mechanism on a different platform.

Also, if one has the visible thumb in the middle of the scroll bar, and the
system preferences are set so a click on one side of the thumb jumps in that
direction by one page, the results can be very confusing, since the program
thinks the visible thumb is in a different location from where it appears on
the screen. Thus, on the screen, the user thinks he is clicking above the thumb
but the program thinks he is clicking below it.

I see that this bug appears in a previous version of OpenOffice, which I've
been using (3.3.0). In addition, the same bug appears in LibreOffice. Hence, it
must date back to some code common to these products. 

This bug is an annoyance. However, it works in a predictable fashion, if you
understand how it arises. I find that having my system preferences set to
position the document to a relative location on a click anywhere in the scroll
bar minimizes the problems.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

--- Comment #6 from raupe27k@bayern-mail.de ---
To clarify the scope of the scroll bar bug in Apache OpenOffice:
It affects not only Writer but all scroll bars in the whole office suite.
E.g. you can observe it in menus "Preferences > OpenOffice > Appearance" and
"Preferences > Language Settings > Writing Aids". The bug is also visible in
drop-down menus for font and font size in Writer and Calc.

Nevertheless, if you want to verify that the LibreOffice patch didn't fix the
scroll bar bug completely, in LibreOffice 4.1.3.2 you better examine the scroll
bar of a 70 pages document in Writer, because in many other menus the scroll
bar seems to behave bug-free with the LibreOffice patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

--- Comment #4 from raupe27k@bayern-mail.de ---
Since it was reported in the above discussion about LibreOffice's Bug 46271,
that the patch alleviated the bug but didn't fix it completely, it could be
useful to examine the source code of the NeoOffice patch. Maybe the NeoOffice
patch solves the problem better than the LibreOffice patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Issue 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

--- Comment #12 from raupe27k@bayern-mail.de ---
The scroll bar bug has been greatly alleviated in Apache OpenOffice 4.1.1:
The visible area of the scroll bar matches the actual clickable area of the
scroll bar now.
Only a minor problem remains: 
Independently of the current position of the scroll bar, the actual clickable
area of the scroll bar is a little bit below the visible scroll bar; therefore
the uppermost edge of the visible scroll bar isn't clickable, whereas you can
click below the visible scroll bar and still get hold of it.
Ironically in LibreOffice this minor problem is reverse: according to the
following screenshot, in LibreOffice the actual clickable area of the scroll
bar is a little bit ABOVE the visible scroll bar:
http://img844.imageshack.us/img844/6521/jdkc.png
In the end this minor problem isn't very severe and already now it's possible
to work with Apache OpenOffice 4.1.1 under OSX 10.7 smoothly. Many thanks!

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

[Issue 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

raupe27k@bayern-mail.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|raupe27k@bayern-mail.de     |

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

[Issue 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

JD Moyer <jo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johndavidmoyer@gmail.com

--- Comment #11 from JD Moyer <jo...@gmail.com> ---
Around page 100 in my document the scroll bar becomes very difficult to grab
and drag. At the top of the document it works fine, but the farther down I am,
I need to click a small area about 1/4" above the gray oval in order to drag it
up or down (very easy to miss).

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

Rob Weir <ro...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|issues@openoffice.apache.or |chaudhry244@gmail.com
                   |g                           |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

--- Comment #5 from raupe27k@bayern-mail.de ---
Out of curiosity, i have installed on my Mac OSX 10.7.5 both NeoOffice 3.3
(Patch 0) and LibreOffice 4.1.3.2.
In LibreOffice 4.1.3.2 i opened a 70 pages document and the scroll bar behaved
as described by the creator of "Comment 30" on
https://bugs.freedesktop.org/show_bug.cgi?id=46271
See also his screenshot at http://img844.imageshack.us/img844/6521/jdkc.png
When i was between page 1 and 69 and i clicked on the lower edge of the scroll
bar, the page "jumped" a bit downwards before i was able to get a hold of the
scroll bar with my mouse. And this hold was not very strong, because the
dragging speed downwards was quite low and the distance between mouse pointer
and scroll bar became greater and greater; dragging upwards wasn't possible at
all. Only when i grabbed the scroll bar at its middle or upper part, the
scrolling was ok.
So the LibreOffice patch indeed just alleviated the scroll bar bug but didn't
fix it completely. 

Contrary to this, the NeoOffice patch fixed the scroll bar bug completely: in
NeoOffice i can click on the lower edge of the scroll bar and the page does not
jump downwards but i get a strong hold of the scroll bar immediately and can
drag it both upwards and downwards.
Therefore it would be desirable to include the NeoOffice patch in both
LibreOffice and Apache OpenOffice.
Here's some info about the NeoOffice patch again:
http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=8366
(I suppose that it hasn't been altered since its first appearance in NeoOffice
3.2 Patch 5).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

raupe27k@bayern-mail.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |raupe27k@bayern-mail.de

--- Comment #3 from raupe27k@bayern-mail.de ---
I use Apache OpenOffice 4.0.1 under OS X 10.7.5 and can confirm this bug.
I also noticed this bug in Apache OpenOffice Versions 3.4.0, 3.4.1 and 4.0.0.

The same bug appeared in LibreOffice and was numbered there as Bug 46271:
https://bugs.freedesktop.org/show_bug.cgi?id=46271
Since there was made a patch for LibreOffice's Bug 46271, maybe it's possible
to apply this patch to Apache OpenOffice as well.
Here's a shortcut to an illustration of the bug which was made by the creator
of "Comment 3" in the discussion about Bug 46271:
https://bugs.freedesktop.org/attachment.cgi?id=61634

Furthermore, in a discussion about NeoOffice 3 this bug was mentioned and
patched too:
http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=8366

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

Rob Weir <ro...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|chaudhry244@gmail.com       |issues@openoffice.apache.or
                   |                            |g
         QA Contact|                            |chaudhry244@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

--- Comment #7 from raupe27k@bayern-mail.de ---
I better correct my last sentence above:
In many other menus the scroll bar does NOT behave bug-free with the
LibreOffice patch, because dragging upwards isn't possible if i click on the
lower edge of the scroll bar. Many other menus just don't show the additional
phenomenon that the distance between mouse pointer and scroll bar becomes
greater and greater when i drag downwards further and further.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Issue 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

Noibs <sc...@newmanmail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |scott@newmanmail.net

--- Comment #10 from Noibs <sc...@newmanmail.net> ---
Brief comment.  I was the person who first reported this bug in LibreOffice. 
There is currently a different bug in the latest versions of LibreOffice that
is particularly affecting me. I just downloaded the most recent version of
OpenOffice and was surprised to see the scrollbar bug still present for Mac
users running later versions of Mac OS X. 

I was considering returning to OO but I work with really large Writer documents
and the scrollbar bug is worse than the other bug I'm dealing with in
LibreOffice. Bummer.

Since it's been fixed in NeoOffice and LibreOffice I guess I can hope that it
will eventually be fixed in OO.

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.
You are watching all issue changes.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

rob001 <rj...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rjcord1@gmail.com

--- Comment #1 from rob001 <rj...@gmail.com> ---
FWIW I first noticed it after upgrading to Mac OSX Mountain Lion.  I upgraded
to v3.4.1 and it's still there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

emmanuel lecharny <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |elecharny@apache.org

--- Comment #2 from emmanuel lecharny <el...@apache.org> ---
*** Bug 121266 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

Rainer Bielefeld <ra...@bielefeldundbuss.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.apache.org/o
                   |                            |oo/show_bug.cgi?id=121266

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

--- Comment #8 from raupe27k@bayern-mail.de ---
Some more info about the scope of the scroll bar bug in Apache OpenOffice:
The scroll bar bug is not limited to long documents, but already can be
observed in shorter documents. The following observations can be made if the
scroll bar is in its lowest position:
in a Writer document which is only 1 page long, the lowest 20th part of the
scroll bar isn't clickable with the mouse.
If you create more pages in this Writer document, the not clickable part of the
scroll bar increases. Finally, in a Writer document which is 8 pages long, the
whole visible scroll bar isn't clickable anymore, because the "true" invisible
scroll bar is completely located above it.

While people in NeoOffice and LibreOffice forums only mentioned problems in
long documents, the NeoOffice bug and LibreOffice bug most probably affected
short documents in these office suites too.

For informational purposes, here's a Wiki entry about NeoOffice 3.2 Patch 5
which fixed the scroll bar bug completely:
http://neowiki.neooffice.org/index.php/NeoOffice_3.2_Release_Notes
http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=8366

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 121583] Vertical scrollbar scroll bar miscalculations

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121583

--- Comment #9 from raupe27k@bayern-mail.de ---
Regarding the source code of NeoOffice, i've found this site map:
http://neowiki.neooffice.org/index.php/NeoOffice_Build_Instructions
Among its links, the following sites seem to be especially interesting:
http://www.neooffice.org/neojava/en/build.php#source
http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=18560#18560
http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=25404#25404
http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=18919#18919

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.