https://bugs.kde.org/show_bug.cgi?id=379443

Thomas Fischer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |0.10
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|d080674e4679bdb556d0075d7c7 |https://invent.kde.org/offi
                   |bee6c4513cfc8               |ce/kbibtex/commit/6f7669273
                   |                            |6d33e3d68984ade57ea0810bd68
                   |                            |5e58
         Resolution|---                         |FIXED

--- Comment #7 from Thomas Fischer <[email protected]> ---
Git commit 6f76692736d33e3d68984ade57ea0810bd685e58 by Thomas Fischer.
Committed on 30/12/2020 at 19:07.
Pushed by thomasfischer into branch 'kbibtex/0.10'.

Reuse existing FieldLineEdit widgets instead of re-creating them

A problem apparent with bibliographic entries with many co-authors is that
initializing the list of authors in the 'Edit Element' dialog takes long time.
One contributing factor is that a considerable number of QWidget classes get
created, initialized, and later destroyed, only to be created again under
certain conditions.

This commit tries to re-use existing widgets (FieldLineEdit) as far as
possible,
by simply setting a new value to them. Superfluous widgets get destroyed and
new widgets get only created if necessary.

Loading entries with many authors is now faster, although not all performance
issues are resolved.
FIXED-IN: 0.10

M  +9    -2    src/gui/element/elementwidgets.cpp
M  +26   -8    src/gui/field/fieldlistedit.cpp

https://invent.kde.org/office/kbibtex/commit/6f76692736d33e3d68984ade57ea0810bd685e58

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to