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 73321 - XML Multiview is unusable with GTK L&F
Summary: XML Multiview is unusable with GTK L&F
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: XML Multiview (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords: GTK
: 71346 80378 80380 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-07 09:31 UTC by Martin Krauskopf
Modified: 2007-09-25 01:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
AIOOBE (3.47 KB, text/plain)
2006-03-07 09:32 UTC, Martin Krauskopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2006-03-07 09:31:19 UTC
Accordining to importance of GTK L&F in Mustang it might be P1 - up to you.
Seems that Multiview are in general broken when using GTK L&F. Example steps to
reproduce:

1) Create a new Web Application
2) Open web.xml
3) Click on Filters tab
4) Try to expand Filter Mappings

Attached AIOOBE is thrown. Maybe bug in GTK L&F itself.
Comment 1 Martin Krauskopf 2006-03-07 09:32:10 UTC
Created attachment 29145 [details]
AIOOBE
Comment 2 Martin Krauskopf 2006-03-07 09:33:46 UTC
1.6.0-beta2-b74, Gnome, Slackware 10.2.0
Comment 3 Erno Mononen 2006-04-28 10:48:42 UTC
I'll get back to this after Mustang b83 is released since issue 74362 is keeping 
me from testing whether this issue still exists with latest Mustang releases.  
Comment 4 Erno Mononen 2006-05-04 20:55:52 UTC
*** Issue 71346 has been marked as a duplicate of this issue. ***
Comment 5 Erno Mononen 2006-05-11 15:42:55 UTC
Tested with b83 and while there are no exceptions thrown now, visual view of 
web.xml is still unusable. For example, it is not possible to expand filter 
mappings, nothing happens. I suspect that it is a bug in GTK L&F, I'll look into 
this and file an issue if it indeed seems to be so.
Comment 6 coldrick 2006-05-24 07:41:06 UTC
Still in beta-b84
Comment 7 Erno Mononen 2006-06-07 15:58:08 UTC
Reproducible in b86 also.
Comment 8 Erno Mononen 2006-06-09 11:01:18 UTC
Fixed in release55 branch. 

Although this should be now fixed, I'm not entirely sure whether there still 
isn't a bug in Mustang (or elsewhere) related to this. I merely set the model of 
a JTable before calling getTableCellRendererComponent(..) on TableCellRenderer 
which fixed this (since the exception was thrown from DefaultTableColumnModel). 
For other LnFs DefaultTableColumnModel#tableColumns vector is not empty, as it 
is for GTK. Needs to be investigated still.

Also, whereas with b83 no exceptions were thrown, with b86 I got the same 
exception as with b74.

Checking in DefaultTablePanel.java;
/cvs/xml/multiview/src/org/netbeans/modules/xml/multiview/ui/DefaultTablePanel.
java,v  <--  DefaultTablePanel.java
new revision: 1.7.50.1; previous revision: 1.7
done
Comment 9 Erno Mononen 2006-07-17 08:27:27 UTC
*** Issue 80378 has been marked as a duplicate of this issue. ***
Comment 10 Erno Mononen 2006-07-17 12:52:15 UTC
*** Issue 80380 has been marked as a duplicate of this issue. ***
Comment 11 Jindrich Sedek 2006-08-21 11:20:16 UTC
Verified