Bug 158886 - Drag-and-drop selection of text with the mouse no longer shows highlight, or leaves a trail of highlight and cursors (macOS)
Summary: Drag-and-drop selection of text with the mouse no longer shows highlight, or ...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.9.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks: macOS-UI-polish Selection
  Show dependency treegraph
 
Reported: 2023-12-27 12:12 UTC by mmclean2006
Modified: 2024-05-10 10:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of lack of highlight, trail in its place (393.21 KB, image/png)
2023-12-28 22:59 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mmclean2006 2023-12-27 12:12:46 UTC
Description:
After upgrading to 7.6.4.1. on Mac OS 12.6.8m selecting text with the mouse no longer highlights the text.  Additionally, the cursor often appears in multiple locations (although it is really only in one). 

Steps to Reproduce:
1.Open existing Write document
2.Scroll down
3.Click and hold the mouse button as to highlight text.

Actual Results:
Text does not appear to be selected, even though it often is.

Expected Results:
For the cursor to highlight the text.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 4; OS: Mac OS X 12.6.8; UI render: Skia/Raster; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2023-12-28 22:58:02 UTC
Reproduced:

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 2; OS: Mac OS X 13.2.1; UI render: Skia/Raster; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Same with "use Skia for all rendering" turned off (i.e. with "UI render: default").

Even after releasing the mouse button, the broken trail of small highlight chunks and cursors continues.
Comment 2 Stéphane Guillou (stragu) 2023-12-28 22:59:46 UTC
Created attachment 191619 [details]
screenshot of lack of highlight, trail in its place

Note that the text is indeed highlighted, as pressing Backspace removes it. It's the visual feedback that's badly broken.
Comment 3 Stéphane Guillou (stragu) 2023-12-28 23:14:14 UTC
Also in 7.5.9:

Version: 7.5.9.2 (X86_64) / LibreOffice Community
Build ID: cdeefe45c17511d326101eed8008ac4092f278a9
CPU threads: 2; OS: Mac OS X 13.2.1; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Not in 7.3.3:

Version: 7.3.3.2 / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 2; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

-> regression
Comment 4 Telesto 2023-12-29 00:04:02 UTC
I don't reproduce
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 40617d867346956588ac023511f31210107217f4
CPU threads: 8; OS: macOS 13.6.3; UI render: Skia/Metal; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

It sounds like a variant of bug 155266, IMHO. Reverting to 7.6.3 should solve the issue until the release of 7.6.5
Comment 5 Stéphane Guillou (stragu) 2024-05-09 02:04:02 UTC
The very similar bug 153306 (for Skia/Vulkan) is fixed in 24.2.3. mmclean, please test 24.2.3 and report back if the issue is resolved for you too, in which case we could mark as a duplicate (although earliest version affected does not match).
(I don't have the same macOS installation as I had in comment 1 so can't test again reliably.)
Comment 6 steve 2024-05-09 08:48:20 UTC
Unable to reproduce Version: 24.8.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: 92815f3a464b447898ecf52492247335228e4a72
CPU threads: 12; OS: macOS 14.4.1; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 7 Stéphane Guillou (stragu) 2024-05-10 03:35:29 UTC
Tested on Catalina. Reproduced in:

Version: 7.5.9.2 (X86_64) / LibreOffice Community
Build ID: cdeefe45c17511d326101eed8008ac4092f278a9
CPU threads: 4; OS: Mac OS X 10.15.7; UI render: default; VCL: osx

Resolved in:

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 4; OS: macOS 10.15.7; UI render: default; VCL: osx

Also good with Skia on:

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 4; OS: macOS 10.15.7; UI render: Skia/Raster; VCL: osx

Because 24.2.2 is good, and we're looking at Skia/Raster and Skia off, let's keep separate from bug 153306 and mark as "works for me".
Thanks everyone!