Bug 431944

Summary: Crash when opening Pop-up Palette
Product: [Applications] krita Reporter: Sebastian <sebastian_viebach>
Component: Shortcuts and Canvas Input SettingsAssignee: Tiar <tamtamy.tymona>
Status: RESOLVED FIXED    
Severity: crash CC: antti.savo, halla, kde, machaquiro, muhuk, o.ruze, rdieter, tamtamy.tymona
Priority: NOR Keywords: regression, release_blocker
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: System information for bug reports
GDB backtrace right click on canvas
Krita System Info

Description Sebastian 2021-01-22 17:55:26 UTC
Created attachment 135064 [details]
System information for bug reports

SUMMARY
Krita crashes when right-clicking to open the Pop-up Palette (Any other mouse button assigned to it causes the same behavior).


STEPS TO REPRODUCE
1. Open Krita and open/create any file
2. Select any tool that opens the Pop-up Palette on right-click
3. Press the right mouse button (or whatever button you have assigned to the Pop-up Palette)


OBSERVED RESULT
Krita crashes.


EXPECTED RESULT
Pop-up Palette appears.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.4.0-64-generic/Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Tablet: Wacom Intuos Art Medium


ADDITIONAL INFORMATION
Happens in the latest stable version 4.4.2 and the latest Krita Next build (git e2420b2); Does not happen in 4.4.1 (With configuration reset each time)
Comment 1 Halla Rempt 2021-01-22 18:12:49 UTC
I'm sorry, but I cannot reproduce that...
Comment 2 Antti Savolainen 2021-01-23 05:42:13 UTC
I too am unable to reproduce that. Any chance you could generate a backtrace with debug symbols would be appreciated.
Comment 3 machaquiro 2021-01-28 13:19:08 UTC
I can reproduce this error on AMD-FX 6100, Nvidia 750Ti on Manjaro Linux on testing branch with Krita 4.4.2 from the repo, same crash as the Appimage.

But, my Intel laptop is not affected by this and it's a generation older than the report, Dell Latitude E6330

I will try to compile Krita with debug symbols since the distro doesn't provide them, but one thing i see when i right click on canvas from terminal with gdb is:

malloc(): invalid size (unsorted)
Thread 1 "krita" received signal SIGABRT, Aborted.
0x00007ffff44cf615 in raise () from /usr/lib/libc.so.6
Comment 4 Halla Rempt 2021-01-28 13:31:29 UTC
Yes, it would be really good to have a backtrace so we can see what's up. I suspect it to be in Qt or in the display driver, though...
Comment 5 Sebastian 2021-01-28 14:18:29 UTC
Sorry for the late reply! 
TBH I haven't made a backtrace before, so thank you for trying to make one. I can try to build Krita and get a backtrace if needed, but it would probably take some time.
Comment 6 Tiar 2021-01-28 15:25:14 UTC
An appimage already provides some information if you get a backtrace; but if you install Krita from ppa lime (I think it's already updated to 4.4.2?), you should be able to get the full debug symbols from package "krita-dbgsym" too:

https://launchpad.net/~kritalime/+archive/ubuntu/ppa (on top there is a section "If would also like to download debugging symbols for Krita:")

That should be good enough without building Krita yourself.

But if you do want to build Krita, see https://docs.krita.org/en/untranslatable_pages/building_krita.html#building-on-linux

When getting the backtrace, run Krita from gdb and then when it crashes, try
# bt
Comment 7 machaquiro 2021-01-28 16:39:55 UTC
Created attachment 135269 [details]
GDB backtrace right click on canvas

Added the required backtrace. Hope it helps.
Comment 8 Halla Rempt 2021-01-29 09:45:42 UTC
A malloc assert right in Qt. Could you also attach the contents of help->system information for bug report? I'm wondering whether this could be hidpi-related.
Comment 9 machaquiro 2021-01-29 17:39:12 UTC
Created attachment 135288 [details]
Krita System Info

Attached system info required.

I tried disablind Hidpi support on preferences, but it still crashes, so maybe it's the 125% scaling i have on KDE?
Comment 10 machaquiro 2021-01-29 17:59:20 UTC
I tried 100% scaling instead and forcing DPI font to 120 and it doesn't crash.
So maybe that's why most people didn't suffer this crash.
Comment 11 Halla Rempt 2021-01-29 18:18:03 UTC
Oh, thanks! That's a really good hint.
Comment 12 Sebastian 2021-01-29 19:36:26 UTC
Thanks for this hint! 
The crash doesn't happen if the display scaling is 100%. I had my display scaling set 125% in the KDE system settings too. This also caused a lot weird glitches in the Krita UI, but these didn't seem affect the functionality.
Comment 13 Bug Janitor Service 2021-01-30 04:33:22 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 14 machaquiro 2021-02-25 13:48:29 UTC
I can still reproduce this bug with 4.4.3-beta1 recently released.
So i guess status should be Confirmed?
Comment 15 Halla Rempt 2021-02-26 12:51:52 UTC
Yes, I can confirm this: QT_SCALE_FACTOR=1.25 ~/dev/i-krita/bin/krita is enough to reproduce. I get the following out:

QImage::setPixel: coordinate (173,0) out of range
QImage::setPixel: coordinate (173,1) out of range
QImage::setPixel: coordinate (173,2) out of range
QImage::setPixel: coordinate (173,3) out of range
QImage::setPixel: coordinate (173,4) out of range
QImage::setPixel: coordinate (173,5) out of range
QImage::setPixel: coordinate (173,6) out of range
QImage::setPixel: coordinate (173,7) out of range
QImage::setPixel: coordinate (173,8) out of range
QImage::setPixel: coordinate (173,9) out of range
QImage::setPixel: coordinate (173,10) out of range
QImage::setPixel: coordinate (173,11) out of range
QImage::setPixel: coordinate (173,12) out of range
QImage::setPixel: coordinate (173,13) out of range
QImage::setPixel: coordinate (173,14) out of range
QImage::setPixel: coordinate (173,15) out of range
QImage::setPixel: coordinate (173,16) out of range
QImage::setPixel: coordinate (173,17) out of range
QImage::setPixel: coordinate (173,18) out of range
QImage::setPixel: coordinate (173,19) out of range
QImage::setPixel: coordinate (173,20) out of range
QImage::setPixel: coordinate (173,21) out of range
QImage::setPixel: coordinate (173,22) out of range
QImage::setPixel: coordinate (173,23) out of range
QImage::setPixel: coordinate (173,24) out of range
QImage::setPixel: coordinate (173,25) out of range
QImage::setPixel: coordinate (173,26) out of range
QImage::setPixel: coordinate (173,27) out of range
QImage::setPixel: coordinate (173,28) out of range
QImage::setPixel: coordinate (173,29) out of range
QImage::setPixel: coordinate (173,30) out of range
QImage::setPixel: coordinate (173,31) out of range
QImage::setPixel: coordinate (173,32) out of range
QImage::setPixel: coordinate (173,33) out of range
QImage::setPixel: coordinate (173,34) out of range
QImage::setPixel: coordinate (173,35) out of range
QImage::setPixel: coordinate (173,36) out of range
QImage::setPixel: coordinate (173,37) out of range
QImage::setPixel: coordinate (173,38) out of range
QImage::setPixel: coordinate (173,39) out of range
QImage::setPixel: coordinate (173,40) out of range
QImage::setPixel: coordinate (173,41) out of range
QImage::setPixel: coordinate (173,42) out of range
QImage::setPixel: coordinate (173,43) out of range
QImage::setPixel: coordinate (173,44) out of range
QImage::setPixel: coordinate (173,45) out of range
QImage::setPixel: coordinate (173,46) out of range
QImage::setPixel: coordinate (173,47) out of range
QImage::setPixel: coordinate (173,48) out of range
QImage::setPixel: coordinate (173,49) out of range
QImage::setPixel: coordinate (173,50) out of range
QImage::setPixel: coordinate (173,51) out of range
QImage::setPixel: coordinate (173,52) out of range
QImage::setPixel: coordinate (173,53) out of range
QImage::setPixel: coordinate (173,54) out of range
QImage::setPixel: coordinate (173,55) out of range
QImage::setPixel: coordinate (173,56) out of range
QImage::setPixel: coordinate (173,57) out of range
QImage::setPixel: coordinate (173,58) out of range
QImage::setPixel: coordinate (173,59) out of range
QImage::setPixel: coordinate (173,60) out of range
QImage::setPixel: coordinate (173,61) out of range
QImage::setPixel: coordinate (173,62) out of range
QImage::setPixel: coordinate (173,63) out of range
QImage::setPixel: coordinate (173,64) out of range
QImage::setPixel: coordinate (173,65) out of range
QImage::setPixel: coordinate (173,66) out of range
QImage::setPixel: coordinate (173,67) out of range
QImage::setPixel: coordinate (173,68) out of range
QImage::setPixel: coordinate (173,69) out of range
QImage::setPixel: coordinate (173,70) out of range
QImage::setPixel: coordinate (173,71) out of range
QImage::setPixel: coordinate (173,72) out of range
QImage::setPixel: coordinate (173,73) out of range
QImage::setPixel: coordinate (173,74) out of range
QImage::setPixel: coordinate (173,75) out of range
QImage::setPixel: coordinate (173,76) out of range
QImage::setPixel: coordinate (173,77) out of range
QImage::setPixel: coordinate (173,78) out of range
QImage::setPixel: coordinate (173,79) out of range
QImage::setPixel: coordinate (173,80) out of range
QImage::setPixel: coordinate (173,81) out of range
QImage::setPixel: coordinate (173,82) out of range
QImage::setPixel: coordinate (173,83) out of range
QImage::setPixel: coordinate (173,84) out of range
QImage::setPixel: coordinate (173,85) out of range
QImage::setPixel: coordinate (173,86) out of range
QImage::setPixel: coordinate (173,87) out of range
QImage::setPixel: coordinate (173,88) out of range
QImage::setPixel: coordinate (173,89) out of range
QImage::setPixel: coordinate (173,90) out of range
QImage::setPixel: coordinate (173,91) out of range
QImage::setPixel: coordinate (173,92) out of range
QImage::setPixel: coordinate (173,93) out of range
QImage::setPixel: coordinate (173,94) out of range
QImage::setPixel: coordinate (173,95) out of range
QImage::setPixel: coordinate (173,96) out of range
QImage::setPixel: coordinate (173,97) out of range
QImage::setPixel: coordinate (173,98) out of range
QImage::setPixel: coordinate (173,99) out of range
QImage::setPixel: coordinate (173,100) out of range
QImage::setPixel: coordinate (173,101) out of range
QImage::setPixel: coordinate (173,102) out of range
QImage::setPixel: coordinate (173,103) out of range
QImage::setPixel: coordinate (173,104) out of range
QImage::setPixel: coordinate (173,105) out of range
QImage::setPixel: coordinate (173,106) out of range
QImage::setPixel: coordinate (173,107) out of range
QImage::setPixel: coordinate (173,108) out of range
QImage::setPixel: coordinate (173,109) out of range
QImage::setPixel: coordinate (173,110) out of range
QImage::setPixel: coordinate (173,111) out of range
QImage::setPixel: coordinate (173,112) out of range
QImage::setPixel: coordinate (173,113) out of range
QImage::setPixel: coordinate (173,114) out of range
QImage::setPixel: coordinate (173,115) out of range
QImage::setPixel: coordinate (173,116) out of range
QImage::setPixel: coordinate (173,117) out of range
QImage::setPixel: coordinate (173,118) out of range
QImage::setPixel: coordinate (173,119) out of range
QImage::setPixel: coordinate (173,120) out of range
QImage::setPixel: coordinate (173,121) out of range
QImage::setPixel: coordinate (173,122) out of range
QImage::setPixel: coordinate (173,123) out of range
QImage::setPixel: coordinate (173,124) out of range
QImage::setPixel: coordinate (173,125) out of range
QImage::setPixel: coordinate (173,126) out of range
QImage::setPixel: coordinate (173,127) out of range
QImage::setPixel: coordinate (173,128) out of range
QImage::setPixel: coordinate (173,129) out of range
QImage::setPixel: coordinate (173,130) out of range
QImage::setPixel: coordinate (173,131) out of range
QImage::setPixel: coordinate (173,132) out of range
QImage::setPixel: coordinate (173,133) out of range
QImage::setPixel: coordinate (173,134) out of range
QImage::setPixel: coordinate (173,135) out of range
QImage::setPixel: coordinate (173,136) out of range
QImage::setPixel: coordinate (173,137) out of range
QImage::setPixel: coordinate (173,138) out of range
QImage::setPixel: coordinate (173,139) out of range
QImage::setPixel: coordinate (173,140) out of range
QImage::setPixel: coordinate (173,141) out of range
QImage::setPixel: coordinate (173,142) out of range
QImage::setPixel: coordinate (173,143) out of range
QImage::setPixel: coordinate (173,144) out of range
QImage::setPixel: coordinate (173,145) out of range
QImage::setPixel: coordinate (173,146) out of range
QImage::setPixel: coordinate (173,147) out of range
QImage::setPixel: coordinate (173,148) out of range
QImage::setPixel: coordinate (173,149) out of range
QImage::setPixel: coordinate (173,150) out of range
QImage::setPixel: coordinate (173,151) out of range
QImage::setPixel: coordinate (173,152) out of range
QImage::setPixel: coordinate (173,153) out of range
QImage::setPixel: coordinate (173,154) out of range
QImage::setPixel: coordinate (173,155) out of range
QImage::setPixel: coordinate (173,156) out of range
QImage::setPixel: coordinate (173,157) out of range
QImage::setPixel: coordinate (173,158) out of range
QImage::setPixel: coordinate (173,159) out of range
QImage::setPixel: coordinate (173,160) out of range
QImage::setPixel: coordinate (173,161) out of range
QImage::setPixel: coordinate (173,162) out of range
QImage::setPixel: coordinate (173,163) out of range
QImage::setPixel: coordinate (173,164) out of range
QImage::setPixel: coordinate (173,165) out of range
QImage::setPixel: coordinate (173,166) out of range
QImage::setPixel: coordinate (173,167) out of range
QImage::setPixel: coordinate (173,168) out of range
QImage::setPixel: coordinate (173,169) out of range
QImage::setPixel: coordinate (173,170) out of range
QImage::setPixel: coordinate (173,171) out of range
QImage::setPixel: coordinate (173,172) out of range
QImage::setPixel: coordinate (0,173) out of range
QImage::setPixel: coordinate (1,173) out of range
QImage::setPixel: coordinate (2,173) out of range
QImage::setPixel: coordinate (3,173) out of range
QImage::setPixel: coordinate (4,173) out of range
QImage::setPixel: coordinate (5,173) out of range
QImage::setPixel: coordinate (6,173) out of range
QImage::setPixel: coordinate (7,173) out of range
QImage::setPixel: coordinate (8,173) out of range
QImage::setPixel: coordinate (9,173) out of range
QImage::setPixel: coordinate (10,173) out of range
QImage::setPixel: coordinate (11,173) out of range
QImage::setPixel: coordinate (12,173) out of range
QImage::setPixel: coordinate (13,173) out of range
QImage::setPixel: coordinate (14,173) out of range
QImage::setPixel: coordinate (15,173) out of range
QImage::setPixel: coordinate (16,173) out of range
QImage::setPixel: coordinate (17,173) out of range
QImage::setPixel: coordinate (18,173) out of range
QImage::setPixel: coordinate (19,173) out of range
QImage::setPixel: coordinate (20,173) out of range
QImage::setPixel: coordinate (21,173) out of range
QImage::setPixel: coordinate (22,173) out of range
QImage::setPixel: coordinate (23,173) out of range
QImage::setPixel: coordinate (24,173) out of range
QImage::setPixel: coordinate (25,173) out of range
QImage::setPixel: coordinate (26,173) out of range
QImage::setPixel: coordinate (27,173) out of range
QImage::setPixel: coordinate (28,173) out of range
QImage::setPixel: coordinate (29,173) out of range
QImage::setPixel: coordinate (30,173) out of range
QImage::setPixel: coordinate (31,173) out of range
QImage::setPixel: coordinate (32,173) out of range
QImage::setPixel: coordinate (33,173) out of range
QImage::setPixel: coordinate (34,173) out of range
QImage::setPixel: coordinate (35,173) out of range
QImage::setPixel: coordinate (36,173) out of range
QImage::setPixel: coordinate (37,173) out of range
QImage::setPixel: coordinate (38,173) out of range
QImage::setPixel: coordinate (39,173) out of range
QImage::setPixel: coordinate (40,173) out of range
QImage::setPixel: coordinate (41,173) out of range
QImage::setPixel: coordinate (42,173) out of range
QImage::setPixel: coordinate (43,173) out of range
QImage::setPixel: coordinate (44,173) out of range
QImage::setPixel: coordinate (45,173) out of range
QImage::setPixel: coordinate (46,173) out of range
QImage::setPixel: coordinate (47,173) out of range
QImage::setPixel: coordinate (48,173) out of range
QImage::setPixel: coordinate (49,173) out of range
QImage::setPixel: coordinate (50,173) out of range
QImage::setPixel: coordinate (51,173) out of range
QImage::setPixel: coordinate (52,173) out of range
QImage::setPixel: coordinate (53,173) out of range
QImage::setPixel: coordinate (54,173) out of range
QImage::setPixel: coordinate (55,173) out of range
QImage::setPixel: coordinate (56,173) out of range
QImage::setPixel: coordinate (57,173) out of range
QImage::setPixel: coordinate (58,173) out of range
QImage::setPixel: coordinate (59,173) out of range
QImage::setPixel: coordinate (60,173) out of range
QImage::setPixel: coordinate (61,173) out of range
QImage::setPixel: coordinate (62,173) out of range
QImage::setPixel: coordinate (63,173) out of range
QImage::setPixel: coordinate (64,173) out of range
QImage::setPixel: coordinate (65,173) out of range
QImage::setPixel: coordinate (66,173) out of range
QImage::setPixel: coordinate (67,173) out of range
QImage::setPixel: coordinate (68,173) out of range
QImage::setPixel: coordinate (69,173) out of range
QImage::setPixel: coordinate (70,173) out of range
QImage::setPixel: coordinate (71,173) out of range
QImage::setPixel: coordinate (72,173) out of range
QImage::setPixel: coordinate (73,173) out of range
QImage::setPixel: coordinate (74,173) out of range
QImage::setPixel: coordinate (75,173) out of range
QImage::setPixel: coordinate (76,173) out of range
QImage::setPixel: coordinate (77,173) out of range
QImage::setPixel: coordinate (78,173) out of range
QImage::setPixel: coordinate (79,173) out of range
QImage::setPixel: coordinate (80,173) out of range
QImage::setPixel: coordinate (81,173) out of range
QImage::setPixel: coordinate (82,173) out of range
QImage::setPixel: coordinate (83,173) out of range
QImage::setPixel: coordinate (84,173) out of range
QImage::setPixel: coordinate (85,173) out of range
QImage::setPixel: coordinate (86,173) out of range
QImage::setPixel: coordinate (87,173) out of range
QImage::setPixel: coordinate (88,173) out of range
QImage::setPixel: coordinate (89,173) out of range
QImage::setPixel: coordinate (90,173) out of range
QImage::setPixel: coordinate (91,173) out of range
QImage::setPixel: coordinate (92,173) out of range
QImage::setPixel: coordinate (93,173) out of range
QImage::setPixel: coordinate (94,173) out of range
QImage::setPixel: coordinate (95,173) out of range
QImage::setPixel: coordinate (96,173) out of range
QImage::setPixel: coordinate (97,173) out of range
QImage::setPixel: coordinate (98,173) out of range
QImage::setPixel: coordinate (99,173) out of range
QImage::setPixel: coordinate (100,173) out of range
QImage::setPixel: coordinate (101,173) out of range
QImage::setPixel: coordinate (102,173) out of range
QImage::setPixel: coordinate (103,173) out of range
QImage::setPixel: coordinate (104,173) out of range
QImage::setPixel: coordinate (105,173) out of range
QImage::setPixel: coordinate (106,173) out of range
QImage::setPixel: coordinate (107,173) out of range
QImage::setPixel: coordinate (108,173) out of range
QImage::setPixel: coordinate (109,173) out of range
QImage::setPixel: coordinate (110,173) out of range
QImage::setPixel: coordinate (111,173) out of range
QImage::setPixel: coordinate (112,173) out of range
QImage::setPixel: coordinate (113,173) out of range
QImage::setPixel: coordinate (114,173) out of range
QImage::setPixel: coordinate (115,173) out of range
QImage::setPixel: coordinate (116,173) out of range
QImage::setPixel: coordinate (117,173) out of range
QImage::setPixel: coordinate (118,173) out of range
QImage::setPixel: coordinate (119,173) out of range
QImage::setPixel: coordinate (120,173) out of range
QImage::setPixel: coordinate (121,173) out of range
QImage::setPixel: coordinate (122,173) out of range
QImage::setPixel: coordinate (123,173) out of range
QImage::setPixel: coordinate (124,173) out of range
QImage::setPixel: coordinate (125,173) out of range
QImage::setPixel: coordinate (126,173) out of range
QImage::setPixel: coordinate (127,173) out of range
QImage::setPixel: coordinate (128,173) out of range
QImage::setPixel: coordinate (129,173) out of range
QImage::setPixel: coordinate (130,173) out of range
QImage::setPixel: coordinate (131,173) out of range
QImage::setPixel: coordinate (132,173) out of range
QImage::setPixel: coordinate (133,173) out of range
QImage::setPixel: coordinate (134,173) out of range
QImage::setPixel: coordinate (135,173) out of range
QImage::setPixel: coordinate (136,173) out of range
QImage::setPixel: coordinate (137,173) out of range
QImage::setPixel: coordinate (138,173) out of range
QImage::setPixel: coordinate (139,173) out of range
QImage::setPixel: coordinate (140,173) out of range
QImage::setPixel: coordinate (141,173) out of range
QImage::setPixel: coordinate (142,173) out of range
QImage::setPixel: coordinate (143,173) out of range
QImage::setPixel: coordinate (144,173) out of range
QImage::setPixel: coordinate (145,173) out of range
QImage::setPixel: coordinate (146,173) out of range
QImage::setPixel: coordinate (147,173) out of range
QImage::setPixel: coordinate (148,173) out of range
QImage::setPixel: coordinate (149,173) out of range
QImage::setPixel: coordinate (150,173) out of range
QImage::setPixel: coordinate (151,173) out of range
QImage::setPixel: coordinate (152,173) out of range
QImage::setPixel: coordinate (153,173) out of range
QImage::setPixel: coordinate (154,173) out of range
QImage::setPixel: coordinate (155,173) out of range
QImage::setPixel: coordinate (156,173) out of range
QImage::setPixel: coordinate (157,173) out of range
QImage::setPixel: coordinate (158,173) out of range
QImage::setPixel: coordinate (159,173) out of range
QImage::setPixel: coordinate (160,173) out of range
QImage::setPixel: coordinate (161,173) out of range
QImage::setPixel: coordinate (162,173) out of range
QImage::setPixel: coordinate (163,173) out of range
QImage::setPixel: coordinate (164,173) out of range
QImage::setPixel: coordinate (165,173) out of range
QImage::setPixel: coordinate (166,173) out of range
QImage::setPixel: coordinate (167,173) out of range
QImage::setPixel: coordinate (168,173) out of range
QImage::setPixel: coordinate (169,173) out of range
QImage::setPixel: coordinate (170,173) out of range
QImage::setPixel: coordinate (171,173) out of range
QImage::setPixel: coordinate (172,173) out of range
QImage::setPixel: coordinate (173,173) out of range
krita: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
KCrash: crashing... crashRecursionCounter = 2


(Qt 5.15.2 here)
Comment 16 Tiar 2021-03-03 00:33:46 UTC
Git commit 94589bd82502de0d3d6d1cf33fbb2f54ed5547f7 by Agata Cacko.
Committed on 03/03/2021 at 00:33.
Pushed by tymond into branch 'master'.

Fix crash on popup palette on 125% scale

Before this commit, if you run Krita like:
QT_SCALE_FACTOR=1.25 ~/dev/i-krita/bin/krita
would crash Krita on opening a popup palette.
This commit fixes this behaviour.

M  +4    -4    libs/widgets/KoTriangleColorSelector.cpp

https://invent.kde.org/graphics/krita/commit/94589bd82502de0d3d6d1cf33fbb2f54ed5547f7
Comment 17 Tiar 2021-03-03 00:45:29 UTC
Git commit 4dea2dde4ec64658fff0346e71a57ea71b839eb4 by Agata Cacko.
Committed on 03/03/2021 at 00:45.
Pushed by tymond into branch 'krita/4.3'.

Fix crash on popup palette on 125% scale

Before this commit, if you run Krita like:
QT_SCALE_FACTOR=1.25 ~/dev/i-krita/bin/krita
would crash Krita on opening a popup palette.
This commit fixes this behaviour.


(cherry picked from commit 94589bd82502de0d3d6d1cf33fbb2f54ed5547f7)

M  +4    -4    libs/widgets/KoTriangleColorSelector.cpp

https://invent.kde.org/graphics/krita/commit/4dea2dde4ec64658fff0346e71a57ea71b839eb4
Comment 18 Tiar 2021-03-03 00:46:10 UTC
Git commit 10b86c330ecb43ea3a23bc6e4182e6d45821ea7e by Agata Cacko.
Committed on 03/03/2021 at 00:46.
Pushed by tymond into branch 'krita/4.4.3'.

Fix crash on popup palette on 125% scale

Before this commit, if you run Krita like:
QT_SCALE_FACTOR=1.25 ~/dev/i-krita/bin/krita
would crash Krita on opening a popup palette.
This commit fixes this behaviour.


(cherry picked from commit 94589bd82502de0d3d6d1cf33fbb2f54ed5547f7)

M  +4    -4    libs/widgets/KoTriangleColorSelector.cpp

https://invent.kde.org/graphics/krita/commit/10b86c330ecb43ea3a23bc6e4182e6d45821ea7e
Comment 19 Halla Rempt 2021-03-11 20:50:53 UTC
*** Bug 434300 has been marked as a duplicate of this bug. ***
Comment 20 Tiar 2021-04-04 01:41:59 UTC
*** Bug 435329 has been marked as a duplicate of this bug. ***