profanity-im / profanity

Ncurses based XMPP client
https://profanity-im.github.io/
Other
1.33k stars 187 forks source link

Fix scrolling #1935

Closed H3rnand3zzz closed 10 months ago

H3rnand3zzz commented 1 year ago

Current state:

Currently it's full of debugging lines with some issues which are to be fixed before release:

This line is for github CI/CD system to link the issue

Fix https://github.com/profanity-im/profanity/issues/1934

H3rnand3zzz commented 12 months ago

New revision

H3rnand3zzz commented 11 months ago

New revision

H3rnand3zzz commented 11 months ago

New revision

H3rnand3zzz commented 11 months ago

New revision

jubalh commented 11 months ago

Pass id from DB (I am not sure if it's correct, probably stanza-id should be passed, but also we should consider LMC case)

What were your thoughts here exactly? I think id that you used is correct.

H3rnand3zzz commented 11 months ago

New revision

Addressed the issues outlined in the review.

H3rnand3zzz commented 11 months ago

addressed

jubalh commented 11 months ago

Fix a problem: extremely big message (e.g. 3k lines) causes profanity to jump back once scrolled on top

Was this already the case before your change? I'm not even sure 3k lines fit on a screen? :D

H3rnand3zzz commented 11 months ago

New revision

jubalh commented 11 months ago

it might affect users who don't use history, the approach has a good idea, but requires more careful implementation

Affect how? Should we wait with merging/reviewing the code before this is solved? I would prefer to not include something "wrong" in master because several of our users use master to help us find bugs. So this might annoy them or make them report something that we are aware of.

H3rnand3zzz commented 11 months ago

it might affect users who don't use history, the approach has a good idea, but requires more careful implementation

Affect how? Should we wait with merging/reviewing the code before this is solved? I would prefer to not include something "wrong" in master because several of our users use master to help us find bugs. So this might annoy them or make them report something that we are aware of.

It might've affected in a previous version, currently it was removed, hence no one should be affected in any negative way (at least I don't see a problem currently, I might've missed something obviously).

H3rnand3zzz commented 11 months ago

New revision