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 197531

Summary: Can't use accents in the editor. ex: ãí ì
Product: editor Reporter: dbotelho <dbotelho>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED INVALID    
Severity: normal CC: mmirilovic
Priority: P3 Keywords: I18N
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description dbotelho 2011-04-07 10:51:30 UTC
Product Version = NetBeans IDE 7.0 RC1 (Build 201103280000)
Operating System = Linux version 2.6.35-28-generic running on i386
Java; VM; Vendor = 1.6.0_24
Runtime = Java HotSpot(TM) Client VM 19.1-b02
Comment 1 Marian Mirilovic 2011-04-07 12:03:43 UTC
What does it mean - it's not visible once written, or there is an exception, ... ?

Would be also nice to see screenshot of the problem, thanks in advance.
Comment 2 Miloslav Metelka 2011-04-07 14:21:32 UTC
I've test Czech diacritics and it seems to work fine.
Comment 3 dbotelho 2011-04-07 15:10:35 UTC
when type on '~' and then 'a' it just shows 'a' and it should show 'ã'.
My keyboard is pt_PT
Comment 4 emiliosimoes 2011-04-14 23:50:19 UTC
I have the same problem but only with the Linux version of both Netbeans RC1 and RC2. The Windows version works fine.
Comment 5 emiliosimoes 2011-04-15 00:12:33 UTC
(In reply to comment #4)
> I have the same problem but only with the Linux version of both Netbeans RC1
> and RC2. The Windows version works fine.

Starting Netbeans as 'sudo netbeans' seems to solve the problem...
Comment 6 dbotelho 2011-04-15 07:51:49 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > I have the same problem but only with the Linux version of both Netbeans RC1
> > and RC2. The Windows version works fine.
> 
> Starting Netbeans as 'sudo netbeans' seems to solve the problem...

yes, if I use sudo it works. But I just don't like the idea of giving root permissions to Netbeans...
Comment 7 Miloslav Metelka 2011-04-15 09:15:02 UTC
Could you please run
java -jar $jdk/demo/jfc/Notepad/Notepad.jar
and check whether you encounter the same problems? Thanks.
Comment 8 dbotelho 2011-04-15 10:44:24 UTC
(In reply to comment #7)
> Could you please run
> java -jar $jdk/demo/jfc/Notepad/Notepad.jar
> and check whether you encounter the same problems? Thanks.
Yes I have the same problem.
Comment 9 Miloslav Metelka 2011-04-15 13:01:31 UTC
So then it's a JDK issue.
I've tried to search internet for things like "linux input methods java root" but none of the matches seemed relevant. You might want to search for your linux distribution specifically.