-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Pressing up to edit latest message stopped working #19908
Comments
Cannot reproduce Screen.Recording.2021-11-26.at.12.50.52.mov |
This is not working in linux either ( as I just went hunting I found this ). UP arrow works -- Installed -- Button press: edit/reply/options/react... Nothing happens. Thanks. |
It suddenly started working again, but it now manages to jump to edit a message I sent days ago. Clicking the edit icon on newer messages works fine. Honestly, I'm baffled at why it is so difficult to just grab the latest sent message by the current user and throw it in edit mode... How does it decide which message to edit?? |
Related #16402 |
Maybe, #16402 would merely confirm that it's throwing the wrong message into edit mode... |
Got the same problem with the Desktop client. (Element 1.9.7 and OLM 3.2.8) The issue happens sporadically, although it might have to do something with the first start after windows boot as the issue only arised (as i remember) one time per day. |
Not for me. I haven't seen it working, not once, since I first noticed this issue. And I make a lot of typos, and I'm OCD enough to also want to correct them, so I'm already on the cusp of demanding some bloody priority.
I'm happy for you. But as for the devs: why is it so hard to:
Surely, it can't be more complicated than that. I'm very curious what the logic is currently. How does it find a random older message to be the "most recent" and viable for editing? |
This is still happening on the latest version:
Not trying to be impatient. It's just a really obvious bug and this not working properly is quite annoying when it selects the wrong (or no) message again. It's what I'd call "low hanging fruit". |
Okay, so I though this was fixed, but the issue cropped up again. I still would very much like to know how this possibly could not work. How hard is it, I mean honestly, to find the most recent message sent by the current user? And then just throw it in edit mode? I'm not expierenced in native apps, but I do know that this can't possibly be hard in any way, shape, or form. So, something REALLY weird or REALLY benign must be throwing in a wrench. |
Hi @thany, the reason this hasn't been fixed yet is that we haven't determined how to reproduce it. It would help if you could share some details:
|
I don't know how to reproduce it either. But I do know that it's never long before the problem pops up again, after working correctly for a seemingly random amount of time (could be days). I understand that a reliable reproduction path is important. I'm a developer myself, and intermittent bugs are annoying for a developer to be told to fix. However, if you study the source, surely you are able to come up with a set of exact circumstances that have to be met in order for this feature to work correctly? I ask for this in bug reports sometimes, simply to trigger someone to start thinking about how their feature actually works. If a straight answer for this isn't coming, in my mind it means it must be either plain vanilla simple, or gas factory level complicated. Anyway,
Yup.
Nope, the bottom of the timeline is my message. That's what I'm trying to edit. There's hardly ever more than a few messages between the bottom of the timeline and my most recent message.
Not right now as it randomly started working correctly again 🤷🏻♂️
|
@thany I may have accidentally found the cause for it, being a stale editState being left around for a variety of means. Presuming fixed by matrix-org/matrix-react-sdk#8184 Once you're on a version with that fix and if you see it again, please shout. |
@t3chguy The problem is back. Can you reopen, or should I create a new one? |
@thany Please create a new ticket for that |
Steps to reproduce
Outcome
What did you expect?
The most recently sent message goes into edit mode
What happened instead?
Nothing
Operating system
Windows 10 21H2
Application version
Element version: 1.9.5 Olm version: 3.2.3
How did you install the app?
From https://element.io/, and self-updates
Homeserver
matrix.org
Will you send logs?
No
The text was updated successfully, but these errors were encountered: