| Summary: | kmplot crashes when zooming in/out | ||
|---|---|---|---|
| Product: | [Applications] kmplot | Reporter: | Tobias G. Pfeiffer <tgpfeiffer> |
| Component: | general | Assignee: | Klaus-Dieter M <kd.moeller> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
also it happens to me, with Kubuntu Edgy RC1 This happens to me, too. Kubuntu Edgy 6.10 OK, I think I've managed to track down what is going on. It seems that the Parser::eval() method doesn't handle decimal numbers correctly, but returns 0 instead. This leads to xmin and xmax both becoming 0 in coordToMinMax(), which in turn makes dx in plotfkt() to be 0 as well, so the rendering gets stuck in an endless loop. Hope that will help. /John I can not reproduce this bug at all with kmplot 1.2.0 on KDE 3.5.7 (openSUSE packages), so I assume it's fixed. Please retest with a more recent version and reopen this bug, if kmplot still hangs on zooming, thanks. |
Version: (using KDE KDE 3.5.4) Installed from: Ubuntu Packages OS: Linux When I have kmplot draw a function graph (no matter what complexity) and use any kind of zooming function (in/out/whatever), then kmplot hangs, I see the mouse pointer that tells me to wait ("hour glass" in other operating systems) and so it remains, i.e. the window gets blank and I can't do anything in it. It might be that it is no kmplot bug, since - if I remember right - I once was looking in the source for finding the bug and it seems that the corresponding function is never called at all.