You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not sure if this is the right project to raise this issue against, but maybe you've at least some ideas. I'll also raise an issue against libsecret (as I suspect this also might have a bug). Anyway, what's the problem?
In my app OpenTodoList I'm using qtkeychain to store account passwords safely. This generally works fine, with one exception:
What I observed is, that the finished() signal of the load job is never emitted. As you can see towards the end of the code, I already applied some workarounds (for me, this whole thing somehow smells like a race condition when the app is started). Back then when I applied it, it seemed to improve the situation a lot, but a user just reported exactly the same issue these days (https://gitlab.com/rpdev/opentodolist/-/issues/635).
Some further observations:
If I'm not mistaken, then other actions do work. For example, when the app fails to load its secrets, the user still can enter them again. It seems that they are then properly saved.
Some time back I already tried to workaround this by applying a timeout and - when it passed - retry the load. However, that didn't work (it's like the previous load call still "hangs" in libsecret).
I'd be happy about any kind of advice/tips/workarounds here. Please also let me know if you need further input from my side - I might be able to provide some debug information if you tell me what you'd need to better understand the issue.
Thanks a lot in advance!
The text was updated successfully, but these errors were encountered:
Not sure though what you'd like to do with this ticket? Feel free to close it, but maybe it might be good to keep it open in case someone else stumbles across the same issue?
Hi everyone,
not sure if this is the right project to raise this issue against, but maybe you've at least some ideas. I'll also raise an issue against libsecret (as I suspect this also might have a bug). Anyway, what's the problem?
In my app OpenTodoList I'm using qtkeychain to store account passwords safely. This generally works fine, with one exception:
I also distribute the app via Flatpak. Sometimes/on some platforms, loading the secrets at app startup fails. For your reference, this is the code that I use to load previously stored secrets: https://gitlab.com/rpdev/opentodolist/-/blob/development/lib/utils/keystore.cpp?ref_type=heads#L272
What I observed is, that the
finished()
signal of the load job is never emitted. As you can see towards the end of the code, I already applied some workarounds (for me, this whole thing somehow smells like a race condition when the app is started). Back then when I applied it, it seemed to improve the situation a lot, but a user just reported exactly the same issue these days (https://gitlab.com/rpdev/opentodolist/-/issues/635).Some further observations:
I'd be happy about any kind of advice/tips/workarounds here. Please also let me know if you need further input from my side - I might be able to provide some debug information if you tell me what you'd need to better understand the issue.
Thanks a lot in advance!
The text was updated successfully, but these errors were encountered: