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.
When viewing a table (right-click, View Data...), the data table window is often hidden behind other windows. In order to see the data table window, the other tables need to be moved first. For the new user... when they don't see the table be opened they may have the false impression that nothing occurred, when in fact the window did open, it's just hidden. This is very easy to reproduce and I've seen it dozens of times. Slightly minimize the SQL Editor height to increase the probability of this occurring. Thanks, Robert
gliesian, I didn't reproduce this problem. Could you attach a screenshot showing the problem, add step-by-step how to reproduce? Thanks
Created attachment 97942 [details] Hidden Table Window
Thanks. I see the problem now. This behavior is by design, cause: table grid is not part of output mode but part of editor mode. The fix needs to redesign output of SQL commands.
Created attachment 113344 [details] proposed patch v1 Maybe I'm missing something, but the problem boils down to the way the initial divider location is set. In the current version the location is fixed at 250. My v1 patch instead uses the setDividerLocation(double) overloaded variant, which splits the Windows at half size. Alternativly I see this option: setDividerLocation(Math.min(container.getHeight() / 2, 250)) to limit the size of the SQL-Editor window. With current screensizes I think both solutions should work - apart from the case, where the editor area has to limited size.
A nice workaround of a generic problem. Thanks core-main/rev/d57fbb2c9614
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/d57fbb2c9614 User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #182034: [69cat] Database Explorer: Data table window is commonly initially hidden behind other windows