Bug 123668 - Cursor focus moves outside Quick find bar when reaching results in Notes view
Summary: Cursor focus moves outside Quick find bar when reaching results in Notes view
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86 (IA32) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Find-Toolbar
  Show dependency treegraph
 
Reported: 2019-02-23 19:07 UTC by David F Smith
Modified: 2023-04-21 13:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test presentation, as described. (11.47 KB, application/vnd.oasis.opendocument.presentation)
2019-02-23 19:07 UTC, David F Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David F Smith 2019-02-23 19:07:18 UTC
Description:
When a find operation switches from slides to notes, or vice versa, the found text is selected for deletion or replacement.  This is probably related to bug 123665.



Steps to Reproduce:
I first created a test presentation (attached) with the following three slides:
Slide Title   Slide Notes
  Slide 1     First page of notes
              This is the first slide of three
  Slide 2     Second page of notes
              This is the second slide of three
  Slide 3     Third page of notes
              This is the third slide of three

1. In the slide pane, click on the first slide.  Click on the Normal tab to display the slide.

2. Choose Edit / Find, or press Ctrl-F.  In the search box, type "slide" (without the quotes) and click the "find next" button (the large down-arrow in the Find toolbar at the bottom of the screen).  The word "Slide" is highlighted.
This is correct.

3. Continue clicking the "find next" button until the notes view of slide 1 is displayed.  (Nothing is highlighted -- see 123665.)

4. Click the "find next" button again.  "Slide" is highlighted, and there is a blinking vertical-bar cursor after the word.  Pressing Enter or any other key at this point causes the word "slide" to be replaced by whatever is typed.


Actual Results:
See above.  Behavior is inconsistent: on the slides, the highlighted text will not be deleted on pressing Enter.  (In fact, Enter acts the same as "find next.")  On the notes, the highlighted text, with the blinking cursor, will be deleted by Enter.  This is different from text searches in Writer, in which Enter and "find next" work identically and the found text never shows a cursor.

Note that a similar thing happens if the search is started when Notes is displayed: when the search switches to Normal slides, the next highlighted result includes a cursor.


Expected Results:
I expected the text found by the search to be selected, but not to be deleted if I press Enter.



Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 6.1.5.2 (x64)
Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: en-US (en_US); Calc: group threaded
Comment 1 David F Smith 2019-02-23 19:07:55 UTC
Created attachment 149547 [details]
Test presentation, as described.
Comment 2 Durgapriyanka 2019-02-28 21:19:11 UTC
Thank you for reporting the bug.I can reproduce the bug.

Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 3 Buovjaga 2019-04-06 17:33:23 UTC
It used to be worse: in 4.3.0 and older Enter replaces the text even in Slide view.

Also repro on Linux.

Potentially an accessibility issue, so keeping severity as normal.

Arch Linux 64-bit
Version: 6.3.0.0.alpha0+
Build ID: 558956dc811a1f0f07411e348f7081a467bbc3b5
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 4 April 2019
Comment 4 QA Administrators 2021-04-20 03:54:27 UTC Comment hidden (obsolete)
Comment 5 David F Smith 2021-04-20 14:02:12 UTC
Retested this bug, which is probably related to bug 123665.  The behavior is exactly the same as in my original report.

Version: 7.0.5.2 (x64)
Build ID: 64390860c6cd0aca4beafafcfd84613dd9dfb63a
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 6 QA Administrators 2023-04-21 03:27:22 UTC Comment hidden (obsolete)
Comment 7 David F Smith 2023-04-21 13:29:07 UTC
I have retested under 7.4.6.2, and now the results are exactly what I expect.  I have changed the status to RESOLVED-WORKSFORME.

Thank you.

Version: 7.4.6.2 (x64) / LibreOffice Community
Build ID: 5b1f5509c2decdade7fda905e3e1429a67acd63d
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded