Comments (14)
Thanks for the video, most helpful. Could you check if 91ffe11 resolves the issue for you?
Yep, that seems to fix the issue
from weechat-android.
I'll look into it but this is probably not an issue. We are tracking WeeChat objects primarily by the pointers, since both the short and full buffer names are not stable. In cases when those are not available for one reason or another, we show the pointer since it's better to show something... I guess?
from weechat-android.
That's supposed to be an icon of a cat that caught the LAN cable it was chasing, meaning that it's connected, so that's alright. Could you explain what you mean by “weirdly”, and how you can't switch buffers? If you don't see any buffers, it might because the server buffers are hidden by default, and you don't have any others. FWIW I do have WeeChat in Termux and it works fine with Weechat-Android.
from weechat-android.
I am able to connect and see buffers, but text inside the buffers don't show for me, and am also unable to issue any /join
or /part
commands and also can't send messages, I also get crashes sometimes.
It is a bit hard to explain so I attached a video:
Screen_Recording_20230214_051351_Weechat-Android.mp4
from weechat-android.
Thanks for the video. Well this is super weird. We shouldn't be crashing, you shouldn't see the cat in a buffer, and messages should get through... To clarify, if you say something like /print foo
in a channel, is the problem that you don't see foo
in Weechat-Android, or you don't see it in WeeChat either?
Could you also provide:
- app build ID (you can find it in Settings → About)
- your Android flavor/version and device model
- did you install the app from F-Droid or Play Store?
- crash information and any relevant portions of logcat. You can get that by installing
adb
and runningadb logcat
. Look not only for errors but for warnings as well.
P.S. You can tap on the cat to connect/disconnect
from weechat-android.
Yeah, when I do something like /print foo
or send a message and click the send button in a channel on the Weechat-Android app, I am unable to see any messages I've sent through the Weechat-Android app on the Weechat instance running inside Termux, if I were to send a message by using Weechat inside Termux directly, it works and I am able to see the messages.
Here's more info:
- App Build ID: v1.8.1-0-g7b11324d
- Android Flavor/Version: OneUI, Android 13
- Device Model: Samsung A52s 5G
- I have tried both the Play Store version and the FDroid version, and they both have the same issue, the version I'm using in the video is the Play Store version.
- Here are bits of the logs from
adb logcat
, I didn't really know what I was looking for and looked for just errors and then just warnings, I opened the app and made it crash twice and recorded the warnings / errors that happened in the logs afterwards: - Warnings: http://ix.io/4o2C
- Errors: http://ix.io/4o2G
(FYI I am now able to crash the app every time I click on a channel)
from weechat-android.
Thanks, this is very helpful. Hm, it seems that the app fails to parse buffer IDs somehow. ViewHolder
's id
seems to be -1
for all buffers, and we get that from the buffer pointer. That would explain why the messages don't get through. I am at loss why this would happen.
Can you give more info:
- What does
/v
say in WeeChat? My Termux version says,WeeChat 3.8 [compiled on Jan 8 202 12:18:20]
- What's the connection way and parameters, if any? (Plain, SSL, etc)?
- Is there anything peculiar/nonstandard about the setup that you can think of?
If I can't reproduce the problem, I guess the only thing we could do would be debugging. Or perhaps we can build an APK for you that would print additional information. Could you pop into our IRC channel on libera? #weechat-android
from weechat-android.
Thanks, this is very helpful. Hm, it seems that the app fails to parse buffer IDs somehow.
ViewHolder
'sid
seems to be-1
for all buffers, and we get that from the buffer pointer. That would explain why the messages don't get through. I am at loss why this would happen.Can you give more info:
- What does
/v
say in WeeChat? My Termux version says,WeeChat 3.8 [compiled on Jan 8 202 12:18:20]
- What's the connection way and parameters, if any? (Plain, SSL, etc)?
- Is there anything peculiar/nonstandard about the setup that you can think of?
If I can't reproduce the problem, I guess the only thing we could do would be debugging. Or perhaps we can build an APK for you that would print additional information. Could you pop into our IRC channel on libera? #weechat-android
-
/v
in Weechat returns the same as your one:Weechat 3.8 [compiled on Jan 8 2023 12:18:20]
. -
I use SSL.
-
Not really, I connect to my IRC bouncer the same way that I do for all my other clients on Weechat.
-
Could you pop into our IRC channel on libera? #weechat-android
Sure
from weechat-android.
@oakkitten I am yaslam
on IRC btw
from weechat-android.
@oakkitten Per our conversation on IRC, I have installed the debug build and ran the same commands to get the logs, here are the Warning and Error and Debug logs after making it crash by clicking on the buffer:
- Warning: http://ix.io/4o52
- Error: http://ix.io/4o53
- Debug: http://ix.io/4o54
from weechat-android.
Okay, so after further testing, when I do /close
in a buffer or select Close
in the menu after clicking on the three dots, sometimes a random buffer will go completely blanked out (i.e absolutely nothing will be shown in the buffer, not even the Weechat version), only after I swipe left/right a few times to switch buffer or select the blanked out buffer from the menu does the buffer show text again, but sometimes this doesn't work, and the buffer stays blank until I join a new channel.
Here's a video describing the odd behaviour:
Screen_Recording_20230215_182726_Weechat-Android.mp4
from weechat-android.
Thanks for the video, most helpful. Could you check if 91ffe11 resolves the issue for you?
from weechat-android.
There is a new error I've been experiencing, when quitting weechat in Termux without disconnecting from it in the weechat-android
app, raw buffer names get shown.
Here is a video describing the odd behaviour:
Screen_Recording_20230304_134015_Weechat-Android.mp4
from weechat-android.
My friend in IRC, who doesn't have a github account, asked me to convey a message for them: "can some one please comment and request this patch be merged: #562"
from weechat-android.
Related Issues (20)
- [enhancement] curl command shown in the File sharing settings could be dynamically affected by the settings user applies HOT 1
- [Feature Request] Show a notification with sound when the connection is broken HOT 4
- [enhancement] Better explanation/documentation of Connection -> Ping Settings HOT 5
- Clicking on a user switches the buffer on the relay, causing missed notifications HOT 1
- Respect `weechat.completion.nick_completer`
- Up Arrow to last command HOT 5
- Whois information in random buffers
- Crash on Xiaomi when tapping on an URL HOT 1
- Add option to accept invalid SSL certs HOT 1
- EmojiCompat raises exception in logcat every few seconds
- Optional biometric request HOT 4
- Option to stop enter from sending the type buffer HOT 1
- No refresh in xfer buffer HOT 2
- Easier way to see channel titles HOT 2
- Support sending multiline messages and properly render them
- Support themed app icons
- If connected via plain relay, WeeChat upgrades leave the client in limbo
- Encrypt, don't back up passwords & keys
- Implement _buffer_cleared handler
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weechat-android.