[krita] [Bug 366741] Krita crashes with segmentation fault if all gradients are removed

2016-08-28 Thread Sven Langkamp via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366741

Sven Langkamp  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit|82247dd5d276097809bf49e7084 |http://commits.kde.org/krit
   |30dcf19a26b45   |a/c66d72c36272a1cd28636e391
   ||8379794a6afd618
 Status|UNCONFIRMED |RESOLVED

--- Comment #9 from Sven Langkamp  ---
Git commit c66d72c36272a1cd28636e3918379794a6afd618 by Sven Langkamp.
Committed on 28/08/2016 at 08:49.
Pushed by langkamp into branch 'master'.

Don't remove the automatically generated gradients

M  +12   -0libs/pigment/resources/KoResource.cpp
M  +4-0libs/pigment/resources/KoResource.h
M  +1-1libs/widgets/KoResourceItemChooser.cpp
M  +2-0libs/widgets/KoResourceServerProvider.cpp

http://commits.kde.org/krita/c66d72c36272a1cd28636e3918379794a6afd618

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 366741] Krita crashes with segmentation fault if all gradients are removed

2016-08-27 Thread Sven Langkamp via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366741

--- Comment #8 from Sven Langkamp  ---
I have applied the patch in a slightly modified form. We still need to decide
if it should be possible to remove the two first gradients.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 366741] Krita crashes with segmentation fault if all gradients are removed

2016-08-27 Thread Sven Langkamp via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366741

--- Comment #7 from Sven Langkamp  ---
Git commit 88a03cd3777a820db835f1e5eceb27346dd52d03 by Sven Langkamp.
Committed on 27/08/2016 at 12:29.
Pushed by langkamp into branch 'master'.

Fix crash when the Iconwidget tries to display an already deleted resource
Based on patch by Bruno P. Kinoshita

M  +11   -2libs/ui/widgets/kis_iconwidget.cc
M  +2-0libs/ui/widgets/kis_iconwidget.h

http://commits.kde.org/krita/88a03cd3777a820db835f1e5eceb27346dd52d03

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 366741] Krita crashes with segmentation fault if all gradients are removed

2016-08-25 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366741

--- Comment #6 from Boudewijn Rempt  ---
Hm, I still cannot confirm: it is impossible to not have the two default
generated gradients, as far as I can tell.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 366741] Krita crashes with segmentation fault if all gradients are removed

2016-08-24 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366741

Boudewijn Rempt  changed:

   What|Removed |Added

 CC||b...@valdyas.org

--- Comment #5 from Boudewijn Rempt  ---
Yes, those gradients are autogenerated from the foreground and background
color.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 366741] Krita crashes with segmentation fault if all gradients are removed

2016-08-15 Thread Bruno P . Kinoshita via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366741

--- Comment #4 from Bruno P. Kinoshita  ---
> KoResourceServer does notify all the observers with notifyRemovingResource.

Oh, maybe calling connectToServer in the Item Chooser would fix that too. 

>Beside that there appears to be at least another bug as the first two 
>gradients should not be removeable.

True. Noticed that every time I restarted Krita there would always be two
gradients there.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 366741] Krita crashes with segmentation fault if all gradients are removed

2016-08-15 Thread Sven Langkamp via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366741

Sven Langkamp  changed:

   What|Removed |Added

 CC||sven.langk...@gmail.com

--- Comment #3 from Sven Langkamp  ---
It should work with several adapters. KoResourceServer does notify all the
observers with notifyRemovingResource.

Beside that there appears to be at least another bug as the first two gradients
should not be removeable.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 366741] Krita crashes with segmentation fault if all gradients are removed

2016-08-13 Thread Bruno P . Kinoshita via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366741

Bruno P. Kinoshita  changed:

   What|Removed |Added

Summary|Krita crashes if all|Krita crashes with
   |gradients are removed with  |segmentation fault if all
   |segmentation fault  |gradients are removed

-- 
You are receiving this mail because:
You are watching all bug changes.