https://bugs.documentfoundation.org/show_bug.cgi?id=168711
--- Comment #2 from Patrick (volunteer) <[email protected]> --- OK. It looks like my fix for tdf#128600 (Implement handling of macOS "Reverse Conversion" menu item) is causing this bug. If I comment out a part of my fix (see debug patch below), the bug no longer occurs. So I need to see if I can somehow fix this bug without reintroducing tdf#128600: diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm index e927975338e2..2958ea238020 100644 --- a/vcl/osx/salframeview.mm +++ b/vcl/osx/salframeview.mm @@ -2401,8 +2401,10 @@ - (NSRange)selectedRange // 2. If LibreOffice is selected text, return the selected text length // Similar steps in the same order are in // -[SalFrameView attributedSubstringForProposedRange:actualRange:]. +#if 0 if ( [self hasMarkedText] ) return ( mMarkedRange.location == NSNotFound ? NSMakeRange( 0, 0 ) : mMarkedRange ); +#endif NSString *pSelectedText = getCurrentSelection(); if ( pSelectedText ) return NSMakeRange( 0, [pSelectedText length] ); -- You are receiving this mail because: You are the assignee for the bug.
