[Tokodon] [Bug 492295] Sign-in required after quitting application (accounts not saved)

2024-10-29 Thread Chris Coetzee
https://bugs.kde.org/show_bug.cgi?id=492295

--- Comment #1 from Chris Coetzee  ---
This is still occurring after a recent update of the flatpak.

When I run

```
flatpak run org.kde.tokodon --version
```

I see

```
Qt: Session management error: Could not open network socket
tokodon 24.08.2
```

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

[Tokodon] [Bug 492295] New: Sign-in required after quitting application (accounts not saved)

2024-08-27 Thread Chris Coetzee
https://bugs.kde.org/show_bug.cgi?id=492295

Bug ID: 492295
   Summary: Sign-in required after quitting application (accounts
not saved)
Classification: Applications
   Product: Tokodon
   Version: 24.05.2
  Platform: Flatpak
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: unassigned-b...@kde.org
  Reporter: chrisc...@gmail.com
CC: c...@carlschwan.eu, j...@redstrate.com
  Target Milestone: ---

SUMMARY
Requires me to sign-in to my accounts after closing and reopening Tokodon.

STEPS TO REPRODUCE
1.  Install the flatpak image: 
flatpak install flathub org.kde.tokodon
2. Open Tokodon: 
   flatpak run org.kde.tokodon
3. Sign in
4. Close application
5. Re-open the application

OBSERVED RESULT
Need to sign into account again after closing the application

EXPECTED RESULT
Stay signed in when reopening the application

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 36 KDE Plasma (Kernel 6.2.15-100.fc36.x86_64)
KDE Plasma Version: 5.27.4
KDE Frameworks Version:  5.104.0
Qt Version: 5.15.8

POSSIBLY RELATED TICKETS
- https://bugs.kde.org/show_bug.cgi?id=488391
- https://bugs.kde.org/show_bug.cgi?id=491930

ADDITIONAL INFORMATION
=== Logs before clicking Sign In ===
Qt: Session management error: Could not open network socket
kf.config.core: Migrating old staterc "" ->
"/home/user/.local/state/tokodonstaterc"
QFile::rename: Empty or null file name
kf.config.core: Failed to migrate "" ->
"/home/user/.local/state/tokodonstaterc"
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding
loop detected for property "calculatedImplicitHeight"
qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:401:33: QML Binding: Binding
loop detected for property "value"
qrc:/qt/qml/org/kde/tokodon/content/ui/LoginFlow/WelcomePage.qml:14:1: QML
WelcomePage: Created graphical object was not placed in the graphics scene.
kf.config.core: Migrating old staterc "" ->
"/home/user/.local/state/tokodonstaterc"
QFile::rename: Empty or null file name
kf.config.core: Failed to migrate "" ->
"/home/user/.local/state/tokodonstaterc"
qrc:/qt/qml/org/kde/tokodon/content/ui/Main.qml:482: TypeError: Cannot read
property 'followRequestCount' of null
kf.config.core: Migrating old staterc "" ->
"/home/user/.local/state/tokodonstaterc"
QFile::rename: Empty or null file name
kf.config.core: Failed to migrate "" ->
"/home/user/.local/state/tokodonstaterc"

=== Logs after clicking Sign in ===
qrc:/qt/qml/org/kde/tokodon/content/ui/LoginFlow/LoginPage.qml:15:1: QML
LoginPage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/tokodon/content/ui/LoginFlow/BrowserAuthorization.qml:17:1:
QML BrowserAuthorization: Created graphical object was not placed in the
graphics scene.
qrc:/qt/qml/org/kde/tokodon/content/ui/LoginFlow/BaseAuthorization.qml:43:
ReferenceError: pageStack is not defined

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

[frameworks-kwallet] [Bug 421856] KWallet does not accept correct password

2020-05-26 Thread Chris Coetzee
https://bugs.kde.org/show_bug.cgi?id=421856

--- Comment #6 from Chris Coetzee  ---
Looks like patches and things are now moving to Gitlab, so here's the PR there
https://invent.kde.org/frameworks/kwallet/-/merge_requests/1

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

[frameworks-kwallet] [Bug 421856] KWallet does not accept correct password

2020-05-25 Thread Chris Coetzee
https://bugs.kde.org/show_bug.cgi?id=421856

--- Comment #5 from Chris Coetzee  ---
Corresponding Phabricator revision: https://phabricator.kde.org/D29832

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

[frameworks-kwallet] [Bug 421856] KWallet does not accept correct password

2020-05-25 Thread Chris Coetzee
https://bugs.kde.org/show_bug.cgi?id=421856

--- Comment #4 from Chris Coetzee  ---
Created attachment 128789
  --> https://bugs.kde.org/attachment.cgi?id=128789&action=edit
Patch for endianness

I followed build instructions to get KWallet building here:

- https://community.kde.org/KDevelop/HowToCompile_v5 and
- https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Details

I looked up several stackoverflow articles on determining endianness from
standard headers, some suggested looking in BOOST, but I found that there's an
`endian.h' header on Linux and Mac systems. 

Therefore the patch likely needs revisiting to make it compatible with other
platforms / compilers.

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

[frameworks-kwallet] [Bug 421856] KWallet does not accept correct password

2020-05-25 Thread Chris Coetzee
https://bugs.kde.org/show_bug.cgi?id=421856

Chris Coetzee  changed:

   What|Removed |Added

 CC||chrisc...@gmail.com

--- Comment #3 from Chris Coetzee  ---
I'm experiencing the exact same problem after updating Neon tonight. Looks like
my package versions are the same. 

I tried downgrading libkwalletbackend5-5, but I couldn't without breaking other
packages.

I didn't dig deep for the official sources, but I saw this commit on kwaller
Github project, and it looks like a byte-order change in the encryption may
have caused this.

https://github.com/KDE/kwallet/blame/master/src/runtime/kwalletd/backend/blowfish.cc

SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.18.90
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2
Kernel Version: 4.15.0-101-generic
OS Type: 64-bit
Wallet Manager: Version 20.04.1
Wallet Backend: Version 5.70.0

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