Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize MailModel.folders as empty Map #7967

Open
wants to merge 12 commits into
base: dev-mail
Choose a base branch
from

Conversation

hrb-hub
Copy link
Contributor

@hrb-hub hrb-hub commented Nov 18, 2024

This potentially solves a reported issue that we don't quite know how to reproduce. MailModel.folders.size is being read before MailModel.folders is set to a Map.

Close #7966

BijinDev and others added 11 commits November 18, 2024 13:24
close: #7820
Co-authored-by: ivk <ivk@tutao.de>
Issue caused by inline images not being replaced after a loadAll call
(without notify) which sanitizes mail body.
This is due to the replaceInlineImages call being inside a
loadCompleteNotification listener.

Fixed by calling loadAll *with* notify in reply. loadAll is also now only
called when necessary.

Close #6523

Co-authored-by: ivk <ivk@tutao.de>
Close #7692
Close #6568

Co-authored-by: bir <bir@tutao.de>
Co-authored-by: hrb-hub <181954414+hrb-hub@users.noreply.github.com>
Crash caused by an uncaught exception due to popover requiring position
information on iPad only but not on iPhone.

Close #7914

Co-authored-by: paw-hub <104824185+paw-hub@users.noreply.github.com>
On some systems, a backend may not be detected correctly. In a lot of
cases, this can occur if the user is not using one of a hardcoded list
of desktop environments (you can see this list in xdg_util.cc as well
as key_storage_util_linux.cc in GetDesktopEnvironment and SelectBackend
respectively in Chromium's source code), and it determines this using
environment variables.

Basically, if Chromium is unable to detect your desktop environment this
way, safeStorage will not be available in any way except basic_text.

We don't really have any control over this outside of the
preselectGnomeLibsecret() method which may or may not work, but users
can override it with CLI args or just set an app password.

As such, this commit allows basic_text to be used as a backend.

Closes #7257
Issue caused by caching the initially selected language and not changing
current language while switching language. Resolved by resetting
lazyloaded when switching the system language.

close: 7335
Made congratulation.svg same size as other svg files in welcome page to
avoid different image sizes

close: #6853

Co-authored-by: ivk <ivk@tutao.de>
@hrb-hub hrb-hub linked an issue Nov 18, 2024 that may be closed by this pull request
5 tasks
This potentially solves a reported issue that we don't quite know how
to reproduce. MailModel.folders.size is being read before
MailModel.folders is set to a Map.

Close #7966

Co-authored-by: paw <paw-hub@users.noreply.github.com>
@charlag
Copy link
Contributor

charlag commented Nov 20, 2024

I would hold this off until we get labels in, we did some refactoring there already

@charlag charlag force-pushed the dev-mail branch 2 times, most recently from 38600c8 to a4f8354 Compare November 21, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Initialize MailModel.folders as empty Map
4 participants