Skip to content

Not all new messages are shown on the subscriptions tab #856

Open

Description

@yurivict

'Subscriptions' tab shows that there are new messages (in bold), but not all new messages are displayed there. 'Messages' tab though shows all new messages from the subscription channels.

Activity

  1. added
    bugSomething isn't working as it's supposed to
    on May 8, 2016
  2. added this to the v0.8.0 milestone on May 8, 2016
  3. self-assigned this
    on May 8, 2016
  4. PeterSurda commented on May 8, 2016

    @PeterSurda
    Member

    I'm not sure I understand. Can you send me a screenshot maybe? That being said, there are two bugs that could be related:

    • when you start, no subscription/chan is selected and all of them are shown
    • when you read a message in "all" or under subscription/chan, the list is not updated in the other one

    But that does not sound like what you're describing.

  5. yurivict commented on May 9, 2016

    @yurivict
    ContributorAuthor
    1. Subscription's "inbox" shows 1 new message (in bold).
    2. When I click on the inbox this new message isn't displayed in the list of messages to the right.
    3. To see the message I have to switch to the "Messages" tab where it is shown under "All accounts".
  6. PeterSurda commented on May 9, 2016

    @PeterSurda
    Member

    Could it be that you have something in the search field?

  7. yurivict commented on May 9, 2016

    @yurivict
    ContributorAuthor

    No, search field is empty.

  8. PeterSurda commented on May 10, 2016

    @PeterSurda
    Member

    It's likely that this was a bug in the indicator of the number of new messages (there have been many over the time and maybe there still is one) rather than a bug in the list of messages in the inbox. If that's the case, the message would have been displayed, but it wouldn't have been bold. Is it possible?

  9. yurivict commented on May 10, 2016

    @yurivict
    ContributorAuthor

    No, there are new messages that are received for the subscription, indicator shows it right. But they aren't in the list of this particular subscription. Some messages don't show under their subscriptions.

  10. PeterSurda commented on May 10, 2016

    @PeterSurda
    Member

    Ok I will check.

  11. yurivict commented on May 11, 2016

    @yurivict
    ContributorAuthor

    I have an additional info. This particular subscription is added in both Chans and Subscriptions tabs. (Not sure if this is supposed to be allowed)

    "All accounts" list seems correct. "Subscriptions" tab correctly shows the count of new messages in bold (Inbox (N)) but the list is missing many of them. "Chans" shows the correct count and list but all of them are marked as "unread", regardless if they have been read on another tabs.

    So, there are two problems:

    1. "Subscriptions" tab is missing messages in the list
    2. "Chans" tab has "unread" flag set wrongfully on the already read messages.

    Additionally, it isn't clear to me if the same item should be allowed to be added to both Subscriptions and Chans. Not sure even what is the difference.

  12. PeterSurda commented on May 11, 2016

    @PeterSurda
    Member

    I see. That would explain the misbehaviour. While technically it is possible to use the same key for both a subscription and a chan, it makes little practical sense and will very likely screw up the UI. The reason it makes little practical sense is that it results in a combination of disadvantages of both mechanisms: since all the chan subscribers know the private key, they all can send broadcasts with that key, which makes the broadcast author unauthenticated, which makes no sense. I could change the UI so that it's displayed correctly but it's too much work for a useless situation. I'm too lazy to check, but most likely the lists of messages are correct, just the indicator of unread message count is wrong.

    If you are expecting to see chan messages under subscriptions, it means is a broader UI issue, i.e. it didn't explain to you the difference between chans and subscriptions. I also didn't understand it when I started working on it and I actually broke it in early releases of the new UI. There is a ticket open about explaining how it works to the user.

  13. yurivict commented on May 11, 2016

    @yurivict
    ContributorAuthor

    If this is impractical you should make UI not allow to add the same item under both Subscriptions and Chans with an explanation why and possible choices.

  14. PeterSurda commented on May 11, 2016

    @PeterSurda
    Member

    I believe it won't allow you to add a duplicate already, you probably imported the setup from an earlier version.

  15. yurivict commented on May 12, 2016

    @yurivict
    ContributorAuthor

    Possibly. But it is difficult to understand what the difference between them is. I think there should be notes on the tabs explaining the difference. Because chans are also broadcasts.

  16. PeterSurda commented on Jun 5, 2016

    @PeterSurda
    Member

    I actually did some changes about this in 6dff105, can you check out the current v0.6 branch if it helps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as it's supposed towontfix

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions