29 Sep 2023 |
@ducheng:matrix.org | Redacted or Malformed Event | 18:19:47 |
@ducheng:matrix.org | Redacted or Malformed Event | 18:20:54 |
| SpiritCroc banned @ducheng:matrix.org. | 18:21:00 |
SpiritCroc | Hope I cleaned up enough, ping me/admins+mods if necessary | 18:22:10 |
| SpiritCroc banned @nimilv:matrix.org. | 18:23:19 |
30 Sep 2023 |
| windystone joined the room. | 01:13:27 |
miladfashi | Why when I send a picture I can not see my pic in chat room until i close app and reopen it !? | 06:24:22 |
| ÙwÚ changed their display name from Freethought Shall Reign to ÙwÚ. | 10:26:49 |
| ÙwÚ changed their profile picture. | 10:27:22 |
HarHarLinks | I'm having the issue that when I have an unread noisy notification, any other notification will also be noisy indirectly
I realize but that only gets security fixes anymore | 12:47:07 |
KaKi87 | Hello, when trying to write a message in this channel on mobile, the app suddenly turns blank white, is that a known issue ? Thanks | 19:02:23 |
Nico | That happens sometimes with me as well | 20:06:31 |
Nico | Juste reset the account / clear cache / try to open it on two different devices at the same time | 20:06:54 |
Nico | * Just reset the account / clear cache / try to open it on two different devices at the same time | 21:45:41 |
1 Oct 2023 |
| love set a profile picture. | 06:20:51 |
| vbglufh joined the room. | 11:11:17 |
| danglerowner joined the room. | 17:51:34 |
2 Oct 2023 |
| temp4096 joined the room. | 04:48:45 |
| mhzx joined the room. | 12:59:01 |
| @jdhdhe:matrix.org joined the room. | 14:17:39 |
| @jdhdhe:matrix.org left the room. | 14:18:57 |
| pokon548 joined the room. | 15:42:36 |
anosomtoja | Hi there I'm investigating a bug in SchildiChat and need some advice.
If you reply to a message (quick reply or from menu, doesnt matter) the editText cursor will reset to the beginning and disappear (the editText view loses focus). I fixed the part where the cursor goes back. I tried to fix the bug where the cursor disappears by simply adding editText.showKeyboard(andRequestFocus = true) to renderSpecialMode in the PlainTextComposerLayout. Unfortunately this does nothing and the view loses focus anyway. Even if i force it to change back from a listener on the editText view it loses focus again (tested with a viewTreeObserver: after i manually focus the view, it loses the focus again and the new focused view is null). The only way to give it focus again is with user input (tapping the editText). The cause of this must be somehow related to setting visibility to the related relatedMessageGroup in the expand function (if i remove this line "views.relatedMessageGroup.isVisible = true" the editText doesn't lose focus). I also tried setting the relatedMessageGroup and its children to not be focusable but that did not help. Unfortunately I don't think it's possible to use a stack dump or similar to trace back to the root of the issue, so I need someone with a lot more experience in android development to clue me in as to what could be happening. Thanks in advance. | 15:49:40 |
SpiritCroc | In reply to @anosomtoja:matrix.org Hi there I'm investigating a bug in SchildiChat and need some advice. If you reply to a message (quick reply or from menu, doesnt matter) the editText cursor will reset to the beginning and disappear (the editText view loses focus). I fixed the part where the cursor goes back. I tried to fix the bug where the cursor disappears by simply adding editText.showKeyboard(andRequestFocus = true) to renderSpecialMode in the PlainTextComposerLayout. Unfortunately this does nothing and the view loses focus anyway. Even if i force it to change back from a listener on the editText view it loses focus again (tested with a viewTreeObserver: after i manually focus the view, it loses the focus again and the new focused view is null). The only way to give it focus again is with user input (tapping the editText). The cause of this must be somehow related to setting visibility to the related relatedMessageGroup in the expand function (if i remove this line "views.relatedMessageGroup.isVisible = true" the editText doesn't lose focus). I also tried setting the relatedMessageGroup and its children to not be focusable but that did not help. Unfortunately I don't think it's possible to use a stack dump or similar to trace back to the root of the issue, so I need someone with a lot more experience in android development to clue me in as to what could be happening. Thanks in advance. I'm not sure what happens there, just some spontaneous idea would be that you could launch the showKeyboard() or whatever function to request focus with Handler.post() or Handler.postDelayed() so it's not run too early in the UI queue. May be better to discuss in a github issue than here though. | 15:56:34 |
anosomtoja | I'll try that and report back, thanks. | 15:58:18 |
anosomtoja | Using a delay fixes it, thanks. Although it would be nice to know what's going on. | 16:25:43 |
SpiritCroc | In reply to @anosomtoja:matrix.org Using a delay fixes it, thanks. Although it would be nice to know what's going on. Did Handler.post() without delay not work? In case a delay is necessary, then it's not really a proper fix but rather a hint what's going on (although I don't have an issue accepting something like that as workaround). | 16:33:33 |
anosomtoja | Works without delay too | 16:39:52 |
SpiritCroc | Then it's good, I recall having to do that as well in similar scenarios before, to ensure it's called at the right time. | 16:44:59 |
| @h171655h:matrix.org left the room. | 19:05:50 |