This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 34788

Summary: More intuitive way for "Apply Patch..."
Product: utilities Reporter: dmladek <dmladek>
Component: DiffAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Proposal of "Apply Patch" dialog

Description dmladek 2003-07-08 09:01:42 UTC
There is simple and easy way for applying patch in
ide.

But for thouse users who use it the first time or
rarerly (like me), it takes time to understand how
the application takes inpusts (patch and patching
file) from a user.
--------------------------------------------------------------

My mistakes were:
=================
Because I couldn't find menu item in popup-menu on
 selected file/dir (it's quite hidden in submenu
tools) I've fot an idea that some kind of dialog
for selecting file(s)/dirs which I wish patch will
pop-up and then from this dialog I will chose the
patch file for it.
Simply I thought that invoking  application "Apply
patch..."
is not related to selected file in FS as it is for
instance for application "Run CVS Command"


Suggestion:
============
I think some kind of file choosing dialog will
solve it and even could  extends its functionality
to be independent on mounted FSs.
Comment 1 dmladek 2003-07-08 09:20:06 UTC
My vision of the dialog is following:
-----------------------------------------------------------------------

/-----------------------------------------------------------------------------------------\
|  Applying Patch                                                    
                    |
|-----------------------------------------------------------------------------------------|
|                    _______________________________________________ 
                    |
|   File to patch:  |  $value of currently selected file/dir on FS | 
   btn. Select...   |
|                    ----------------------------------------------- 
                    |
|                                                                    
                    |
|                    ______________________________________________  
                    |
|   Patch file :    |                                             |  
   btn. Select...   |
|                    ----------------------------------------------  
                    |
|                                                                    
                    |
|                         btn. Apply Patch           btn. Cancel     
                    |
\-----------------------------------------------------------------------------------------/


Additional extension implementating this dialog is that it'll bw
possible to patch files whaich are outside of FSs's range
Comment 2 dmladek 2003-07-08 09:21:25 UTC
Ohg sh.t!!! The IZ breaking lines :-(((
Please see attachment with proposal for the Apply patch dialog, thanx
Comment 3 dmladek 2003-07-08 09:22:26 UTC
Created attachment 10882 [details]
Proposal of "Apply Patch" dialog
Comment 4 Martin Entlicher 2003-07-08 09:29:47 UTC
Thanks for the design Dan. This is a good idea, the dialog can
possibly contains also some switches in the future (similar to UNIX
path).
Comment 5 headius 2007-03-13 05:02:05 UTC
Is this issue being worked on any more? Patch application is currently not very
usable in NetBeans 6, and I'd really like it to at least be comparable to patch
support in Eclipse.
Comment 6 Maros Sandor 2008-04-08 10:29:48 UTC
File To Patch is confusing since you can patch the whole project or a directory. I think we just need better indication
of WHAT the user is about to patch - context that he selected.