Closed krille-chan closed 10 months ago
Signed up for Android beta👍
I can test on Linux and Android, any chance of providing download links for the apps (I do not use Flatpaks or Snaps, on both Android and Linux I simply install the binaries from the Releases page).
Edit: about the Web app, one must first login using the stock URL (fluffychat.im/web) do some tests and then open fluffychat.im/nightly and it will migrate the db as well or the migration is not done on web?
Thanks!
Hey @krille-chan, just following up from our discussion on the fediverse... So I'm running on iPhone 12 Pro Max, OS version 17.1.2. The first time I launched fluffychat following the testflight enrollment, the UI locked up and eventually fluffychat crashed with no notice. Subsequent launches 'kind of' work in that my accounts aren't obviously broken or anything. The room list itself loads, but any sort of interaction is more or less immediately met with a frozen UI. I have two accounts on this instance of fluffychat: @red_sky:nheko.im and @red_sky:ocean.joedonofry.com. The former account is the larger of the two, with somewhere around 100 rooms or so. The second is smaller, with only maybe two dozen or so rooms. The second account is also the current 'active' account when I'm using the UI and it freezes. I've also been using fluffychat with the second account for probably two or more years, whereas the first account is only logged in as of maybe two weeks ago.
You also asked for a screenshot, but I'm not sure exactly what you're looking for. Can you elaborate? Let me know what else you need! Thanks
I've created a release here: https://github.com/krille-chan/fluffychat/releases/tag/rc1.16.1-1 in a few minutes there should be an APK and Linux binary available there. For web, just visit https://fluffychat.im/nightly you can try the migration by logging in at https://fluffychat.im/web and then open the nightly app. Please notice that the migration does not work vice versa so once you have migrated your session, you are just not logged in at https://fluffychat.im/web
Works with me on the github release. Some minor nltification localization issue though: "Die Datenbank ist optimiert" should be "Die Datenbank wird optimiert"
Was this by chance released with 1.16.0? We got logged out of all sessions, and the app has been feeling snappier, though I'd attributed that to not logging into my synapse account, but rather using conduit.
Signed up for Android beta👍
1.16.1 just came in, took a few extra seconds (just 5 rooms and 2 private chats). Had to tap them once to reload messages. Worked fine (at least opening and getting new messages).
1.16.0 shouldnt have got it. But have heard it multiple times now that aessuons got lost there. Maybe a hive problem. Really frustrating...
I found one bug in the new database regarding deleting messages:
ERROR] Error during processing events - Unsupported operation: Cannot remove from an unmodifiable list
#0 UnmodifiableListMixin.removeWhere (dart:_internal/list.dart:139)
#1 MatrixSdkDatabase.removeEvent (package:matrix/src/database/matrix_sdk_database.dart:813)
<asynchronous suspension>
#2 MatrixSdkDatabase.storeEventUpdate (package:matrix/src/database/matrix_sdk_database.dart:1067)
<asynchronous suspension>
#3 Client._handleRoomEvents (package:matrix/src/client.dart:2098)
<asynchronous suspension>
#4 Client._handleRooms (package:matrix/src/client.dart:1965)
<asynchronous suspension>
#5 Client._handleSync (package:matrix/src/client.dart:1811)
<asynchronous suspension>
#6 Client._innerSync.<anonymous closure> (package:matrix/src/client.dart:1742)
<asynchronous suspension>
#7 BoxCollection.transaction.<anonymous closure> (package:matrix/src/database/sqflite_box.dart:90)
<asynchronous suspension>
#8 BoxCollection.transaction (package:matrix/src/database/sqflite_box.dart:83)
<asynchronous suspension>
#9 Client._innerSync.<anonymous closure> (package:matrix/src/client.dart:1749)
<asynchronous suspension>
#10 Client._innerSync (package:matrix/src/client.dart:1747)
<asynchronous suspension>
#11 Client._sync.<anonymous closure> (package:matrix/src/client.dart:1663)
<asynchronous suspension>
Should be easy to fix 😊💪
thx
Found another oopsie when using the web version:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 127:3 castError
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 818:12 cast
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/classes.dart 652:14 as_C
packages/matrix/src/database/matrix_sdk_database.dart 506:35 <fn>
dart-sdk/lib/internal/iterable.dart 403:20 moveNext
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 1277:20 next
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 555:14 of
I've created a release here: https://github.com/krille-chan/fluffychat/releases/tag/rc1.16.1-1 in a few minutes there should be an APK and Linux binary available there. For web, just visit https://fluffychat.im/nightly you can try the migration by logging in at https://fluffychat.im/web and then open the nightly app. Please notice that the migration does not work vice versa so once you have migrated your session, you are just not logged in at https://fluffychat.im/web
Thank you for the binaries.
and the app stayed in the refresh state, so I closed it after about 5min and it started fine afterwards.
Warning: Failed to respond to a message. This is a memory leak.
[1] 63827 segmentation fault (core dumped) ./fluffychat
New stories created on v1.16.0 do not seem to work on rc1: the user is invited to a new room but messages cannot be decrypted. Stories migrated from the previous version display as status on rc1, even if the user is not online (not sure if this is intended).
Pinning/unpinning messages work, but clicking on the pinned message scrolls to the wrong position (not sure if this is a regression or already present in v1.16.0).
Deleting, quoting, replying messages, as well as blocking/unblocking users seem to work fine. Please feel free to ask for any specific tests if needed. I will test rc1 on Android soon.
PS: I did not notice this in the past, so I guess this is new: the notification now shows an option to open the message and another to mark it read. This is great! I hope this also works on mobile.
Cheers
Sadly it seems that notifications on Android don't have the open message/mark read as the desktop version. Other than this, I think there is some problem with the cache in the new version, besides the problem with calls, because after I force close the app and restart it it will not show some profile pictures after the app is launched, but opening any room and then going back display them properly.
Thanks for the tests <3 about some things I can at least say that they have nothing to do with the database:
So looks like I have to do some fixes for the Linux version then next
@krille-chan Thank you for the feedback.
I kept the rc1 version on Android but I had to downgrade to v1.16.0 yesterday since I could not get the app working again:
/clearcache
The good news is that it seems that the migration did not delete the old data (intended?) since after downgrading to v1.16.0 I did not have to login or verify the app again. I tried reproducing the same steps above and no problems on v1.16.0. Maybe it was a coincidence that I had the App Lock dialog open, and simply force closing the app corrupted the database, but clearing the cache did not help, it actually made things worse. The fact is that, as I said previously, I already had noticed some problem with the data cache on Android using the rc version.
Anyway, I hope this report helps somehow. Once a new rc is released, I can do the same tests again.
Cheers
I found another edge case where messages can get lost on limited timeline flag sent by the server. Has been fixed in matrix dart sdk v0.25.3. I will push a new rc for FluffyChat v1.17.0 now
Issue on Linux database migration :
I will take a look to get further logs from it. As of now happened on all my Linux devices. I know these logs are not helpful for debugging, it's just meant as information that the change is currently breaking non-snap systems.
Got released now 🥳
With the newest release candidate v1.16.1 there is a new database in place which will replace the current HiveCollections database. The new database is using Sqlite3 on native and IndexedDB on web. The app should automatically migrate the data without the need to re-login. The app will just need a few seconds more to open and display a notification in the meantime. It might happen that you get a prompt to reconnect your chat backup but that should disappear after closing and opening the app.
The open questions are:
Any feedback would be appreciated! Please also share as much information about your device as possible (Operating system? OS version? Device type?)
How to join the public beta
iOS and iPadOS
You can install the latest release candidate of FluffyChat by using TestFlight:
https://testflight.apple.com/join/fhMtOXc0
Android
PlayStore
You can join the public beta program in the PlayStore:
https://play.google.com/apps/testing/chat.fluffy.fluffychat
Linux Desktop (including Linux Phones)
You can just use the
candidate
channel of our Snap version:https://snapcraft.io/install/fluffychat/ubuntu
Also the
edge
channel contains the latest builds from main if you like.Web
Just use https://fluffychat.im/nightly