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 65818 - [50cat] Navigator's xml renderer shows blank after scrolling horizontally
Summary: [50cat] Navigator's xml renderer shows blank after scrolling horizontally
Status: VERIFIED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2005-10-04 10:56 UTC by llturro
Modified: 2006-01-18 14:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Navigator with blank labels (16.67 KB, image/jpeg)
2005-10-04 10:57 UTC, llturro
Details
Navigator horizontally overloaded with xml and java (33.09 KB, image/jpeg)
2005-10-13 12:06 UTC, llturro
Details
Navigator resumed lines. (13.90 KB, image/jpeg)
2005-10-13 14:49 UTC, llturro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description llturro 2005-10-04 10:56:26 UTC
[ BUILD # : Beta ]
[ JDK VERSION : 1.6 ]

Navigator showing an XML file. Scroll to the right and then back to the left. Labels disappear.
Comment 1 llturro 2005-10-04 10:57:29 UTC
Created attachment 25493 [details]
Navigator with blank labels
Comment 2 Martin Roskanin 2005-10-05 12:35:42 UTC
not sure if xml or navigator issue, reassigning to xml first
Comment 3 Marek Fukala 2005-10-10 16:36:14 UTC
Cannot reproduce on linux with jdk1.5. Luis, have you tried it on jdk1.5? 
Comment 4 llturro 2005-10-10 19:04:37 UTC
Just tried now with jsdk1.4.2_08 (for some reason jdk1.6 removed jdk1.5 ??!!)
and doesn't happen. Nevermind, seems a Java issue.
Comment 5 Marek Fukala 2005-10-11 09:06:23 UTC
Since I wasn't able to find an issue for this problem in bugster I created a new
one: 6335200.
Comment 6 Marek Fukala 2005-10-11 09:09:07 UTC
http://bt2ws.central.sun.com/CrPrint?id=6335200
Comment 7 Marek Fukala 2005-10-11 12:31:33 UTC
I am sorry, the link to the JDK issue I put here is a Sun's internall. There is
a public link:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6335200
Comment 8 llturro 2005-10-13 12:05:27 UTC
FYI, current build to be promoted to QBuild: 200510111800, doesn't show
horizontal scroll bar when vertical space isn't fulfilled. This doesn't occur
with Java files. See attachements.
Comment 9 llturro 2005-10-13 12:06:39 UTC
Created attachment 25911 [details]
Navigator horizontally overloaded with xml and java
Comment 10 Marek Fukala 2005-10-13 13:02:20 UTC
Luis, is this still only jdk1.6 issue? 
Comment 11 llturro 2005-10-13 14:49:01 UTC
Something has changed, see attachment. Now xml navigator tree only shows line
beginning plus ellipsis. Moving the mouse over the hint shows the full line.
Comment 12 llturro 2005-10-13 14:49:48 UTC
Created attachment 25921 [details]
Navigator resumed lines.
Comment 13 Marek Fukala 2005-10-13 15:09:43 UTC
Luis, this behaviour is as design. If the text of the node is longer than 30
characters it is cut off and the elipsis is added. This behaviour is not
affected by the width of the window.

Anyway I have just tried a recent build on jdk1.6 and the horizontal scrollbar
is there if I narrow the window a little. I can also reproduce the problem with
disappearing texts of the nodes. 

I have talked about it with a responsible java developer, also tried a simple
testcase to isolate the "disappearing" problem but without success. It likely
requires some more complicated circumstances to reproduce. Fortunatelly he uses
netbeans 5.0 and promised to try to reproduce it fix it on netbeans.

Regards,
Marek
Comment 14 llturro 2005-10-13 15:19:54 UTC
Marek, it wans't like this in Beta. XML nodes were showing the whole line. Same
as does Java navigator. Anyway, I do understand XML nodes are matter apart.
Comment 15 llturro 2005-10-19 09:46:31 UTC
Something similiar occurs in Project View. Selected item's label disappear when
scrolling back to left. Should I report it as a new issue?
Comment 16 Marek Fukala 2005-10-20 15:13:32 UTC
I do not think this is necessary. I expect both problems will disappear once the
jdk problem is fixed.
Comment 17 Marek Fukala 2005-10-25 15:54:49 UTC
Closing since this is not a netbeans code problem. Will be fixed in jdk.
Comment 18 llturro 2006-01-18 14:35:42 UTC
Once jdk was fixed it worked properly.