mirage icon indicating copy to clipboard operation
mirage copied to clipboard

Timeline not scrolling down when new messages move around

Open MRAAGH opened this issue 3 years ago • 3 comments

Description

if new messages move around, they get displayed behind the textbox rather than above it

Video: https://files.mazie.rocks/miragebug2.webm Video: https://files.mazie.rocks/miragebug3.webm Video: https://files.mazie.rocks/miragebug4.webm Video: https://files.mazie.rocks/miragebug5.webm

Your environment

  • OS or distribution: Arch Linux
  • Architecture: 64 bit
  • desktop environment or window manager: Awesome wm v4.3
  • How did you install Mirage? yay -S matrix-mirage-git (installed from AUR but from source)
  • Qt version: 5.15.2
  • Python version: 3.9.2

Steps to reproduce

This is the easiest to reproduce if your system clock is behind. Please see linked videos. Two participants send messages fast enough that messages get incorrectly inserted between others, then reordered with an animation.

Expected behavior

Chat should stay above the input box.

Actual behavior

Messages get pushed behind the input box. After this, the last message is consistently hidden.

MRAAGH avatar Mar 13 '21 04:03 MRAAGH

Messages being locally-echoed (displayed before actually receiving them from the server) use your system's current time to sort themselves in the timeline, it looks like your clock is late.

It is true that messages moving around sometimes cause the timeline to not follow and you have to scroll down, something with QML ListView that I'm not sure yet how to fix.

mirukana avatar Mar 13 '21 08:03 mirukana

ah, you were right. My clock was behind. Thanks!

MRAAGH avatar Mar 14 '21 02:03 MRAAGH

I'm still having clock problems. I thought I'd point out that Mirage is the only software where my late clock actually causes a visible annoyance, everything else I use seems to be flexible.

MRAAGH avatar Aug 30 '21 01:08 MRAAGH