notification number don't refresh a to 0 when mark read, need to refresh the page or change of page.
Thomas De Schampheleire
A similar issue is present in the pull requests: the comment counts are not updated when you create inline comments.
This is related to the usage of AJAX to update only part of a page, and this dynamic loading does not change other elements such as notification count or comment count.
It needs to be fixed indeed, contributions are welcome!