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.
Summary: | Apply Code Changes is disabled until changed files are saved. | ||
---|---|---|---|
Product: | debugger | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | NEW --- | ||
Severity: | normal | CC: | laubrino, mmirilovic, pcipov, pjiricka |
Priority: | P4 | ||
Version: | 7.0.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Apply code not working |
Description
Jiri Skrivanek
2011-06-23 07:04:42 UTC
Product Version: NetBeans IDE 6.8 (Build 200912041610) Java: 1.6.0_26; Java HotSpot(TM) Client VM 20.1-b02 System: Linux version 2.6.35-22-generic running on i386; UTF-8; cs_CZ (nb) Userdir: /home/cesilko/.netbeans/6.8 Reproduced in NetBeans IDE 6.8 with JDK 6 Update 26 - see above configuration. Is this as designed Martine? Issue #200922 is most probably a duplicate of this bug. Raising priority, this is very confusing. I'm just looking into it. I do not think that issue #200922 is a duplicate of this. I rather think that issues #200376 and #200922 are duplicates. I still consider this as a P3, since the Apply Code Changes action gets enabled after the file is saved, as described here. *** Bug 201322 has been marked as a duplicate of this bug. *** I wonder, what software are you using for writing netbeans ? Apply code button disabled is a major bug, it is the same situation as play button broken, close button broken. It is triviality that makes my life harder and I need to add more sugar to my tee. So please care for my health and fix this bug. The major problem with Apply Code Changes was fixed in issue #200376. I'm changing the summary to make it clear that this issue is about disabled action until changed files are saved. Why did you rename the bug? My Apply Code Changes button is ALWAYS disabled. Regardless changes are saved or not. It got broken with 7.0.1 update. Product Version: NetBeans IDE 7.0.1 (Build 201107282000) Java: 1.6.0_19; Java HotSpot(TM) Client VM 16.2-b04 System: Windows 7 version 6.1 running on x86; Cp1250; cs_CZ (nb) Should I fill a new bug? Then you should rather comment on #200376. Please write there what you installed and how you upgraded. Plus which project you debug. Was it 7.0 Full distro -> 7.0.1 -> 7.0.1 with all updates? Or Java SE distro of 7.0.1 -> 7.0.1 with all updates? Or some other scenario? Thanks for your feedback. (In reply to comment #8) > Then you should rather comment on #200376. Please write there what you > installed and how you upgraded. Plus which project you debug. Was it 7.0 Full > distro -> 7.0.1 -> 7.0.1 with all updates? Or Java SE distro of 7.0.1 -> 7.0.1 > with all updates? Or some other scenario? Thanks for your feedback. thanks it seems the same as my problem. Martine, do you plan to fix it into 7.1 ? I faced the same problem couple times today and I have to say it's pretty annoying ;( Hopefully I'll manage to fix it into 7.1. Currently I'm notified by build artifacts infrastructure only after the files are saved. Thus I need to add a listener for source modifications... Created attachment 112267 [details]
Apply code not working
Steps to reproduce.
Create new java web project.
Deploy and debug on tomcat 7
change some method body
save file
expected result:
apply code should be active
current result:
it is disabled
software: Netbeans 7.1 b1 tomcat 7
When the file is saved, Apply code changes gets enabled for me. When the file is modified but not saved yet, the action stays disabled, until it's saved. |