Bug 462582

Summary: Flatpak version crashes on start
Product: [Applications] Tokodon Reporter: Jarno van der Kolk <jarno>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: carl, josh
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In: 22.12
Sentry Crash Report:

Description Jarno van der Kolk 2022-12-03 12:51:27 UTC
SUMMARY
I installed Tokodon 22.11 from flathub.org on a Kubuntu 22.04. When trying to launch the application, it briefly shows the setup screen but closes again in less than a second.

STEPS TO REPRODUCE
1. Install from Flathub on Kubuntu 22.04
2. Start the application

OBSERVED RESULT
```
$ flatpak run org.kde.tokodon
Loading any accounts from settings.
qrc:/content/ui/main.qml:74: TypeError: Cannot read property 'instanceName' of null
```

EXPECTED RESULT
Program runs

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 22.04
(available in About System)
KDE Plasma Version: org.kde.Platform/x86_64/5.15-21.08
KDE Frameworks Version: org.kde.Platform/x86_64/5.15-21.08
Qt Version: org.kde.Platform/x86_64/5.15-21.08
Since I'm not able to run the application, I can't check About System, so the above values from Tokodon's flatpak dependency

ADDITIONAL INFORMATION
Comment 1 Joshua Goins 2022-12-03 22:26:19 UTC
We have fixed a bunch of bugs encountered during start-up, so this might be one of them. Unfortunately, they just missed the 22.11 window but they will show up in the next release! Please file another bug if you find that it happens again.
Comment 2 Jarno van der Kolk 2022-12-08 11:56:42 UTC
I'm just confirming that the latest Flatpak update (22.11.1) fixed the startup issue for me.
Comment 3 Carl Schwan 2022-12-08 11:57:29 UTC
Thanks for confirming :)