https://bugs.kde.org/show_bug.cgi?id=528270
Christoph Cullmann <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util |ities/kate/-/commit/ec39f49 |ities/kate/-/commit/99225bd |ad8103ff9d3a96bc462cc2ad4f3 |73a2625908ca416a430a9af33d4 |aeb66d |4a167d --- Comment #3 from Christoph Cullmann <[email protected]> --- Git commit 99225bd73a2625908ca416a430a9af33d44a167d by Christoph Cullmann. Committed on 14/11/2026 at 22:06. Pushed by cullmann into branch 'release/26.12'. 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. (cherry picked from commit ec39f49ad8103ff9d3a96bc462cc2ad4f3aeb66d) Co-authored-by: Waqar Ahmed <[email protected]> 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/99225bd73a2625908ca416a430a9af33d44a167d -- You are receiving this mail because: You are watching all bug changes.
