Bug 343762 - Crop Tool handles trapped within last-used range after undoing when multiple documents are opened
Summary: Crop Tool handles trapped within last-used range after undoing when multiple ...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (show other bugs)
Version: 2.9 Beta
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-04 07:36 UTC by Tyson Tan
Modified: 2018-06-12 15:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2015-02-04 07:36:58 UTC
When multiple documents are opened, switching between documents while using Crop Tool and undoing its change confuses Krita. If I use Crop Tool immediately after that, I could not drag outside of the range that I cropped last time. I must switch to some other tools for once to "clear Crop Tool's memory" so that it can be dragged freely again.

Reproducible: Always

Steps to Reproduce:
1. Create 2 new documents, ideally 1024x1024 so problem is more easy to spot;
2. In document A, use Crop Tool to cut the picture in half (1024x512);
3. Immediately switch to document B, then switch back to document A;
4. ESC to clear first if Bug 343722 happens;
5. Use Crop Tool again.

Actual Results:  
The handles of Crop Tool is now trapped within the range of 1024x512, the size I used to crop last time.

Expected Results:  
The handles can be dragged anywhere.

Workaround: When this bug happens, simply switch to Brush Tool, then back to Crop Tool. It will work again.
Comment 1 Halla Rempt 2015-02-04 13:45:41 UTC
yes, I can confirm.
Comment 2 Halla Rempt 2016-04-16 14:07:13 UTC
https://phabricator.kde.org/T2306
Comment 3 Dmitry Kazakov 2016-04-26 12:23:28 UTC
Hi, Tyson!

I cannot reproduce this bug anymore, could you please check it again? I guess it was fixed when I implemented "restore previous crop" feature :)
Comment 4 Tyson Tan 2016-04-30 16:44:26 UTC
Hi Dmitry,
That "restore previous crop" feature, does Krita 2.9.x on PPA have it? I'm quite sure that I saw some crop boundary bugs in action using Krita 2.9, 20160202build on PPA. I assume upon 2016-02-02, either Bug 343722 or this bug had not been completely fixed. And the crop handles are often shown incorrectly these days. I didn't have time to do a through test though. I will retest this using Krita 3.0 beta later.
Comment 5 Dmitry Kazakov 2016-05-02 13:26:14 UTC
Hi, Tyson!

I tried a couple of more times and still couldn't reproduce it. Please feel free to reopen the bug if you manage to get it somehow :)
Comment 6 Raghavendra kamath 2018-06-11 04:25:38 UTC
Hi Tyson,

I couldn't reproduce this issue on my build.

Can you please check if this is reproducible in the latest version of Krita.

If not let us close this bug report.

thank you
Comment 7 Tyson Tan 2018-06-12 15:46:11 UTC
Yeah I think it's fixed. I could not reproduce it either. It was probably fixed with Bug 343722. Thank you for your time! :)