Date: prev next · Thread: first prev next last
January 2019 Archives by date, by thread · List index


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

--- Comment #3 from Jim Raykowski <raykowj@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@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@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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.