SUMMARY Using the SQL plugin, when you create a new connection, and activate the "save and restore connections in the kate session", connections does not retrieve back STEPS TO REPRODUCE 1. Enable SQL plugin. 2. Create a new session. 3. Create a new connection. 4. Save session. 5. Close kate. 6. Open again kate and restore the saved session. OBSERVED RESULT Connections aren't restored. EXPECTED RESULT Be able to use the connections I'd created before. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian 10, Debian 4.19.67-2 (2019-08-28) x86_64 GNU/Linux KDE Plasma Version: 5.14.5 KDE Frameworks Version: 5.54.0 Qt Version: 5.11.3 ADDITIONAL INFORMATION
I confirm, same problem. Debian GNU/Linux 10 4.19.0-6-amd64 KDE Plasma: 5.14.5 Qt: 5.11.3 KDE Frameworks: 5.54.0
Same problem here. OpenSuse Leap 15.1 KDE Plasma Version : 5.12.8 Qt Version : 5.9.7 KDE Frameworks Version : 5.55.0
Setting to confirmed as reported by 3 users.
I was checking the source code and noticed than the class KateSQLPlugin doesn't implement the KTextEditor::SessionConfigInterface interface and also, it is not implementen neither method to save the configuration. I'd tryed to implement the class but until now, I havent succeded on it.
Created attachment 132924 [details] attachment-22501-0.html Good to know somebody s taking care of it after such a long time Sent from my Samsung Galaxy smartphone. -------- Original message --------From: tepostlakatl <bugzilla_noreply@kde.org> Date: 10/31/20 22:07 (GMT+02:00) To: mircea.dragota@ccms.ro Subject: [kate] [Bug 411920] SQL connections does not save nor retrieve https://bugs.kde.org/show_bug.cgi?id=411920--- Comment #4 from tepostlakatl <horus.sandoval@carpathialab.com> ---I was checking the source code and noticed than the class KateSQLPlugin doesn'timplement the KTextEditor::SessionConfigInterface interface and also, it is notimplementen neither method to save the configuration. I'd tryed to implementthe class but until now, I havent succeded on it.-- You are receiving this mail because:You are on the CC list for the bug.
(In reply to tepostlakatl from comment #4) > I was checking the source code and noticed than the class KateSQLPlugin > doesn't implement the KTextEditor::SessionConfigInterface interface and > also, it is not implementen neither method to save the configuration. I'd > tryed to implement the class but until now, I havent succeded on it. If you need some help, just ask what is the issue, would be cool to have this fixed!
Updated build docs are here: https://kate-editor.org/build-it/
Implement SessionConfigInterface in sql plugin (and expanded it's functionality to store SQLite connections) https://invent.kde.org/utilities/kate/-/merge_requests/522