After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 500024 - Printing one event from calendar can cause infinite loop
Printing one event from calendar can cause infinite loop
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.22.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-11-27 17:24 UTC by Milan Crha
Modified: 2013-09-13 00:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed evo patch (757 bytes, patch)
2007-11-27 17:28 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2007-11-27 17:24:22 UTC
Steps:
a) Go to calendar and right click over an event and choose "Print...", 
b) choose "Print Preview"

For me, it just hides the dialog and eats all the CPU, and no result is shown. Evolution cannot be closed (it hides main window, but the CPU is still up and the process is there).

I realized that there in no page limit set on GtkPrintOperation, so it renders same page again and again and again. Patch will be attached in a few minutes.
Comment 1 Milan Crha 2007-11-27 17:28:46 UTC
Created attachment 99728 [details] [review]
proposed evo patch

for evolution;
Comment 2 Matthew Barnes 2007-11-27 17:53:32 UTC
Yes.  Good catch.
Comment 3 Matthew Barnes 2007-11-27 17:54:10 UTC
Probably should put this in stable too.
Comment 4 Milan Crha 2007-11-27 18:10:23 UTC
Committed to trunk. Committed revision 34597.
Committed to stable. Committed revision 34598.