Bug 137287 - undocked find doesn't get focus when writer is brought to the foreground
Summary: undocked find doesn't get focus when writer is brought to the foreground
Status: RESOLVED DUPLICATE of bug 148803
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-06 08:55 UTC by lvm
Modified: 2023-01-02 11:23 UTC (History)
3 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 lvm 2020-10-06 08:55:22 UTC
Description:
undocked find doesn't get focus when writer is brought to the foreground

Steps to Reproduce:
prerequisites: find is undocked, at least one other GUI program is running

1. press ^F to open the find window
2. press alt-tab to switch to a different program
3. press alt-tab to switch back to writer

Actual Results:
main writer window has focus

Expected Results:
find window should get focus and probably should be modal


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.1.2
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: kf5
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded

Possibly related to https://bugs.documentfoundation.org/show_bug.cgi?id=126607 and may also be KDE-related but it is not the same bug.
Comment 1 Justin L 2020-12-04 09:31:26 UTC
For the record - not seeing the problem in GTK3 - Ubuntu 20.04 on 7.2 master.
Comment 2 Buovjaga 2021-07-29 12:16:13 UTC
Just to confirm, do you see this issue when launching from the command line with

SAL_USE_VCLPLUGIN=gen libreoffice

or

SAL_USE_VCLPLUGIN=gtk3 libreoffice
Comment 3 Xisco Faulí 2022-05-02 14:01:21 UTC
A new major release of LibreOffice is available since this bug was reported.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 4 lvm 2022-05-05 06:23:36 UTC
Still reproducible with

Version: 7.3.2.2 / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded

And sorry, I missed the previous comment (2). It is even worse with VLC=gen or gtk3: undocked find doesn't get focus on invocation and second ^F makes writer loose focus completely, i.e.

1. press ^F - find opens
2. type something - characters are typed in the document window, not the find box
3. press ^F once more
4. type something - characters appear neither in the find box nor in the document window.

Completely unusable. Also undocked find status is retained between sessions: if undocked find was open when writer was closed, it will open next time at startup even though ^F was not pressed. IMHO it is wrong, undocked find status should not be retained between sessions.
Comment 5 Buovjaga 2023-01-02 11:23:42 UTC

*** This bug has been marked as a duplicate of bug 148803 ***