Home
last modified time | relevance | path

Searched hist:dd3f595b54f462c97dd6053f6781d873ae04f3d2 (Results 1 – 1 of 1) sorted by relevance

/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DIMAPProtocol.cppdd3f595b54f462c97dd6053f6781d873ae04f3d2 Sun Mar 12 18:37:12 UTC 2023 Zach Dykstra <dykstra.zachary@gmail.com> mail: only copy attributes for new IMAP folders

When mail_daemon associates a subscribed IMAP folder with a local
folder, ~/config/settings/Tracker/DefaultQueryTemplates/text_x-email
attributes are duplicated to the folder. Any customizations (column
layout, window size / location, etc) are overwritten by the values set
for text_x-email. The text_x-email template folder was originally meant
to be used by the 'New E-mail' query. In particular, the columns that
might be set for the query view aren't directly useful for an IMAP
folder - Account is useful for the query view, but not for an IMAP
folder, Status is not useful for the query view, but useful for an IMAP
folder.

This behavior is now modified such that attributes are only copied the
first time an IMAP folder is created. Subsequent launches of mail_daemon
will not overwrite per-folder customizations.

Fixes #18297

Change-Id: Iacdc78403681d5546668f28f7f0e34d1a57fd410
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6202
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>