https://bugs.kde.org/show_bug.cgi?id=394026

Alexander Semke <alexander.se...@web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #1 from Alexander Semke <alexander.se...@web.de> ---
The problem here is that the changes in the data ranges for the plot and for
the axes are applied only after the user hits the Return/Enter button. The
reason behind this that if we accept and re-act on every number character
change, we'd recalculate everything in the plot which is quite expensive if you
deal with big number of data points in the plotted curves.

So, for example if you want to change the x-region from [0, 1500] to [0, 1200]
and start using the backspace to delete '0', '0', '5' and then entering '2',
'0','0', there will be 6 "change signals" which would automatically lead to the
6 recalculation of the plot, where only the last recalculation is relevant for
the user.

For the autofit-option the change is applied immediately since there is only
one single change-signal in this case and we can recalculate immediately.

I agree that the current behavior with the data ranges causes confusion. The
current implementation was done having the performance drawbacks in mind when
plotting big amount of data. But I think we should change this behavior in
order to reduce the amount of confusion. For small data the recalculation is
fast enough on the more or less up-to-date hardware and we can recalculate
after every single character change.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to