Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make "Show more" scroll back persistent? #328

Open
winteriscariot opened this issue Nov 14, 2024 · 4 comments
Open

Make "Show more" scroll back persistent? #328

winteriscariot opened this issue Nov 14, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@winteriscariot
Copy link

Is there a way to make sure any scrollback i reveal by clicking 'show more' sticks around perpetually for the session?

cuz i've noticed after a time the Dissent window will ... refresh, reset, or update or something, and it'll "chop off" the scroll back that i already revealed manually and go back to just the most recent however many lines of text

is there not a way to just write the scrollback to disk so it can be easily retrieved?

@winteriscariot winteriscariot added the bug Something isn't working label Nov 14, 2024
@diamondburned
Copy link
Owner

That's interesting. It shouldn't chop off unless you're scrolled to the bottom. Is it chopping off while you're still reading old messages?

@winteriscariot
Copy link
Author

winteriscariot commented Nov 17, 2024

if i'm at the bottom of the chat history then yeah it'll chop off scrollback.

the issue i'm having is more that i have Dissent maximized on a vertical monitor (1920 px tall) with a lot of vertical space, and so when i go to a different chat only the top half of the chat has content:

image

is there a way to make that scrollback stick around? i'll notice that if i click "Show More", then leave it there (and i'm at the bottom of the scrollback) i'll notice the app sort of "refreshes" (i notice a flash in the corner of my eye) and it removed the expanded scrollback and goes back to the truncated chat log.

so basically, is it a big deal to make expanded scrollback not "refresh", and therefore stick around? i'm not even thinking like infinite scrollback, just whatever has been retrieved with the "Show More" button

@winteriscariot
Copy link
Author

also it would be nice to make it so the expanded scrollback doesn't disappear when i switch between chats.

for instance i'll be in a DM, expand the scrollback, then flip to a server, then go back to the same DM, and the expanded scrollback will have vanished

it'd be cool if that scrollback that you expanded stayed around even after you switch between chats/servers

@diamondburned
Copy link
Owner

I think I make it clear out so quickly for RAM usage reasons. Once Go 1.24 comes out and I can fix the leak bugs in gotk4, I'll definitely improve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants