Files
profanity/src/ui
Jabber Developer 40b7a12543 Clarify and improve win_page_up() scrolling offset adjustment for smoother paging
This commit refines the existing logic in win_page_up() by:
- Improving comments to clearly explain the rationale behind adjusting
  the scroll offset relative to the first buffer entry’s visual position,
  helping future maintainers understand why this is necessary.
- Fixing offset recalculation to better handle cases where older messages
  with variable heights are loaded from the DB, improving scroll smoothness.
- Changing the logging of negative *page_start values from warning to debug,
  recognizing that this can be a normal scenario when insufficient history is loaded.
- Simplifying some conditionals and renaming variables for clearer intent.

No changes yet applied to win_page_down(), but similar improvements could
be considered in the future.

Overall, this enhances the robustness and user experience of scrolling up
in chat windows, while preserving existing functional logic.
2025-07-01 20:53:18 +02:00
..
2025-03-27 20:06:38 +01:00
2023-08-31 23:14:02 +02:00
2025-03-27 20:06:38 +01:00
2025-03-10 11:45:15 +01:00
2025-03-12 10:09:41 +01:00
2024-02-19 17:41:06 +01:00
2025-03-27 20:06:38 +01:00
2025-03-12 10:15:39 +01:00
2025-03-27 20:06:38 +01:00
2023-08-31 23:14:02 +02:00
2025-03-27 20:06:38 +01:00
2020-09-04 12:55:20 +02:00
2019-11-13 12:11:05 +01:00
2025-03-27 20:06:38 +01:00
2020-07-07 14:18:57 +02:00
2025-03-27 20:06:38 +01:00
2025-03-12 10:09:41 +01:00
2023-12-12 18:26:21 +01:00
2023-08-31 23:14:02 +02:00