# Krita crash on right click

**URL:** <https://krita-artists.org/t/krita-crash-on-right-click/18607>\
**Category:** General Questions\
**Created:** [February 11, 2021, 4:25pm UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607 "2021-02-11T16:25:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![kindoloki](https://krita-artists.org/user_avatar/krita-artists.org/kindoloki/32/231834_2.png) [@kindoloki](https://krita-artists.org/u/kindoloki)\
**Post date:** [February 11, 2021, 4:25pm UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/1 "2021-02-11T16:25:45Z")

</div>

Hey,

Krita crashes each time on right click, this happens both with mouse or wacom bamboo tablet

software versions:

```auto
krita 4.4.2-2
linux 5.10.14.arch1-1
linux-api-headers 5.10.13-1
qt5-base 5.15.2-3 
```

log from gdb:

gdb output - [https://pastebin.com/JXDxV3aA](https://pastebin.com/JXDxV3aA)

---

<div class="post-metadata">

**Author:** ![halla](https://krita-artists.org/user_avatar/krita-artists.org/halla/32/18581_2.png) [@halla](https://krita-artists.org/u/halla)\
**Post date:** [February 11, 2021, 6:27pm UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/2 "2021-02-11T18:27:34Z")

</div>

Please use the appimage instead. This looks like another bug caused by Qt 5.15 messing up the internals of QImage.

---

<div class="post-metadata">

**Author:** ![kindoloki](https://krita-artists.org/user_avatar/krita-artists.org/kindoloki/32/231834_2.png) [@kindoloki](https://krita-artists.org/u/kindoloki)\
**Post date:** [February 12, 2021, 8:22am UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/3 "2021-02-12T08:22:24Z")

</div>

can we localize the issue and create bug for QT developers?

---

<div class="post-metadata">

**Author:** ![halla](https://krita-artists.org/user_avatar/krita-artists.org/halla/32/18581_2.png) [@halla](https://krita-artists.org/u/halla)\
**Post date:** [February 12, 2021, 9:59am UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/4 "2021-02-12T09:59:25Z")

</div>

We could, but… Qt 5 will not have a public release for all practical purposes. The Qt Company, in their infinite stupidity and cupidity have decided to only make available Qt5 releases to the public as free software one year after the release. So if we report a bug, and if it gets fixed, which is not at all likely, we won’t get the fix. Which in turn makes me disinclined to report bugs to them.

We see a similar issue with Qt 5.15 and resizing brushes, by the way.

We’re really on the horns of a dilemma here: for our own builds, we use a heavily patched Qt 5.12 because newer versions of Qt have killer bugs (like breaking multi-window mode on Windows). If we investigate this issue and find a fix, it’ll be a Qt 5.15 fix, but we cannot ship with Qt 5.15 _anyway_ because of all the other bugs.

And in the meantime, Qt6 is out, with a metric ton of bugs, a bunch of modules missing and some really dubious design choices, like removing support for Angle on Windows.

Sorry for the rant… This really is quite some problem.

---

<div class="post-metadata">

**Author:** ![summentier](https://krita-artists.org/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@summentier](https://krita-artists.org/u/summentier)\
**Post date:** [February 25, 2021, 6:40pm UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/5 "2021-02-25T18:40:47Z")

</div>

> The Qt Company … have decided to only make available Qt5 releases to the public as free software one year after the release

@halla Is that really true? I remember there was a discussion sometime last April … KDE developers where sounding the alarm that the Qt Company had planned delaying open source releases for a year. There was a prompt denial and that was the last I heard of that – did they follow through with this madness?

Anyway, just came to say that I have the same problem and a downgrade to 4.4.1 fixed it for me. (_Edited to add_: my setup is Arch linux with Qt 5.15.2)

---

<div class="post-metadata">

**Author:** ![Lynx3d](https://krita-artists.org/user_avatar/krita-artists.org/lynx3d/32/4678_2.png) [@Lynx3d](https://krita-artists.org/u/Lynx3d)\
**Post date:** [February 25, 2021, 7:41pm UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/6 "2021-02-25T19:41:36Z")

</div>

Yes Qt company announced in late January to cut off the open source variant of 5.15 from updates, only paying customers get bug fixes for LTS releases anymore.

And yes it’s going to be a lot of fun as more distributions decide to deploy 5.15 in its broken state. Was a really GREAT idea to make QImage related functions multithreaded, introducing several deadlocking and memory corrupting bugs with it (yes there are plenty of bug reports already) and then cut us off from fixes.

If we’re lucky, distros will be able to backport fixes from Qt6 (if they get fixed, last time I looked they were all unfixed for both 5.15 and 6.x), so far Qt company still needs the OSS community as their Qt6 guinea pigs, basically.

---

<div class="post-metadata">

**Author:** ![kindoloki](https://krita-artists.org/user_avatar/krita-artists.org/kindoloki/32/231834_2.png) [@kindoloki](https://krita-artists.org/u/kindoloki)\
**Post date:** [February 26, 2021, 7:35am UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/7 "2021-02-26T07:35:45Z")

</div>

Thanks, 4.4.1-7 is working fine with the same Qt version  
So, are there an ychances that bug was introduced in krita 4.4.2 update and can be fixed in future?

---

<div class="post-metadata">

**Author:** ![muhuk](https://krita-artists.org/user_avatar/krita-artists.org/muhuk/32/231854_2.png) [@muhuk](https://krita-artists.org/u/muhuk)\
**Post date:** [March 2, 2021, 9:43am UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/8 "2021-03-02T09:43:16Z")

</div>

I am using the appimage and have the same problem. Switching back to 4.4.1

---

<div class="post-metadata">

**Author:** ![halla](https://krita-artists.org/user_avatar/krita-artists.org/halla/32/18581_2.png) [@halla](https://krita-artists.org/u/halla)\
**Post date:** [March 2, 2021, 9:55am UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/9 "2021-03-02T09:55:06Z")

</div>

See [431944 – Crash when opening Pop-up Palette](https://bugs.kde.org/show_bug.cgi?id=431944)

---

<div class="post-metadata">

**Author:** ![muhuk](https://krita-artists.org/user_avatar/krita-artists.org/muhuk/32/231854_2.png) [@muhuk](https://krita-artists.org/u/muhuk)\
**Post date:** [March 3, 2021, 6:26am UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/10 "2021-03-03T06:26:50Z")

</div>

Looks like it’s fixed in `master`. I’ll test it in the next release. Thanks for sharing the ticket @halla

---

<div class="post-metadata">

**Author:** ![kindoloki](https://krita-artists.org/user_avatar/krita-artists.org/kindoloki/32/231834_2.png) [@kindoloki](https://krita-artists.org/u/kindoloki)\
**Post date:** [March 3, 2021, 7:23am UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/11 "2021-03-03T07:23:15Z")

</div>

thanks, I will wait for package update in arch and will update topic after testing new version

---

<div class="post-metadata">

**Author:** ![system](https://krita-artists.org/uploads/default/original/1X/e446d8b3077ddf6dfb5b2cd65199c20095b47dcf.png) [@system](https://krita-artists.org/u/system)\
**Post date:** [March 18, 2021, 7:23am UTC](https://krita-artists.org/t/krita-crash-on-right-click/18607/12 "2021-03-18T07:23:48Z")

</div>

Closed on March 18, 2021, 7:23am UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
