Bug 406626 - crash when merging layer down
Summary: crash when merging layer down
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (other bugs)
Version First Reported In: 4.1.7
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-17 13:36 UTC by Rafael Linux User
Modified: 2019-04-23 15:11 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Linux User 2019-04-17 13:36:18 UTC
SUMMARY
Krita crash when trying to merge with layer below.

STEPS TO REPRODUCE
1. Load any image
2. Select an area
3. In layers dock, select both layers. Select on first place the "Selection" layer and then the "Layer 1" layer.
4. Right click on "Layer 1" layer and then apply "Merge with layer below" (or Ctrl+E)

OBSERVED RESULT
Krita crashes

EXPECTED RESULT
Do nothing (like when I only select "Layer 1" alone and do same operation)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Opensuse Leap 15 / 5.12.6
(available in About System)
KDE Plasma Version:   5.12.6
KDE Frameworks Version: 5.45.0
Qt Version: 5.9.4

ADDITIONAL INFORMATION
I was trying to merge a moved selected area with the image where it belong. I know is not a "logical" operation, and I should better "deselect" instead trying to mergin a selection layer with a layer ... but anyway it should be controlled :)
Comment 1 Halla Rempt 2019-04-17 14:41:52 UTC
If you're using distribution packages, please test also with the appimage you can download from the krita website. I cannot reproduce the crash following your steps with the appimage, or krita built from master.
Comment 2 Rafael Linux User 2019-04-22 07:14:07 UTC
Sorry, I forgot to comment that I tried with the AppImage too and it happens too.
Comment 3 Bug Janitor Service 2019-04-23 04:33:28 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 4 Rafael Linux User 2019-04-23 08:27:35 UTC
Ok, I'll take your comment into account next time.

Thank you
Comment 5 Rafael Linux User 2019-04-23 08:30:37 UTC
A question: Is the "Nighty build" equivalent to the latest AppImage? Cause I discovered the issue in the AppImage first, but as it's not listed in the "Version" field, I reproduced it with the version of my distribution.
Comment 6 Halla Rempt 2019-04-23 08:39:55 UTC
The latest appimage is here: https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Build/ -- the Bug Janitor is a bot that sets bugs back to reported after you've replied when it was in needinfo state.
Comment 7 Rafael Linux User 2019-04-23 08:48:00 UTC
Maybe I explained incorrectly my question about the AppImage. I didn't ask about where is located but about if I detect a but in AppImagen, when I open a bug here, "AppImage" is not selectable under "Version" dropdown menu. So, how to report that the bug was detected in the latest AppImage?

Thank you
Comment 8 Halla Rempt 2019-04-23 08:54:07 UTC
appimage is in the first combobox in platform, the version is "nightly build, please specify the git sha1"
Comment 9 Rafael Linux User 2019-04-23 14:09:33 UTC
Please, sorry my ignorance ... I looked for the "git SHA" version in "About Krita" on the latest AppImage ... but I didn't find where is that value.
Comment 10 vanyossi 2019-04-23 15:01:47 UTC
The git sha number is located in the about dialog under the big "Kirta" name

for reference https://imgur.com/a/zu6QQNK (the sha is composed of number and letters)
Comment 11 Rafael Linux User 2019-04-23 15:10:53 UTC
Checked in krita-4.2.0-pre-alpha-1fd8aa7-x86_64.appimage and the bug is not reproducible.
Comment 12 Rafael Linux User 2019-04-23 15:11:12 UTC
THANK YOU