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.
Summary: | Table headers should not be displayed when tables have nothing to display. | ||
---|---|---|---|
Product: | debugger | Reporter: | Martin Entlicher <mentlicher> |
Component: | Code | Assignee: | dds.dhawal |
Status: | STARTED --- | ||
Severity: | blocker | CC: | GSaggar, jkovalsky, olangr, tomwheeler, tusharvjoshi |
Priority: | P4 | Keywords: | L&F, NETFIX, SIMPLEFIX |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Martin Entlicher
2008-09-25 14:02:24 UTC
Assuming this would be SIMPLEFIX, please correct me if I'm wrong. I agree that the empty tables are confusing. We need to add some mechanism that would provide the message into the debugger models. Martin Entlicher agreed that he would review and integrate a patch for this issue contributed by the NetFIX [1] team. [1] http://wiki.netbeans.org/NetFIX When can I see such an empty window? Is this the situation when no debugger is running and user opens any of the debugger windows? or when debugger is running and when there are no watches etc in the windows? The table are empty when there's no debugger session running. I'd like to NetFIX [1] this bug. Is it possible? [1] http://wiki.netbeans.org/NetFIX Yes, you can Gautam. Just go ahead and start working on fixing this bug. Assigning to Gautam Saggar. Good luck! Please help me with following doubt: 1. For which all windows we need this 'TreeTable' absent change? There are windows like variables, watches, etc. 2. Do we need to remove the tree table, from the window or need some message to appear (in all such windows) when no debugging sessions are running. This issue concerns all debugger views - see "Window > Debugging > " items in the main menu. In other words from Alt+Shift+1 to Alt+Shift+9. As for the fix I think the right solution would be to either remove the tree table or at least hide the table header. In both cases it would be good to display some message in the center, something like <No View Available> which prints Navigator if e.g. Projects view has focus and some project node is selected. Any update on this issue Gautam? Thanks! The implementation plan for fixing this bug is to hide the table headers if the row count of table is 0 (no watches to display). For this, I need to have the table object pointing to the watches table. Where can I find the table object? i found that the columnModel for watches table is present at org.netbeans.modules.debugger.ui.models. But I cannot find where the table is created and where this column model is being implemented. |