-
Notifications
You must be signed in to change notification settings - Fork 42
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
ReplyBox sourcename sometimes no longer disappears after sending a reply #691
Comments
I was able to reproduce this on Debian. It worked on my first reply -- the placeholder text was cleared -- but after my second reply the text remained as I typed over it. It looks like it depends on whether you attempt the next reply during the conversation refresh. It can eventually correct. |
Also confirmed it's happening in Qubes with python-pyqt5 version 5.11.3+dfsg-1+b3 |
OK... so I thought I had Qubes / sd-workstation set up so I could follow the STR, but then something updated and I've just spent the past 2 hours trying to fix / wait for things to update (have been fixing minor things in meantime). And now Qubes is broken - complains of sys-usb doesn't exist. I admit I've been trying all sorts of commands so I've probably shot myself in the foot. :-( I might try a fresh install of Debian to try to reproduce. Very frustrating. :-/ |
So I was able to reproduce this on master just now: Heads up that this was not on Qubes and not using Ctrl+enter to send, I've updated the STR as such. As @rmol suggests, it looks to be an intermittent issue, so it's probably due to the conversation view refreshing after reply success. As such, I expect it will probably go away once #660 and #473 are addressed. Let's deprioritize this one for now and then come back if it's still around when #660 and #473 are closed. |
@redshiftzero hah... you've caught me mid-installation of Debian onto a spare HD. Ack on the de-prioritization given those other tickets / issues being addressed soon. Will still try to reproduce though... ;-) |
OK... I've managed to reliably reproduce this behaviour while testing #688. I've fixed the issue in that branch and closed my initial PR (containing guesswork since I couldn't reproduce the problem) #712. It turns out that the focus of the text_edit widget was the problem. If I shutdown my securedrop instance and then sent a message, then the DraftReply would fail and focus wouldn't switch to the messages (it remained in the text_edit widget). Ergo, while the placeholder was visible, since you still had focus in the text_edit you could type over the placeholder. The placeholder text was only removed when the text_edit gained focus. The solution was simply to take focus away from text_edit when send_reply in called. |
related bug: #726 |
STR
@redshiftzero edit: This is an intermittent issue
Related but not the same as: #684
The text was updated successfully, but these errors were encountered: