diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.17k stars 38 forks source link

DM list immediately fades away after open #241

Closed amyipdev closed 2 months ago

amyipdev commented 4 months ago

I can load the client fine, and most functionality works, but my DM drawer is very broken.

After clicking on the drawer, I can see the list for about 0.25s: image

It then immediately disappears: image

amyipdev commented 4 months ago

If I Ctrl-K into a DM then this bug does not occur.

diamondburned commented 4 months ago

Is there anything about this in Logs?

tfuxu commented 4 months ago

I've had the same issue on the latest commit. To fix that, you need to click the first DM before the fade-out animation kicks in. I think this might be an unimplemented behavior that happens only if you login to Dissent for the first time. To fix that in code, you probably just need to fetch the first DM from the vector and select it in the ListBox.

diamondburned commented 4 months ago

Interesting, that's really helpful.

maxrdz commented 3 months ago

The fix mentioned above is also what I found out you could do to work around the bug. But yeah, also happened to me once, although it doesn't happen anymore.

diamondburned commented 2 months ago

https://github.com/diamondburned/dissent/commit/0e869e255e28213510e7fb346044da8cebb8ea15 should fix this issue.