CollaboraOnline / online

Collabora Online is a collaborative online office suite based on LibreOffice technology. This is also the source for the Collabora Office apps for iOS and Android.
https://collaboraonline.com
Other
1.75k stars 673 forks source link

Search function in Writer sometimes selects the word, which then modifies the search result #6841

Open JMoVS opened 1 year ago

JMoVS commented 1 year ago

Describe the bug Sometimes the search result gets selected which means that subsequent typing will modify the search result rather than just search

To Reproduce Steps to reproduce the behavior:

  1. Open a document
  2. Start using the search function
  3. type some letters until you don't have a hit anymore
  4. then revert until you do
  5. do that a bit back and forth
  6. at some point, the input focus will switch to the word and instead the document gets modified rather than the search bar

Expected behavior while typing in the search bar, never switch to typing in the document

Actual behavior document gets modified even though user wanted to modify the search term

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information)

Additional context Add any other context about the problem here.

timur-g commented 1 year ago

With 23.05 I see that search bar looses focus when tab looses focus, so focus goes to the last found word. I will confirm so.

JMoVS commented 12 months ago

any news here?

Jank1310 commented 10 months ago

This renders the search useless for some documents...

OS: macOS Browser: Chrome, Safari, Firefox COOLWSD-Version: 23.05.4.2 Collabora Office 23.05.4.2

Test file:

test.odt

Reproduce: Search for "potential"

bbx-github commented 1 month ago

I can confirm this issue for writer. I think this happens especially with documents containing tables (with content - as test.odt from above). Maybe it is related to https://github.com/CollaboraOnline/online/issues/7757 I got a report on this for version 24.04.3-2 but in 24.04.5-1 this issue persists.

bbx-github commented 1 week ago

Same with 24.04.6.1-1