nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
843 stars 260 forks source link

Opening a mailbox for the first time freezes the browser #9133

Open ChristophWurst opened 10 months ago

ChristophWurst commented 10 months ago

Steps to reproduce

  1. Set up an account
  2. Click on a mailbox you haven't opened before. "Ideally it has hundreds of messages"

Expected behavior

The mailbox syncs quickly and I see the 20 newest messages

Actual behavior

The browser freezes. If I'm lucky it returns eventually, but shows hundreds of messages.

Network log says all messages of the mailbox were loaded

image

Mail app version

3.5.0

Mailserver or service

No response

Operating system

No response

PHP engine version

None

Web server

None

Database

None

Additional info

No response

ChristophWurst commented 10 months ago

I'm afraid this could also be caused by https://github.com/nextcloud/mail/pull/8231 @hamza221

ChristophWurst commented 10 months ago

image

It is not exclusive to the first visit of the mailbox

hamza221 commented 10 months ago

I can't reproduce locally :/

ChristophWurst commented 10 months ago

image

The browser sends an empty list of known messages. So the server considers everything new.