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.
Created attachment 114390 [details] cursor and text are at a different positions Product Version: NetBeans IDE 7.0.1 (Build 201107282000) Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02 System: Linux version 2.6.38-13-generic running on amd64; UTF-8; cs_CZ (nb) When i want to edit database text field containing long line of text, in the opened editor is this line going down when i scroll to right. Cursor is staying at normal position of the line.
Hi, can you provide few screenshot mapping this behavior? I'm not sure what editor you have a problem with. Please reopen ASA screenshots are attached. Thanks for reporting
Actually it seems that there is already attached a screenshot. I think that the problem happens in cases if you open editor for editing db items of type=TEXT (in cases of MySQL database).
yes, Martin is right (on database table's (services window -> databases -> some connection -> tables) menu -> view data -> next you want to edit text in MySQL data type TEXT -> textarea is opened as the screenshot shows). i realy dont know, of what should i take another screenshot.
Oh sorry guys my fault, I totally missed it :) of course another screenshot is not needed.
I believe this property editor is part of db.dataview module - see these 2 lines pasted from thread dump at org.netbeans.modules.db.dataview.table.celleditor.StringTableCellEditor.editCell(StringTableCellEditor.java:146) at org.netbeans.modules.db.dataview.table.celleditor.StringTableCellEditor.actionPerformed(StringTableCellEditor.java:131) reassigning back to DB/Show data
Hey, I just tried with a newer version of netbeans: Product Version: NetBeans IDE 7.1 (Build 201112071828) Java: 1.6.0_23; OpenJDK 64-Bit Server VM 20.0-b11 System: Linux version 3.2.1 running on amd64; UTF-8; de_DE (nb) I could not reproduce the problem there (tested with a text field in a mysql database containing ca. 800 chars). Could you please test with the newer version again? If it happens again, please try to create a minimal testcase: a table containing a text the causes the problem for you, that you could dump and attach?
This bug is in 7.1 too. I figure out, that the problem is caused by diacritics. I will add a new screenshot.
Created attachment 118673 [details] problem with diacritics
I'm finally able to reproduce this issue. It happens only on Java 1.6 and it is a JDK issue of all text fields and areas when e.g char "ě" moves all upcoming chars down. It is fixed for java 1.7 -> WORKSFORME