Patch, WaitCursor during factorial

eike lange eike.lange at uni-due.de
Thu Apr 1 21:06:38 CEST 2010


Hi!

As reported in Bug 139397, kcalc takes long time to calculate the
factorial of a big number. If numbers are big enough, kcalc freezes. 
IMHO, the user needs some visual feedback. 

The patch attached to this mail adds a WaitCursor during this long
operation, which does not disturb too much, if the operation is in fact
short. 

I could add a MessageDialog, which warns the user, if the input is
larger than maybe 1,000,000 (configurable) or just add a ToolTip to the
factorial button which shows, that this op may take long time. 

Eike

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 139397-el.diff
Type: text/x-patch
Size: 508 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-utils-devel/attachments/20100401/099d5bef/attachment.diff 


More information about the Kde-utils-devel mailing list