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

--- Comment #3 from simei...@gmail.com ---
(In reply to Alvin Wong from comment #0)
> Panning the canvas is noticeable slower with ruler enabled when under high
> zoom level (> 1000%).
> 
> Found in krita-nightly-x64-v4.0.0.51-222-g34bb24e195, not on beta 1. I
> suspected the commit
> https://phabricator.kde.org/R37:ba60778bd55071449c56acd78c056623ce7e7ac6 to
> have introduced the regression, confirmation needed.
> 
> CC: Michael Zhou (I think the email should be right?)

Hi Alvin,

Sorry for the late reply. 

The behavior of the ruler to be a little larger than the canvas and to paint
all marks no matter if they are visible existed before my commit you mentioned.
They exist in both 3.3.3 (it's the newest stable release, right?) and master,
which are both having their rulers working normally. It's true that they are
not working completely in the expected way (I feel that they are strange, too
when I was reading the code), but the unexpected behaviors doesn't actually
affect usage, right? The extra pixels hardly make any difficulties in painting,
and the extra painted marks are not visible because they are out of the range
of the widget. I suppose that's why the original programmer left them there...
Therefore, I don't think either my commit or the behaviors you mentioned caused
the bug. I don't know how the nightly packages work. If you can tell me that,
then I think I might be able to go back to the ruler class and see if I can do
something, on both the bug and the strange behaviors.

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

Reply via email to