Bug 140727 - text format toolbar highlight color selector button causes scroll
Summary: text format toolbar highlight color selector button causes scroll
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-View-Jumps Highlight-Color
  Show dependency treegraph
 
Reported: 2021-03-01 08:34 UTC by skyhook
Modified: 2024-04-07 19:54 UTC (History)
1 user (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 skyhook 2021-03-01 08:34:37 UTC
If I enable the highlight colour button in the format toolbar, the mouse cursor will scroll the viewable page, a brief jump, by crossing the toolbar/document regions border.

I believe nothing should happen to the document without a selection in play; the document shouldn't scroll by hover alone, only if I'm including a selection like a mouse button down/drag while pushing the viewable area, or a type of shift-select or discontiguous-select. 

The amount of scroll jump seems unpredictable, but I suspect it is dependent on the time span of a critical moment. If rulers are turned off, it seems to jump farther. The scroll jump is always upwards. I had trouble narrowing down the minimum content required to trigger the effect, but maybe a third of a page, in view unrelated. The cursor's original position within the document doesn't seem related; after border crossing the scroll jumps from the current view. Effect can be repeated; I can scroll an entire document to the top by waving the bucket cursor back and forth over the toolbar/document border. 

To reproduce in Writer:
- create document and content to span at least one page
- scroll down enough so some content is hidden above the viewable area
- select highlight colour button in toolbar; the tool state not the pull down
- move mouse cursor document across the toolbar/document border, will scroll view then change to bucket
- return mouse cursor to toolbar across the toolbar/document border, will scroll view then change to pointer
- rinse and repeat until document top is reached

Workaround: 
Doesn't scroll if I avoid the toolbar/document border. Can accomplish this by dragging the mouse cursor outside the toolbar region across the window border, then back into the document content region across a window side border. Because a workaround is odd but easy, I decided to label this minor. Hard to break the habit though.
Comment 1 Harshita Nag 2021-05-19 03:52:54 UTC
CONFIRMED on Ubuntu 18.04 LTS and LibreOffice 7.0.2.2

Version: 7.0.2.2
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded
Comment 2 QA Administrators 2024-03-27 03:14:15 UTC Comment hidden (obsolete)
Comment 3 skyhook 2024-04-03 15:35:03 UTC
Sorry, can't test or confirm. Hardware/OS/software no longer available to me.
Comment 4 John 2024-04-07 19:54:25 UTC
I found that this does not happen to me unless text is selected on multiple pages. I assume that this would be the desired result, but I am uncertain.

Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 24; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded