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: | When Read-Only File is changed to Writable, the Gray Background stays. | ||
---|---|---|---|
Product: | editor | Reporter: | rpattersoncc |
Component: | Painting & Printing | Assignee: | Miloslav Metelka <mmetelka> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mail.griff, simonis, vkvashin |
Priority: | P1 | Keywords: | REGRESSION |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 196677 |
Description
rpattersoncc
2010-06-14 18:09:09 UTC
Please evaluate. I guess you mean background in editor. *** Bug 187733 has been marked as a duplicate of this bug. *** Is there any possibility to fix this in 7.0? AFAIK there's no listener for changes in modifiability of the document so we will have to do some kind of periodic checks for modifiability (likely just for the file being edited) preferably in post-7.0. I thought that the event is fired in FileObj.refreshImpl (FileObj.java:302): fireFileAttributeChangedEvent("DataEditorSupport.read-only.refresh", null, null); ? Mila, it is a regression comparing to 6.9.1 and in context for our remote mode (when all files are read only until connection is established) it is rather problematic for user. Let me rise priority because of regression. In case it's really important for you to have it in 7.0 then please test the fix first and then raise it to P1 so that I can consider porting it to 7.0 RC2. The fix is IMHO not risky and if it's not too late then we should possibly be able to port it. verified in trunk for local and remote file systems Integrated into release70: 54a582d206fa transplanted to f850e2b05974 Integrated into 'main-golden', will be available in build *201104010400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/54a582d206fa User: Miloslav Metelka <mmetelka@netbeans.org> Log: #187561 - When Read-Only File is changed to Writable, the Gray Background stays. verified Product Version: NetBeans IDE 7.0 RC2 (Build 201104060000) Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02-334 System: Mac OS X version 10.6.7 running on x86_64; MacRoman; en_US (nb) Userdir: /Users/tomas/.netbeans/7.0rc2 |