|
|
|
|
jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted:
Nov 3, 2009 12:31 PM
|
|
|
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
|
|
|
|
|
|
|
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted:
Nov 5, 2009 2:32 AM
in response to: frankgrimes97
|
|
|
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?
|
|
|
|
|
|
|
|
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted:
Nov 5, 2009 6:33 AM
in response to: anthony_p
|
|
|
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)
|
|
|
|
|
|
|
|
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted:
Nov 5, 2009 6:54 AM
in response to: frankgrimes97
|
|
|
And what about the locale on your system, and the keyboard layouts?
|
|
|
|
|
|
|
|
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted:
Nov 5, 2009 8:28 AM
in response to: anthony_p
|
|
|
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.
|
|
|
|
|
|
|
|
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted:
Nov 5, 2009 8:30 AM
in response to: frankgrimes97
|
|
|
Same problem after switching locale/keyboard settings to English/US
|
|
|
|
|
|
|
|
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted:
Nov 6, 2009 3:37 AM
in response to: frankgrimes97
|
|
|
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.
|
|
|
|
|
|
|
|
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted:
Nov 6, 2009 5:37 AM
in response to: anthony_p
|
|
|
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.
|
|
|
|
|
|
|
|
Re: jdk 1.7.0 b75 - Strange editor behaviour noticed in NetBeans
Posted:
Nov 6, 2009 6:07 AM
in response to: frankgrimes97
|
|
|
Apparently, this is actually a duplicate of another issue: 6882912
|
|
|
|
|