[kmail2] [Bug 484328] Kmail config dialog takes about 40 seconds to show up

2024-03-27 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=484328

Laurent Montel  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/libr |https://invent.kde.org/libr
   |aries/ktextaddons/-/commit/ |aries/ktextaddons/-/commit/
   |5459cdf40f690935ade6ce853f8 |6b2f6829dca5ab527332b35cf32
   |8090b373f8091   |4f6b08c6aad87

--- Comment #3 from Laurent Montel  ---
Git commit 6b2f6829dca5ab527332b35cf324f6b08c6aad87 by Laurent Montel.
Committed on 27/03/2024 at 06:45.
Pushed by mlaurent into branch '1.5'.

Fix bug 484328: Kmail config dialog takes about 40 seconds to show up

It loads all list of qlocale and show translated name
but it will search to display translated name => it will search
which font used. but we don't have all font
=> it will take time to search another one.

=> now we don't translate name.
FIXED-IN: 1.5.4
(cherry picked from commit 5459cdf40f690935ade6ce853f88090b373f8091)

M  +4-0textautocorrection/widgets/autocorrectionlanguagemodel.cpp

https://invent.kde.org/libraries/ktextaddons/-/commit/6b2f6829dca5ab527332b35cf324f6b08c6aad87

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

[kmail2] [Bug 484328] Kmail config dialog takes about 40 seconds to show up

2024-03-27 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=484328

Laurent Montel  changed:

   What|Removed |Added

   Version Fixed In||1.5.4
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/libr
   ||aries/ktextaddons/-/commit/
   ||5459cdf40f690935ade6ce853f8
   ||8090b373f8091

--- Comment #2 from Laurent Montel  ---
Git commit 5459cdf40f690935ade6ce853f88090b373f8091 by Laurent Montel.
Committed on 27/03/2024 at 06:42.
Pushed by mlaurent into branch 'master'.

Fix bug 484328: Kmail config dialog takes about 40 seconds to show up

It loads all list of qlocale and show translated name
but it will search to display translated name => it will search
which font used. but we don't have all font
=> it will take time to search another one.

=> now we don't translate name.
FIXED-IN: 1.5.4

M  +4-0textautocorrection/widgets/autocorrectionlanguagemodel.cpp

https://invent.kde.org/libraries/ktextaddons/-/commit/5459cdf40f690935ade6ce853f88090b373f8091

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

[kmail2] [Bug 484328] Kmail config dialog takes about 40 seconds to show up

2024-03-27 Thread Laurent Montel
https://bugs.kde.org/show_bug.cgi?id=484328

Laurent Montel  changed:

   What|Removed |Added

 CC||mon...@kde.org

--- Comment #1 from Laurent Montel  ---
Hi,
the problem comes from:
=> const QString nativeName = lang.nativeLanguageName();
it will translate language string => when we fill combobox it will draw text
with specific font
=> it will take time.

(we have the same problem with kcmshell6 regionandlang -> lang -> modify ->
change language)

I will fix by not translating language name.
I can't find another solution.
Regards

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