Bug 485470

Summary: Kontact as a Flatpak clashes with Debian installation
Product: [Applications] kontact Reporter: Serena Star <LionsSharks15>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.24.4   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Serena Star 2024-04-13 04:09:08 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
I was messing around with Kontact in Flatpak to compare feature parity with the older version shipped in Debian 12. The Flatpak tends to take in accounts from Akonadi already in the Debian installation instead of being a completely isolated instance separate from Debian.

STEPS TO REPRODUCE
1. Have Kontact installed from apt on Debian with accounts already set up
2. Install Kontact as a Flatpak
3. Flatpak version recognizes the accounts from the Debian/Apt version and somehow interacts with the Debian Akonadi database
4. Sync, but unsuccessfully. All account info (even from accounts freshly created in the flatpak version) does not sync in the flatpak version and no data populates.

OBSERVED RESULT
Flatpak version of the app is devoid of data for all recognized accounts. All changes and syncing is visible on the Debian version. The Flatpak version is functionally useless when the Debian database exists.

EXPECTED RESULT
The Flatpak should be completely independent of the Debian installation. When installed for the first time, the Flatpak should have no accounts set up and when an account is set up, it should populate accordingly.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Debian 12 with Kernel 6.1.0-18-amd64 (64-bit)
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
On Debian version, I set up my Akonadi database to use SQLite instead of MySQL.