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 58406 - Backspace trying to delete the object while editing JLabel content
Summary: Backspace trying to delete the object while editing JLabel content
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-28 16:03 UTC by vanjab
Modified: 2005-09-05 09:58 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 vanjab 2005-04-28 16:03:54 UTC
Reproduce:
    select a jlabel within a form editor.
    press space to start editing the content
    try to delete some of the characters you have typed.
    It will erase the character, but the event is passed up, so the form editor will try to erase the JLabel 
itself!

This must be a new bug because I have always been using this feature with previous releases of NB

Thanks.
Comment 1 Jan Stola 2005-04-29 10:01:54 UTC
I was not able to reproduce the problem on JDK1.4.2 and JDK5.0 on Windows.
So, it seems to be platform specific.
Comment 2 vanjab 2005-04-29 16:16:35 UTC
I noticed afterwards that the backspace (Delete) falls through other(all?) objects including property 
editor. Definitively something new...
Comment 3 vanjab 2005-06-23 18:30:48 UTC
Well, I just tried NB4.2, and the backspace issue is still present.
Let me repeat that the backspace character is being passed through to parent in every case.
It is a serious issue, as pressing backspace is a common operation.
To illustrate with another example:
if try to use backspace while editing a text property of a JLabel in a property editor window, the event 
falls through and parents get the event resulting in a system beep.

It would be great if somebody would at least acknowledge the issue.

Running NB4.1 on
Apple Dual G5
Tiger 10.4.1

Thanks.
Comment 4 Jan Stola 2005-08-22 16:23:36 UTC
I was able to reproduce the issue with NetBeans 4.1 on Mac.
On the other hand it worked correctly in the latest development
builds (with both JDK 1.4 and 5.0) on Tiger 10.4.2.
So, marking as fixed.