Bug 330608 - KFontComboBox hangs up in KCompletion::setItems() on Windows 8
Summary: KFontComboBox hangs up in KCompletion::setItems() on Windows 8
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdeui (other bugs)
Version First Reported In: 4.10.5
Platform: Compiled Sources Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-31 10:58 UTC by Dmitry Kazakov
Modified: 2018-11-30 03:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Testcase from above paste (3.56 KB, text/plain)
2014-02-01 01:03 UTC, Christoph Feck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Kazakov 2014-01-31 10:58:44 UTC
KDE Version: 4.10.4 (built from sources)
Reproducible on Windows 8 (probably, on non-English) only!

Tested on two configurations:
1) Windows 8 (system language: Russian) --- hangs up on construction and destruction of KFontComboBox for about a minute.
2) Windows 7 (system language: English) --- works ok.

The application (tested on Krita) becomes unresponsitive for about 30-60 seconds while construction of KFontComboBox and destruction of it. Further investigation showed that the hang-up happens in KFontComboBoxPrivate::updateDatabase() in a line 'completion->setItems(trFontFamilies);'. The size of the 'trFontFamilies' list is 151 and it is being processed all the time.

Due to this bug we had to disable the usage of KFontComboBox and use QFontComboBox instead, because the latter one works perfectly.


Reproducible: Always

Steps to Reproduce:
Here is the testcase for reproducing the hangup:
http://pastebin.kde.org/pcgxsmctv

Just call updateDatabase() function and it'll spend about a minute on line 110.
Comment 1 Dmitry Kazakov 2014-01-31 11:05:04 UTC
Related commit to Krita:
http://commits.kde.org/calligra/5820c53fe3af71b8bd530941aff6871c54aac54c
Comment 2 Christoph Feck 2014-02-01 01:03:17 UTC
Created attachment 84932 [details]
Testcase from above paste
Comment 3 Andrew Crouthamel 2018-10-31 04:02:47 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-15 10:44:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-30 03:56:55 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!