Bug 432467 - Created stamps are cropped incorrectly
Summary: Created stamps are cropped incorrectly
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: 4.4.2
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-03 15:42 UTC by david.t.pitchford
Modified: 2021-09-27 16:24 UTC (History)
2 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 david.t.pitchford 2021-02-03 15:42:39 UTC
SUMMARY
When trying to create a new predefined brush tip using the Stamp button, the source image is cropped down and sections of it are cut off in the stamp version.

STEPS TO REPRODUCE
1. Create a new 512x512 image and delete all starting layers.
2. Draw an image (like a square) that occupies most of the canvas.
3. With any pixel-based brush selected go to the Brush Tip section in Brush Settings, select the Predefined tab, and click "+ Stamp" to create a new predefined brush tip from the image.

OBSERVED RESULT
See screenshot here: https://i.imgur.com/urSVpkp.jpg The square I drew is complete, but the stamp I created from it is cut off on the right and bottom.

EXPECTED RESULT
The predefined brush tip will match the image I created it from.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Mint 19.3, kernel version 4.15.0-122-generic #124-Ubuntu SMP
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 wolthera 2021-09-08 09:17:30 UTC
Hm... Is this still happening in the 5.0beta ? Because I cannot reproduce it, but we also really changed that code a lot...
Comment 2 Bug Janitor Service 2021-09-23 04:35:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 david.t.pitchford 2021-09-23 12:50:08 UTC
Are there instructions on how to get the Krita 5.0 beta running? I am running the app image, but get the error

./krita-5.0.0-beta1-0986afa-x86_64.appimage: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /tmp/.mount_krita-A3qNqS/usr/bin/../lib/libexiv2.so.27)

From searching I get mixed answers on how to proceed. My libstdc++6 (which I think might include glibcxx) is already the latest version.
Comment 4 Bug Janitor Service 2021-09-24 04:35:47 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 5 wolthera 2021-09-26 17:32:35 UTC
I'm afraid that means that the version of Linux you're using is too old :(

I guess I should close it now, and if you come across this bug again when updating your distro, you can reopen it? (Or re-report it...)
Comment 6 david.t.pitchford 2021-09-27 16:24:14 UTC
I guess close it if it seems like it's fixed in the latest version.