Bug 180885 - kword freeze after click on print preview
Summary: kword freeze after click on print preview
Status: RESOLVED FIXED
Alias: None
Product: kword
Classification: Miscellaneous
Component: general (show other bugs)
Version: 1.9.8
Platform: unspecified Linux
: HI normal
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 22:05 UTC by sts
Modified: 2009-01-30 13:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sts 2009-01-15 22:05:51 UTC
Version:           2.0 beta-5 (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) "release 76.2", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.7-9-default

it happens with the template "Buntes Dokument" (colored document)

I open this template and go to print preview. -> kword freeze
Comment 1 Thomas Zander 2009-01-30 13:57:45 UTC
SVN commit 918661 by zander:

Fixes: kword freeze after click on print preview
Details: The printing framework assumes multi-threading, which allows the printing app to wait for the
    main thread to finish things like text layout.
    After I changed the print-preview to be non-threaded due to the limitation of the print-priview-dialog
    I introduced the possibility for a deadlock.
    Fixing this by only locking if we are called from the non-main thread.
BUG:180885

 M  +7 -1      TextShape.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=918661