Skip to content
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

Poll not visible #24568

Closed
jherrma opened this issue Feb 17, 2023 · 6 comments · Fixed by matrix-org/matrix-js-sdk#3246
Closed

Poll not visible #24568

jherrma opened this issue Feb 17, 2023 · 6 comments · Fixed by matrix-org/matrix-js-sdk#3246
Assignees
Labels
A-Polls O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@jherrma
Copy link

jherrma commented Feb 17, 2023

Steps to reproduce

  1. Create a poll in a group from some device
  2. Open the group chat in the desktop app

Outcome

What did you expect?

I can see the poll, participate and view the votes.

What happened instead?

I don't see the poll message

Operating system

Arch Linux

Application version

Element Version: 1.11.23; Olm: 3.2.12

How did you install the app?

Flatpak

Homeserver

non-public homeserver, matrixdotorg/synapse

Will you send logs?

No

@jherrma
Copy link
Author

jherrma commented Feb 17, 2023

no-poll-visible

@MadLittleMods
Copy link
Contributor

MadLittleMods commented Feb 17, 2023

@jon-ryan Are you sure that the poll was actually sent out? It might be hard to tell because the message send status isn't shown for polls (tracked by #20566)

Does the poll have an event ID? Is it visible from any other device than where you created the poll?

@MadLittleMods MadLittleMods added the X-Needs-Info This issue is blocked awaiting information from the reporter label Feb 17, 2023
@jherrma
Copy link
Author

jherrma commented Feb 19, 2023

@MadLittleMods yes, the poll was sent out. It is visible on iOS and Android and users can participate.
One user in this group is using the Windows desktop client and he also can't see the poll.

The poll has an event id which begins with $jI74LNVY8-z2YrJZKu09g_HU-.....

@kerryarchibald
Copy link
Contributor

Tested this by creating a poll on Element iOS 1.10.2 and viewing it with EW desktop 1.11.2, could not recreate the issue.
What client is being used to create the poll?
Can you share the event source for the poll? (On a client where you can see the poll, open the ... message context menu and 'view source')
Screenshot 2023-02-20 at 11 07 03

@jherrma
Copy link
Author

jherrma commented Feb 21, 2023

I created the poll in the desktop application. On that client I can see it. Other desktop clients can't see it.

{
  "room_id": "!yPNuyUUpKbwfVYZrku:[my-homeserver]",
  "type": "org.matrix.msc3381.poll.start",
  "content": {
    "org.matrix.msc3381.poll.start": {
      "question": {
        "org.matrix.msc1767.text": "Datum nächstes Treffen",
        "body": "Datum nächstes Treffen",
        "msgtype": "m.text"
      },
      "kind": "org.matrix.msc3381.poll.disclosed",
      "max_selections": 1,
      "answers": [
        {
          "id": "xm8MI1vatmgIXiLM",
          "org.matrix.msc1767.text": "25.02."
        },
        {
          "id": "k7LPBFhWIBjlNXwT",
          "org.matrix.msc1767.text": "18.03"
        }
      ]
    },
    "org.matrix.msc1767.text": "Datum nächstes Treffen\n1. 25.02.\n2. 18.03"
  }
}

@MadLittleMods MadLittleMods added X-Needs-Investigation and removed X-Needs-Info This issue is blocked awaiting information from the reporter labels Feb 21, 2023
@weeman1337
Copy link
Contributor

I am able to reproduce it by following these steps:

  • Start a poll
  • Login in with a new device
  • Do not verify this device
  • Go to the room, see the encrypted poll message
  • Verify your device

Expected: Poll now visible
What actually happens: Poll not visible, empty message

@weeman1337 weeman1337 self-assigned this Apr 3, 2023
@MadLittleMods MadLittleMods added S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Occasional Affects or can be seen by some users regularly or most users rarely labels Apr 3, 2023
su-ex added a commit to SchildiChat/matrix-js-sdk that referenced this issue Apr 25, 2023
* Change `Store.save()` to return a `Promise` ([\matrix-org#3221](matrix-org#3221)). Contributed by @texuf.
* Add typedoc-plugin-mdn-links ([\matrix-org#3292](matrix-org#3292)).
* Annotate events with executed push rule ([\matrix-org#3284](matrix-org#3284)). Contributed by @kerryarchibald.
* Element-R: pass device list change notifications into rust crypto-sdk ([\matrix-org#3254](matrix-org#3254)). Fixes element-hq/element-web#24795. Contributed by @florianduros.
* Support for MSC3882 revision 1 ([\matrix-org#3228](matrix-org#3228)). Contributed by @hughns.
* Fix screen sharing on Firefox 113 ([\matrix-org#3282](matrix-org#3282)). Contributed by @tulir.
* Retry processing potential poll events after decryption ([\matrix-org#3246](matrix-org#3246)). Fixes element-hq/element-web#24568.
* Element-R: handle events which arrive before their keys ([\matrix-org#3230](matrix-org#3230)). Fixes element-hq/element-web#24489.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Polls O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants