Bug 147067 - Option-click in a Mac scroll bar does not work properly
Summary: Option-click in a Mac scroll bar does not work properly
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: Other All
: medium enhancement
Assignee: Patrick (volunteer)
URL:
Whiteboard: target:25.8.0 target:24.8.5 target:24...
Keywords:
Depends on:
Blocks: Scrollbars
  Show dependency treegraph
 
Reported: 2022-01-30 00:23 UTC by Keith Johnson
Modified: 2024-12-16 09:29 UTC (History)
2 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 Keith Johnson 2022-01-30 00:23:47 UTC
Description:
In most apps, Opt-Clicking in a vertical scroll bar jumps to that location in the document. In LO, that does not happen. An Opt-Click merely jumps up/down a page (if you have it set that way in System Prefs). This has been the case since I started using LO a couple years ago.

Steps to Reproduce:
1. Opt-click in a vertical scroll bar.
2.
3.

Actual Results:
Document moves up or down a single screen/page.

Expected Results:
Document should jump to proportional point in the document, depending on where you Opt-Click.


Reproducible: Always


User Profile Reset: No



Additional Info:
Most Mac apps do NOT do this. I know there is one other that does, but can't recall which one at the moment.
Ver. 7.2.5.2
Build: 499f9727c189e6ef3471021d6
Comment 1 Keith Johnson 2022-01-30 00:25:38 UTC
Sorry: macOS 10.15.7 Catalina, 12 CPU threads
Comment 2 Aleksandra 2022-02-15 12:57:09 UTC
Hello Keith Johnson!

Do you still have this problem with latest version 7.3?
Can you do a screen recording?

Thank you.
Aleksandra
Comment 3 Keith Johnson 2022-02-15 17:55:13 UTC
Yes, I just downloaded 7.3, and it's still happening.

I don't think a screen recording will show much: when I Opt-click in the scrollbar, nothing happens. That would be a boring movie...

--> But, further information: LO is not the only app I have trouble with. About a third of the pre-installed Apple apps I use most often do this, including News, TV, and Music, though other Apple apps work fine. Other apps, including FileMaker Pro and 1Password work fine.

--> AND: I found a tip somewhere that works in LO: click in the scrollbar, but HOLD DOWN the button, and the thumb jumps (in steps!) to the correct position. I think this may be universal, and I just didn't know about it (I've only been using Macs since about 1986...). So this is now less of a problem than it was.
Comment 4 QA Administrators 2022-02-16 03:36:51 UTC Comment hidden (obsolete)
Comment 5 Alex Thurgood 2022-02-16 11:41:09 UTC
Reproduced with 
LibreOffice for Arm Mac Silicon M1
Version: 7.3.0.3 / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 8; OS: Mac OS X 12.2.1; UI render: Skia/Metal; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

Described desired behaviour:
- functions correctly in Word
- doesn't work in Writer, the jumps are either pagewise, or multiple if mouse button kept pressed down.
Comment 6 Alex Thurgood 2022-02-16 11:42:19 UTC
Pretty sure that LO has always behaved this way though, but can't test back to OOo/LO3 as it is no longer supported on Arm architecture (won't run in Rosetta 2).
Comment 7 Patrick (volunteer) 2024-12-12 15:49:00 UTC
I have uploaded a patch that enables "jump to clicked spot" when pressing Option during a left mouse click:

https://gerrit.libreoffice.org/c/core/+/178369

I'll post again once it passes the automated tests and is in the nightly master build.
Comment 8 Commit Notification 2024-12-12 16:52:27 UTC
Patrick Luby committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/94508506e7f6b9e53c77b631c5d7de1e06ff78d9

tdf#147067 Jump to clicked spot if left mouse click with Option key

It will be available in 25.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 Patrick (volunteer) 2024-12-12 16:57:43 UTC
I have committed a fix for this bug. The fix will be in tomorrow's (13 December 2024) nightly master builds:

https://dev-builds.libreoffice.org/daily/master/current.html

Note for macOS testers: the nightly master build installer does not overwrite any LibreOffice official versions. Instead, it will be installed as a separate application called "LibreOfficeDev" in the /Applications folder.

Because this is a "test" build, you will need to do the following steps before you launch the LibreOfficeDev application:

1. Go to the Finder and navigate to the /Applications/Utilities folder
2. Launch the "Terminal" application
3. Paste the following command in the Terminal application window and press the Return key to execute the command:

   xattr -d com.apple.quarantine /Applications/LibreOfficeDev.app
Comment 10 Commit Notification 2024-12-12 18:24:37 UTC
Patrick Luby committed a patch related to this issue.
It has been pushed to "libreoffice-24-8":

https://git.libreoffice.org/core/commit/b4541590a6d5d41e92b9274727d6da887410a344

tdf#147067 Jump to clicked spot if left mouse click with Option key

It will be available in 24.8.5.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 11 Commit Notification 2024-12-12 18:28:44 UTC
Patrick Luby committed a patch related to this issue.
It has been pushed to "libreoffice-24-8-4":

https://git.libreoffice.org/core/commit/7a74370a82fa0abd69556634ce54f7d84cf684e5

tdf#147067 Jump to clicked spot if left mouse click with Option key

It will be available in 24.8.4.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 12 Commit Notification 2024-12-16 09:29:32 UTC
Patrick Luby committed a patch related to this issue.
It has been pushed to "libreoffice-25-2":

https://git.libreoffice.org/core/commit/035830432efac57939b8630e9b4471aa15cf62da

tdf#147067 Jump to clicked spot if left mouse click with Option key

It will be available in 25.2.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.