nextcloud / news

:newspaper: RSS/Atom feed reader
https://apps.nextcloud.com/apps/news
GNU Affero General Public License v3.0
861 stars 186 forks source link

Message read status in feed is not correctly updated using keyboard shortcut right arrow #336

Closed mjanssens closed 2 years ago

mjanssens commented 6 years ago

IMPORTANT

Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)

Steps to reproduce

  1. Select a feed
  2. select next message by right arrow key
  3. select next message by right arrow key
  4. keep clicking right arrow key until last message is read

Expected behaviour

in step 2 message read status should be updated in step 3 message read status should be updated in step 4 all messages in feed are read

Actual behaviour

in step 2 message read status is not changed in step 3 message read status is updated, not for the just read message, but one message before that in step 4 the last 2 messages keep unread status

Extra notice: Scrolling throught messages by mouse or with down arrow key changes read status of all messages correctly

Server configuration detail

Operating system: Linux 4.15.18-4-pve #1 SMP PVE 4.15.18-23 (Thu, 30 Aug 2018 13:04:08 +0200) x86_64 Debian GNU/Linux 9.5 (stretch)

Webserver: Apache (apache2handler) Apache/2.4.25 (Debian)

Database: pgsql PostgreSQL 9.6.10 on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit

PHP version:

7.0.30-0+deb9u1 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, apache2handler, PDO, xml, apcu, apc, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, exif, mcrypt, pdo_pgsql, pgsql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache

Nextcloud version: 14.0.0 - 14.0.0.19

Updated from an older Nextcloud/ownCloud or fresh install: Updated from 13.0.6

Where did you install Nextcloud from: manual install

Signing status Array ( )
List of activated apps ``` Enabled: - accessibility: 1.0.1 - activity: 2.7.0 - admin_audit: 1.4.0 - announcementcenter: 3.3.0 - apporder: 0.5.0 - bookmarks: 0.13.0 - bruteforcesettings: 1.1.0 - calendar: 1.6.2 - cloud_federation_api: 0.0.1 - comments: 1.4.0 - contacts: 2.1.6 - dav: 1.6.0 - deck: 0.4.1 - federatedfilesharing: 1.4.0 - federation: 1.4.0 - files: 1.9.0 - files_accesscontrol: 1.4.0 - files_downloadactivity: 1.3.0 - files_external: 1.5.0 - files_markdown: 2.0.4 - files_pdfviewer: 1.3.2 - files_sharing: 1.6.2 - files_texteditor: 2.6.0 - files_trashbin: 1.4.1 - files_versions: 1.7.1 - files_videoplayer: 1.3.0 - firstrunwizard: 2.3.0 - gallery: 18.1.0 - gpxpod: 2.3.1 - groupfolders: 1.3.3 - impersonate: 1.1.0 - issuetemplate: 0.4.0 - limit_login_to_ip: 1.0.4 - logreader: 2.0.0 - lookup_server_connector: 1.2.0 - mail: 0.10.0 - news: 13.0.1 - nextcloud_announcements: 1.3.0 - notes: 2.4.2 - notifications: 2.2.1 - oauth2: 1.2.1 - password_policy: 1.4.0 - phonetrack: 0.3.1 - polls: 0.8.3 - previewgenerator: 1.1.0 - provisioning_api: 1.4.0 - quota_warning: 1.3.0 - ransomware_protection: 1.2.0 - richdocuments: 2.0.13 - serverinfo: 1.4.0 - sharebymail: 1.4.0 - spreed: 4.0.0 - support: 1.0.0 - survey_client: 1.2.0 - systemtags: 1.4.0 - tasks: 0.9.7 - theming: 1.5.0 - twofactor_backupcodes: 1.3.1 - twofactor_totp: 1.5.0 - twofactor_u2f: 1.6.1 - updatenotification: 1.4.1 - workflowengine: 1.4.0 Disabled: - encryption - user_external - user_ldap ```
Configuration (config/config.php) ``` { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "htaccess.RewriteBase": "\/", "dbtype": "pgsql", "version": "14.0.0.19", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "logtimezone": "Europe\/Amsterdam", "installed": true, "mail_smtpmode": "sendmail", "maintenance": false, "loglevel": 2, "default_language": "nl", "memcache.local": "\\OC\\Memcache\\APCu", "memcache.locking": "\\OC\\Memcache\\Redis", "filelocking.enabled": "true", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 0 }, "singleuser": false, "updater.release.channel": "stable", "mail_smtpauthtype": "LOGIN", "mail_smtpsecure": "ssl", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587" } ```

Are you using external storage, if yes which one: local

Are you using encryption:

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Client configuration

Browser: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Operating system: Opensuse Tumbleweed

Logs

Browser log ``` ```
Nextcloud log ``` ```
Browser log
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/63923651-message-read-status-in-feed-is-not-correctly-updated-using-keyboard-shortcut-right-arrow?utm_campaign=plugin&utm_content=tracker%2F38605310&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F38605310&utm_medium=issues&utm_source=github).
jreybert commented 5 years ago

I confirm I encounter the exact same behavior since I updated to nextcloud 14.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

biva commented 5 years ago

Hello, any news on this issue?

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

jreybert commented 5 years ago

For the record, the issue is still here with nextcloud 15.

af7567 commented 5 years ago

I have been having the same issue in NC15 and now NC16. Using the right arrow to scroll through the articles will mark them all as read until I get to the last 2. Those last 2 I need to actually click on them for them to be marked read. I am not using Compact View, my only enabled option is Reverse Ordering

mehturt commented 5 years ago

I have the same problem. Sometimes pressing End on the keyboard marks the feed as read.

Grotax commented 5 years ago

We know that it exists, nobody fixed it yet no more "me too" comments please.