I used my admin account to create 10 topics and then changed ownership to another user.
On Android the Discourse mobile app then shows 15 notifications. It also shows 11 new topics which don’t show up either. These indicators won’t go away with app or phone restart:
EDIT: Nope. The user couldn’t edit the post that they owned because it was in a category that they didn’t have permission in. It’s a little confusing that a user could own a post but not be able to edit it, but it’s not a bug and has nothing to do with this topic. Sorry.
I don’t know if it’s related and haven’t looked at it carefully, but I have a user who is reporting that changing a topic owner appears to work but then the new owner can’t edit what is then their own topic.
I wonder whether the topic and the first post don’t both have the ownership changed.
I’ll have a look when it becomes day here, but Sam’s day is almost over then, so I thought I’d throw this in.
Receives the correct notification of the updated topic.
But still has the reported problem
P.S.
Another nice feature I’ve never noticed before: I hadn’t dismissed the 16 notifications for the new owner so when I edited one of those topics I now see the highlight removed for that topic in the notification drop-down. Discourse
One sec, just confirming, the bug report here is 100% aimed at the app not showing the right number? The site when you click it has all the correct info and bubbles? Even a second tab?
There are 2 possibilities here:
If you open 2 tabs, do move shenanigans in 1 tab and then blue counts on tab 2 are broke, it means we are missing a message on move.
If you both tabs are good and only app is showing bad info, we may have a message bus issue which we should fix.
@pmusaraj one thing I have been thinking about app wise is to force a full message bus re-sync hourly. I feel I need to drag down the thing way too often to correct blue numbers. Also maybe something is off with our MB implementation on the app.
Only the app has a problem. It continues to show the same counts for notifications and new topics.
I could fabricate some new notifications to see what happens. Otherwise it could be days before I see any any new notifications and new topics. We’re still configuring the site which has just enough content for testing and examples.
Agreed, I use pull-to-refresh too often too (and it regularly ignores my requests). Hourly updates would help, but we can/should also update the app’s counters while the user is interacting with a site.