https://bugs.kde.org/show_bug.cgi?id=528270

Waqar Ahmed <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/kate/-/commit/ec39f49
                   |                            |ad8103ff9d3a96bc462cc2ad4f3
                   |                            |aeb66d
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Waqar Ahmed <[email protected]> ---
Git commit ec39f49ad8103ff9d3a96bc462cc2ad4f3aeb66d by Waqar Ahmed.
Committed on 09/11/2026 at 12:52.
Pushed by waqar into branch 'master'.

katesql: Open restored connections lazily

Restoring a session opened every saved connection synchronously while
the main window was being constructed. Building the schema tree and
loading foreign keys opened it again, so a remote or slow server
delayed Kate's startup and opening another project in the same session.

Register restored connections without opening them and open them on
first use instead. Load foreign keys on first browse rather than when
a connection is selected, and avoid the implicit open done by
QSqlDatabase::database() while building the tree. isValidAndOpen() now
reads the password from the keychain before the first connection
attempt instead of trying without it first.

M  +33   -0    addons/katesql/autotests/CMakeLists.txt
A  +80   -0    addons/katesql/autotests/test_sqlmanager.cpp     [License:
LGPL(v2.0)]
M  +19   -4    addons/katesql/schemawidget.cpp
M  +2    -0    addons/katesql/schemawidget.h
M  +24   -9    addons/katesql/sqlmanager.cpp
M  +3    -0    addons/katesql/sqlmanager.h

https://invent.kde.org/utilities/kate/-/commit/ec39f49ad8103ff9d3a96bc462cc2ad4f3aeb66d

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to