Bug 207700

Summary: Using "Subtract paths" often just deletes the entire object
Product: [Applications] karbon Reporter: Kubuntiac <user581>
Component: generalAssignee: Jan Hambrecht <jaham>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Konqi odg drawing that shows dissapearing shapes with Subtract Paths
Output of the subtract path operation.

Description Kubuntiac 2009-09-17 18:47:44 UTC
Version:           2.1 Beta 2 (using KDE 4.3.1)
OS:                Linux
Installed from:    Ubuntu Packages

Look at the test file attached. Inside you'll see instructions for two shapes you can select and use "Subtract Paths" on. When you do so, you'll notice that rather than shape b being cut out of shape a, shape a just disappears altogether.
Comment 1 Kubuntiac 2009-09-17 18:52:54 UTC
Created attachment 37018 [details]
Konqi odg drawing that shows dissapearing shapes with Subtract Paths
Comment 2 Jan Hambrecht 2009-09-18 01:51:34 UTC
SVN commit 1025087 by jaham:

when doing boolean path operations transfer z-index, name and fillrule to resulting path

BUG:207700



 M  +4 -0      KarbonBooleanCommand.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1025087
Comment 3 Kubuntiac 2009-09-18 06:25:35 UTC
Wow! That was überfast! I'll recompile and give it a shot early next week when I'm back home on my regular (compiling) box.

Thanks again Jan. It's really appreciated!

btw, not sure who added this, but the new pluggable filter effects are a brilliant idea. *very* excited about the possibilities! Karbon is making great progress thanks to you and the team. :)
Comment 4 Kubuntiac 2009-10-01 02:12:05 UTC
Hmmm... just compiled and tried revision 1029809 and the file attached above. I still seem to have the same problem. See the following attached image for a jpg of what I get.
Comment 5 Kubuntiac 2009-10-01 02:12:50 UTC
Created attachment 37275 [details]
Output of the subtract path operation.
Comment 6 Jan Hambrecht 2009-10-01 23:12:25 UTC
Are you sure you have installed after compiling it? The patch fixes the issue for me.
Comment 7 Kubuntiac 2009-10-02 10:35:40 UTC
Wierd. I *did* do make install on it, but the problem continued. I wiped out my whole sources and recompiled and now it works perfectly.

Thanks again, Jan!