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 151522 - [65cat] Redo Gets Activated When Keys Pressed on Read-Only file
Summary: [65cat] Redo Gets Activated When Keys Pressed on Read-Only file
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P4 blocker (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 19:51 UTC by sunbiz
Modified: 2016-07-07 07:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-10-27 19:51:06 UTC
[ BUILD # : 200810240201 ]
[ JDK VERSION : other ]

If a read-only file is opened, then no changes can't be made to the 
file in the editor. But if keys are pressed on such a file, the Redo

icon in the toolbar gets activated. Also, on pressing this button 
nothing happens. It is a minor annoyance, but should not be activated

since no undo was done on the file.

Another sidenote to this is that when the delete key is pressed on a

read-only file, it starts to scroll forward in the code, which is 
another odd behavior ;-)
Comment 1 Vitezslav Stejskal 2008-10-29 12:17:22 UTC
Reproducible in a dev build.
Comment 2 Milutin Kristofic 2011-09-09 09:48:46 UTC
Reproducible in dev build
Comment 3 Martin Balin 2016-07-07 07:27:04 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss