Bug 242501

Summary: Build plug-in should allow to interrupt the building
Product: [Applications] kate Reporter: Oliver Sander <oliver.sander>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Change a menu item name from 'Break' to 'Stop'
Updated patch

Description Oliver Sander 2010-06-22 17:52:10 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

I use Kate and the build plug-in to develop C++ programs.  Every now and then, after having triggered 'make' through the plug-in, I realize that I have called make for the wrong target, or in the wrong directory.  I would then like to kill the make process and start it again.  However, this doesn't seem possible from within Kate.

Reproducible: Always
Comment 1 Oliver Sander 2010-10-27 18:17:35 UTC
As it turns out this feature exists, and I just didn't see it.

Part of the reason why I didn't see it is that its menu entry is called 'Break', which, particularly in its German translation 'Pause', made me think of a temporary suspension rather than an actual kill of the build process.  (Of course you may ask why one would ever want to temporarily suspend build processes...)

I tried writing a patch that renames the menu entry from 'Break' to 'Stop'.  Unfortunately I seem to miss something and the menu entry disappears completely rather than switching name.

Could somebody please either review my patch and tell me what I did wrong, or just close this bug if renaming is considered undesirable?  Thanks!
Comment 2 Oliver Sander 2010-10-27 18:18:58 UTC
Created attachment 52913 [details]
Change a menu item name from 'Break' to 'Stop'

Incomplete patch
Comment 3 Milian Wolff 2010-10-27 20:39:57 UTC
Try to increase the version of the .ui file (at the top of it). If that does not work, try to remove ~/.kde/share/apps/kate/plugins/katebuild/ui.rc and restart kate.
Comment 4 Oliver Sander 2010-10-27 21:15:17 UTC
Increasing the version did the trick.  Thanks!
Comment 5 Oliver Sander 2010-10-27 21:16:30 UTC
Created attachment 52918 [details]
Updated patch
Comment 6 Dominik Haumann 2010-10-27 23:06:10 UTC
committed the fix: Build plug-in should allow to interrupt
    
Thanks for the patch, Oliver! Please keep it up.
Comment 7 Christoph Cullmann 2010-10-31 16:47:29 UTC
SVN commit 1191599 by cullmann:

dhaumann:
    fix: Build plug-in should allow to interrupt
    
    Thanks for the patch, Oliver! Please keep it up.

    Other part of patch got commited by me in other commit

BUG: 242501


 M  +2 -2      ui.rc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1191599