signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.5k stars 2.63k forks source link

Floating date headers in chats are moved / duplicated due to edited messages #6818

Open NTPape opened 6 months ago

NTPape commented 6 months ago

Using a supported version?

Overall summary

Signal Desktop considers the edited timestamp for the floating date change headers, in contrast to Signal on Android. That means these headers may be moved unexpectedly or even be duplicated an arbitrary number of times.

Steps to reproduce

  1. Send a message shortly (within editing time range) before midnight.
  2. Send another message.
  3. Wait for midnight.
  4. Send another message.
  5. Edit the first message.

Expected result

Only a single date change header per date change.

Actual result

Multiple or unexpectedly positioned date change headers.

Screenshots

SignalBug1

Signal version

7.1.1

Operating system

Windows 10

Version of Signal on your phone

7.0.2

Link to debug log

No response

xduugu commented 5 months ago

I've encountered the same or a similar issue. Interestingly, editing a message also affected the message below in my case.

Before: before

After editing message "Test2": after