Code Monkey home page Code Monkey logo

Comments (14)

yusi1 avatar yusi1 commented on June 30, 2024 1

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.

oakkitten avatar oakkitten commented on June 30, 2024 1

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.

oakkitten avatar oakkitten commented on June 30, 2024

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.

yusi1 avatar yusi1 commented on June 30, 2024

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.

oakkitten avatar oakkitten commented on June 30, 2024

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 running adb 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.

yusi1 avatar yusi1 commented on June 30, 2024

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.

oakkitten avatar oakkitten commented on June 30, 2024

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.

yusi1 avatar yusi1 commented on June 30, 2024

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

  • /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.

yusi1 avatar yusi1 commented on June 30, 2024

@oakkitten I am yaslam on IRC btw

from weechat-android.

yusi1 avatar yusi1 commented on June 30, 2024

@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:

from weechat-android.

yusi1 avatar yusi1 commented on June 30, 2024

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.

oakkitten avatar oakkitten commented on June 30, 2024

Thanks for the video, most helpful. Could you check if 91ffe11 resolves the issue for you?

from weechat-android.

yusi1 avatar yusi1 commented on June 30, 2024

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.

metaphysicsIO avatar metaphysicsIO commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.