bolt-python icon indicating copy to clipboard operation
bolt-python copied to clipboard

The last word of the message gets lost when posted with iPhone 8, XR.

Open cnr0724 opened this issue 2 years ago • 5 comments

The slack_bolt version

slack-bolt==1.13.0 slack-sdk==3.15.2 slacker==0.14.0 slackeventsapi==3.0.1

Python runtime version

Python 3.8.8

OS info

Ubuntu-20.04.1

Steps to reproduce:

(Share the commands to run, source code, and project settings (e.g., setup.py))

  1. Post a message in a channel where the app is integrated in with iPhone 8 or iPhone XR.

Expected result:

The whole message is received by the slack app.

Actual result:

The last word of the message vanishes.

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

cnr0724 avatar Jun 29 '22 09:06 cnr0724

Hi @cnr0724! Very curious issue.

To get things started, can you provide us the following information:

  • Is the same message, in its entirety, displayed correctly on devices other than iPhone 8 / iPhone XR?
  • What is the message that is being sent (character count, content)?
  • Is this behavior seen regardless of the content of the message?
  • Is this behavior seen regardless of the character count of the message?

misscoded avatar Jun 29 '22 18:06 misscoded

Hello, @misscoded !

  • Is the same message, in its entirety, displayed correctly on devices other than iPhone 8 / iPhone XR?

Actually the same situation sometimes happens when the message is posted by PC slack of Windows. But usually, the same message is displayed correctly on Android devices (Galaxy note 10 and other devices) or other PC slack (Ubuntu 20.04.1, and Windows when it's lucky).

  • What is the message that is being sent (character count, content)?

Usually the character count is about 10 texts length, and the content is the combination of Korean and English. The example would be 'ㄱㄱ project'. When this kind of message is posted, the slack app only receives the 'ㄱㄱ' part. I've checked the log and the 'project' part vanishes.

  • Is this behavior seen regardless of the content of the message?

Yes. But I haven't tested what happens when the first word differs.

  • Is this behavior seen regardless of the character count of the message?

Yes. As the lengths of the project name are various, the character count of the message varies. But I haven't tested what happens when the message consists of more than 3 words.

cnr0724 avatar Jun 30 '22 00:06 cnr0724

Thanks for giving providing us with all of that information! It will hopefully help us narrow down what's going on here. From what you've explained, it seems to be tied to the presence of Korean characters preceding the English words, but it's hard to be sure at this point.

I'm going to see what I can find by way of known issues, but in the meantime, can you take a few minutes to try out different combinations and lengths of words so that we can get a clearer picture of when the issue arises? For example:

  • Messages that have more than three words
  • Messages that follow different order patterns ([English, Korean, English], [Korean, English, Korean], etc.)

misscoded avatar Jun 30 '22 00:06 misscoded

  • Messages that have more than three words
  • Messages that follow different order patterns ([English, Korean, English], [Korean, English, Korean], etc.)

So I've tried 'test 테스트', '테스트 test 테스트', and 'test 테스트 test 테스트'. All tests worked out.

I guess vanishing event only happens when the message is in the format of [Korean, English].

cnr0724 avatar Jun 30 '22 01:06 cnr0724

👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.

github-actions[bot] avatar Aug 01 '22 00:08 github-actions[bot]

As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number.

github-actions[bot] avatar Aug 15 '22 00:08 github-actions[bot]