The Source for Java Technology Collaboration

Home » java.net Forums » JDK » Java SE Snapshots: Project Feedback

Thread: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 9 - Last Post: Nov 6, 2009 6:07 AM by: anthony_p Threads: [ Previous | Next ]
frankgrimes97

Posts: 56
jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted: Nov 3, 2009 12:31 PM
  Click to reply to this thread Reply

When I run NetBeans 6.8 beta using JDK 1.7.0 b75, if I enter a double-quote character, it always overwrites the current character instead of inserting.
This seems to occur in any editor window. (Java, XML)

I tested with JDK 1.6.0_16 and JDK 1.6.0_18 and it works fine with both of them.

Any thoughts on this? (I'd be surprised if it's a NetBeans bug, but stranger things have happened)

Regards,

Frank Grimes

anthony_p

Posts: 90
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted: Nov 5, 2009 2:32 AM   in response to: frankgrimes97
  Click to reply to this thread Reply

Could you clarify the platform you're running Netbeans on (Win/*NIX/Mac), and the locale and input layout of your profile? Are there other layouts installed on your system/profile?

Is it reproducible with a stable NetBeans (6.7.1) on 7b75 as well? With a simple Swing application using a TextField or whatever other text component?

frankgrimes97

Posts: 56
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted: Nov 5, 2009 6:33 AM   in response to: anthony_p
  Click to reply to this thread Reply

Windows Vista 32-bit

Reproducible on NetBeans 6.7.1.
Also reproducible in GuiFormExamples Swing apps shipped in NetBeans.

I also noticed that while double-quote overwrites, single-quote inserts in the wrong place (after current character instead of before)

anthony_p

Posts: 90
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted: Nov 5, 2009 6:54 AM   in response to: frankgrimes97
  Click to reply to this thread Reply

And what about the locale on your system, and the keyboard layouts?

frankgrimes97

Posts: 56
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted: Nov 5, 2009 8:28 AM   in response to: anthony_p
  Click to reply to this thread Reply

Sorry about that... between reading your post and running the tests I must have forgotten about that.

The locale is English/Canada on an English keyboard.

Have you not been able to reproduce the problem?

I can switch to an English/US locale if you think it'll help.

frankgrimes97

Posts: 56
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted: Nov 5, 2009 8:30 AM   in response to: frankgrimes97
  Click to reply to this thread Reply

Same problem after switching locale/keyboard settings to English/US

anthony_p

Posts: 90
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted: Nov 6, 2009 3:37 AM   in response to: frankgrimes97
  Click to reply to this thread Reply

I suggest you file a bug against NetBeans. This might obviously be some change in Swing that just breaks some workaround in the NetBeans code. If NetBeans people figure out this is a problem in Swing, they will file an appropriate bug against us then.

frankgrimes97

Posts: 56
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted: Nov 6, 2009 5:37 AM   in response to: anthony_p
  Click to reply to this thread Reply

I thought we had established that it isn't just a NetBeans problem... aren't the GuiFormExamples just plain Swing apps?

To confirm, I ran yet another Swing client application and it also exhibits this behaviour.

anthony_p

Posts: 90
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted: Nov 6, 2009 5:48 AM   in response to: frankgrimes97
  Click to reply to this thread Reply

Thanks for further testing. I've just filed the following CR:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6898893

(should get visble in a day or two).

anthony_p

Posts: 90
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted: Nov 6, 2009 6:07 AM   in response to: frankgrimes97
  Click to reply to this thread Reply

Apparently, this is actually a duplicate of another issue: 6882912




 XML java.net RSS