Bug 148803 - Undocked Find toolbar does not get focus (gtk3 and kf5)
Summary: Undocked Find toolbar does not get focus (gtk3 and kf5)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 137287 148104 (view as bug list)
Depends on:
Blocks: Find-Toolbar
  Show dependency treegraph
 
Reported: 2022-04-26 13:00 UTC by goodguy00@zoho.com
Modified: 2023-11-01 13:06 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description goodguy00@zoho.com 2022-04-26 13:00:28 UTC
Description:
in version 7.3.3.1 (which i could not select from the dropdown below): when bringing up the find dialog (undocked), it does not get the focus. writing the query ends up in the document.

Steps to Reproduce:
1. ^f to bring up find (undocked?)
2. type something

Actual Results:
typing ends up in the document

Expected Results:
typing should go to the find boxes field


Reproducible: Always


User Profile Reset: No



Additional Info:
(because of this, i immediately downgraded to 7.3.2.2 where this behavior was not present)
might be somewhat related to bug 137287
----
Operating System: Fedora 34
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.8-100.fc34.x86_64 (64-bit)
Graphics Platform: X11
Comment 1 goodguy00@zoho.com 2022-05-06 20:52:47 UTC
installed 7.3.3.2, can confirm, bug is still there ...
Comment 2 raal 2022-05-09 20:54:18 UTC
Confirm Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 10f3cb6aa8794d063ae5990066fcfa006d47c512
CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo
Comment 3 raal 2022-05-09 21:12:04 UTC
This seems to have begun at the below commit.
Adding Cc: to Caolán McNamara; Could you possibly take a look at this one?
Thanks
 e91b83d1dc58bfa0cc43f7b3d1ddee97e0dff525 is the first bad commit
commit e91b83d1dc58bfa0cc43f7b3d1ddee97e0dff525
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Thu Jun 11 17:58:36 2020 +0200

    source 10367c3a583e962dbb0df5b81846f702f4180097

https://git.libreoffice.org/core/+/10367c3a583e962dbb0df5b81846f702f4180097
   don't need to treat floating toolbars differently for set-focus
Comment 4 goodguy00@zoho.com 2022-05-20 13:46:04 UTC
just verified with 7.3.4.1: still wrong focus.
Comment 5 Aron Budea 2022-05-29 06:01:54 UTC
Same commit identified as for bug 145287.
Comment 6 Caolán McNamara 2022-06-17 15:21:35 UTC
Proving quite difficult to find a fix that doesn't cause another problem.
Comment 7 goodguy00@zoho.com 2022-07-12 13:25:26 UTC
did not understand you comment. this user-interface bug is preventing me to update libreoffice at all. i have to stay on 7.3.2.2 (last good version) until this is fixed. because this behavior is against ALL usability. in every other app (be it kwrite, any other editor, firefox, chrome, etc) when i press ctrl-f i get the search dialog AND the focus is with the search field. unlike in the recent versions of LO, where i constantly start typing my search text and that goes into my document instead of the search field. this is extremly annoying and i don't understand, how nobody can understand this misbehavior.
Comment 8 Buovjaga 2023-01-02 11:23:08 UTC
Gen backend works fine.
Comment 9 Buovjaga 2023-01-02 11:23:42 UTC
*** Bug 137287 has been marked as a duplicate of this bug. ***
Comment 10 Buovjaga 2023-01-02 11:24:00 UTC
*** Bug 148104 has been marked as a duplicate of this bug. ***
Comment 11 BogdanB 2023-04-06 16:06:55 UTC
Also in 7.5 with undock Find toolbar.

Version: 7.5.0.1 (X86_64) / LibreOffice Community
Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded