https://bugs.documentfoundation.org/show_bug.cgi?id=160699

            Bug ID: 160699
           Summary: Performance: delay loading OpenPGP key details until
                    needed for an operation
           Product: LibreOffice
           Version: 7.6.0.0 alpha0+
          Hardware: x86-64 (AMD64)
                OS: macOS (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: l...@disr.it

Description:
Follow-up to https://bugs.documentfoundation.org/show_bug.cgi?id=152524 (macOS:
LibreOffice crashes (gpgme / gpgmeio) on macOS 13 Ventura)

While Patrick investigated that highly problematic crash it came to light that,
at least on intel macs on macOS 13 Ventura, having many OpenPGP keys can lead
to delays of up to a minute when opening LibreOffice.

Apparently OpenPGP key details are being processed / loaded already when
LibreOffice is opened as described in
https://bugs.documentfoundation.org/show_bug.cgi?id=152524#c89: "I know
LibreOffice loads all of your certificates sequentially so maybe I can see if
we can delay loading each certificate's details until it is selected in the
certificate selection dialog."

If processing of OpenPGP key details can be delayed until required for an
action that uses OpenPGP that would be a win for users.

I set this to Minor, since on Apple Silicon with macOS 14.4.1 I am not seeing
the beachball / delay when opening LibreOffice. I am unsure if that is because
the problem does not occur on macOS Sonoma or if Apple Silicon has much better
performance. Will have to test this some more on an old 2012 mac on which I run
macOS Sonoma via OpenCoreLegacyPatcher but I am not near that mac currently.

Steps to Reproduce:
1. have a few hundred key in GPG Keychain on your macOS 13 Ventura mac (unsure
if intel mac is a requirement for this performance problem to show)

Actual Results:
Beachball / delay when opening LibreOffice.

Expected Results:
If the delay can be delayed (scnr) until the user interacts with OpenPGP
functionality, that would improve the overall user experience.


Reproducible: Sometimes


User Profile Reset: No

Additional Info:
This is an edge case, and further investigation is needed to see if the issue
is limited to macOS 13. If that is the case, spending time on this problem is
probably not worth it. But that is to be discussed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to