[Libreoffice-bugs] [Bug 129743] New: XSelectionSupplier::select does not first range of passed multi-range

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 2 17:20:22 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=129743

            Bug ID: 129743
           Summary: XSelectionSupplier::select does not first range of
                    passed multi-range
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com

1. Create a new text document;
2. Type this text: "abc abc abc"
3. Run this BASIC code:

Sub Main
  d = ThisComponent
  f = d.createSearchDescriptor()
  f.SearchString = "abc"
  c = d.findAll(f)
  d.currentController.select(c)
End Sub

Expected result: three pieces of "abc" text selected

Actual result: second and third pieces are selected, but first is not; cursor
blinks after "c" of the first (not selected) occurence of "abc".

Already reproducible with OpenOffice.org 3.3.0 OOO330m20 (Build:9567)

and with Version: 6.4.0.1 (x64)
Build ID: 1b6477b31f0334bd8620a96f0aeeb449b587be9f
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded

Ref.: https://ask.libreoffice.org/en/question/223441

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200102/bd121234/attachment.htm>


More information about the Libreoffice-bugs mailing list