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 143754 - Results tabs should have Results window as parent
Summary: Results tabs should have Results window as parent
Status: RESOLVED WONTFIX
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks: 152817
  Show dependency tree
 
Reported: 2008-08-13 13:03 UTC by Roman Mostyka
Modified: 2009-10-23 09:22 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-08-13 13:03:59 UTC
1. Execute some query.
2. Close tab with results.

Result: This tab can't be reopened. In Output window user can see all tabs, but in the same time user can close Output
window with all tabs and then reopen it with them. It will be better to do the same way.
Workaround: Execute the same query again.
Comment 1 Andrei Badea 2008-08-13 20:21:56 UTC
Not a dataview issue, the tabs are managed by the SQL editor. However, I do not think it is worth to spend time on this.
When you close a tab, it is just closed and there is no way to reopen it -- just as in the output window. Sorry.
Comment 2 Andrei Badea 2008-08-13 20:22:24 UTC
Closing.
Comment 3 Roman Mostyka 2008-08-14 16:07:23 UTC
If 3 statements are executed, in Output window 3 tabs will be opened for each statement. Then Output window can be
closed and then reopened with all tabs.
It will be better to have the same for results.
Comment 4 Andrei Badea 2008-08-14 22:06:06 UTC
Roman, I'm sorry, but I still maintain what I said in desc2. The Output window is different -- you can close and reopen
the whole window, and the tabs will still be there. But you can't close a single tab in the output window and then
reopen it. There is nothing in the SQL editor similar to the Output window, that you can close and reopen. There are
just tabs, and they behave just like the Output window tabs.

Before you reopen, please let me know how you can reopen *a single tab* that you closed in the Output window. That is,
you don't close the window, you close a single tab in the window. How do you reopen it?
Comment 5 Roman Mostyka 2008-08-15 10:10:35 UTC
OK. I've changed issue to ENHANCEMENT and also changed Summary.
I was talking about Output window to give information what will be better to have in Results.
So it will be better to have Results window with tabs in it and when user close Results window it should be possible to
reopen it with all tabs. Of course if tab is closed then it shouldn't be possible to reopen it (as in Output window).
Comment 6 Andrei Badea 2008-08-15 10:17:35 UTC
-1 from me. Not a good idea to have the results in a window separated from the SQL editor window. The way it works today
nicely confines the results from the individual SQL editors *inside* those editors.

What we could do is a way (perhaps a toolbar button) to hide and show the results area in the SQL editor. Would that
cover your use case?
Comment 7 Jiri Rechtacek 2009-10-16 14:16:10 UTC
Reassigned to new owner.
Comment 8 Jiri Rechtacek 2009-10-23 09:22:35 UTC
No plan to fix it