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

jump to first unread message jumps to the same point every time at /develop/#/room/#freenode_#trueos:matrix.org #3854

Closed
grahamperrin opened this issue May 8, 2017 · 8 comments
Labels
P1 S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@grahamperrin
Copy link

Steps

  1. click the #trueos room at https://riot.im/develop/#/room/#freenode_#trueos:matrix.org

  2. observe the green line above https://matrix.to/#/!rlkOZoHZqtNXEQHzjY:matrix.org/$1493236148351786iPjrJ:matrix.org

danboid (IRC) joined the room.

  1. read

  2. click the #pcbsd room at https://riot.im/develop/#/room/#freenode_#pcbsd:matrix.org

  3. again, click the #trueos room at https://riot.im/develop/#/room/#freenode_#trueos:matrix.org

Expected

  • the green line should appear below the read messages

Actual result

  • the green line reappears in the same place

Logs

I'll send them with reference to this issue.

Environment

matrix-react-sdk version: 9cae667
riot-web version: 2983b36-react-9cae667c063e-js-6021c1c6b11d
olm version: 2.2.1

53.0 (64-bit)

$ about

===================
General information
===================

boot environment now (N) … 12.0-CURRENT-up-20170330_080908 NR 2017-03-30
       after restart (R) … 12.0-CURRENT-up-20170330_080908 NR 2017-03-30
boot loader …………………………………… BSD
            type ……………………… EFI
CPU ………………………………………………………… Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
    number of cores ……………… 4
host ……………………………………………………… momh167-gjp4-hpelitebook850g2-trueos.university.brighton.ac.uk
memory ………………………………………………… 16384 MB available, 8398 MB free
OS git branch ……………………………………………………………………………………… drm-next
OS git revision ………………………………………………………………………………… a009033ff
OS kernel build time ………………………………………………………… Wed 2017 Mar 29 20:13:33 UTC
OS kernel identity …………………………………………… (uname -i) GENERIC
OS platform (architecture) ……………………… (uname -m) amd64
OS release level ………………………………………………… (uname -r) 12.0-CURRENT
OS version and patch level …… (freebsd-version) 12.0-CURRENT
TrueOS package set ………………… CUSTOM
TrueOS version …………………………… TrueOS-Desktop-201703201429
uptime ………………………………………………… 1:32
user  …………………………………………………… grahamperrin

More (TrueOS Desktop):

    desktop environment …… KDE
    sound card driver ………… pcm1: <Realtek (0x0280) (Analog 2.0+HP/2.0)> on hdaa1  (1p:1v/1r:1v) default
    wireless driver ……………… iwm0
    X11 drivers ………………………… intel_drv.so 

$ 
@turt2live
Copy link
Member

IRC rooms don't allow us to see history, unless we're already part of the room. However I'm suspecting you're seeing something similar to the following:
image

where there's a green line (read marker) above some number of collapsed events (in my case, 175 joins + other stuff).

I can't for the life of me find the issue for this, but the MELS prevents read receipts from being sent. Much like part of the issue in #3561.

A temporary solution is to gather enough events in the MELS (collapsed thing) so that expanding causes the 'Jump to unread message' banner, then dismissing the banner. Sending a message also works.

... unless of course I'm completely wrong and you see some other issue.

@lukebarnard1
Copy link
Contributor

I've seemingly reproduced a stuck RM for a reason totally separate to MELs. I've got a fix and will push tomorrow.

@lampholder lampholder added T-Defect S-Minor Impairs non-critical functionality or suitable workarounds exist P1 ui/ux labels May 11, 2017
@lukebarnard1
Copy link
Contributor

@grahamperrin, @turt2live, has this problem gone away?

@turt2live
Copy link
Member

@lukebarnard1 I keep seeing the RM above the MELS, but I haven't had "always stuck in the past" for a while.

@grahamperrin
Copy link
Author

At https://riot.im/develop/#/room/#freenode_#ghostbsd:matrix.org the first unread message is repeatedly 2017-05-23. I page down, there reappears the prompt to jump to the first unread message. Looping.

@grahamperrin
Copy link
Author

… later, in that room I clicked the close icon without realising that it treats all unread messages as read.

@lukebarnard1
Copy link
Contributor

@grahamperrin
Copy link
Author

jumps to the same point every time

In recent weeks, as far as I recall, I have not observed that symptom in any room.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

No branches or pull requests

4 participants