Bug 100940 - Clicking the right mouse button scrolls a page
Summary: Clicking the right mouse button scrolls a page
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 132839 (view as bug list)
Depends on:
Blocks: Writer-View-Jumps
  Show dependency treegraph
 
Reported: 2016-07-15 22:31 UTC by fiftyigfuci_f_mi
Modified: 2023-07-09 22:46 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fiftyigfuci_f_mi 2016-07-15 22:31:06 UTC
Steps:
Shrink a Writer's window, or zoom in a page > Scroll the page downward > Click a right mouse button

Actual results:
It's scroll the page upward.

Expected results:
The page don't move.
Comment 1 Aron Budea 2016-07-15 23:11:12 UTC
Reproduced in Windows 7, even with 3.3.0 version.

Reducing importance, since it doesn't affect ability to do high quality work.
Comment 2 QA Administrators 2018-05-27 02:32:29 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2020-05-27 03:41:00 UTC Comment hidden (obsolete)
Comment 4 Thomas Lendo 2020-09-25 18:14:53 UTC
*** Bug 132839 has been marked as a duplicate of this bug. ***
Comment 5 Thomas Lendo 2020-09-25 18:31:27 UTC
The issue here is:

Behind the fact that the view jumps or does not jump, the caret is moving to the text line where the user does the right click with the mouse (or to the last line of the page if the user clicks in an area where no text lines are available).

If the whole page is filled with paragraphs and the caret (blinking text cursor) is on a part of the page that is out of the current view, then a context menu appears and the view isn't jumping. But the caret is moving to the line where the user does the right click.

If the last text lines is somewhere in the page (or there is only a single line at the top of the page) and the user scrolls down so that the caret isn't in the view anymore, then a right-click make the view jumping towards the last text line. The caret isn't visible then due to the open context menu. But you can see the caret if clicking on the title bar of the Writer window. then you can see that the caret also has jumped to the last text line together with the view.)


Tested with different versions from LibO 3.3.0 up to
Version: 7.1.0.0.alpha0+
Build ID: 83aa172697c11a9550c27a28f8e62b523ec7086d
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-09-10_21:26:34
Comment 6 Telesto 2020-09-26 12:12:50 UTC
Is this again a duplicate of bug 49259?
Comment 7 Thomas Lendo 2020-09-26 14:01:38 UTC
(In reply to Telesto from comment #6)
> Is this again a duplicate of bug 49259?
I assume it's related but not a duplicate. The mentioned bug is for right-clicking on objects and following view jumps. This is for right-clicking to "nothing" and following view jumpgs.
Comment 8 Telesto 2020-09-26 14:05:03 UTC
(In reply to Thomas Lendo from comment #7)
> (In reply to Telesto from comment #6)
> > Is this again a duplicate of bug 49259?
> I assume it's related but not a duplicate. The mentioned bug is for
> right-clicking on objects and following view jumps. This is for
> right-clicking to "nothing" and following view jumpgs.

True, but both jump to cursor. As the image is attached to first paragraph etc..
But of course.. there is a possibility that's defined by different area in the code
Comment 9 QA Administrators 2022-09-27 03:31:12 UTC Comment hidden (obsolete)
Comment 10 Thomas Lendo 2023-07-09 22:46:19 UTC
Still repro with
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 77fca616e0bd79e0b405fd0b3543cf8e94e15df3
CPU threads: 2; OS: Linux 5.8; UI render: default; VCL: gtk3