[Libreoffice-ux-advise] [Bug 122900] When opening the navigator, the caret is no longer positioned on the list

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 25 05:20:33 UTC 2019


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

--- Comment #3 from Jim Raykowski <raykowj at gmail.com> ---
Making the navigator not grab focus to the content tree on show was
intentionally done to resolve:

Bug 49684 - the Navigator gets the focus when starting a new document while  
the Navigator is open

        commit 88cbc3ea2db8358bbedff01361f95f972f2b0231
        Author: Jim Raykowski <raykowj at gmail.com>
        Date:   Mon Oct 22 17:38:31 2018 -0800

        tdf#49684 Don't focus on Navigator or Sidebar on show

        Change-Id: I21b36c3ed2e5b6fc574e00f86d2c48c352cf469c

This works for GTK2 but not for GTK3, which I did not know until recently. The
following patch causes it not to work for GTK3:

Bug 98807 - GTK3: Activate the navigator doesn't get focus to the navigator
window

        commit c0d6fa1417141a3a7e9deb2f4d50acc28b32f1b4
        Author: Caolán McNamara <caolanm at redhat.com>
        Date:   Tue Oct 18 15:37:59 2016 +0100

        Resolves: tdf#98807 gtk3 isn't giving utility windows focus

        so just give up on that and give them a dialog hint instead

        Change-Id: Icca0c707dc464b0dbf362988b1dfee56866eadc0

I tested patching GTK2 in vcl/unx/gtk/gtksalframe.cxx the same as Caolán's GTK3
patch. It works but re-introduces bug 49684 for GTK2.

A related bug is:

Bug 113250 - UI Navigator ('floating' version, that is in docked state) in Calc
doesn't have the focus immediately after opening with F5

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list