Result panel does not close if Output tab is displayed
- Dominant language
- Java
- Stars
- 51.8k
- Forks
- 4.4k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 183
Description
### Description
If warning appears that SQL produces no rows, then Output tab is displayed with this error. If I close down all tabs on result panel, grey empty window is still displayed.
### DBeaver Version
Community Edition 26.1.0
### Operating System
Windows 11
### Database and driver
1. Database name and version: IBM Db2 11.5 on Linux
2. Driver name and version: IBM Db2 JDBC Driver 4.32.28
### Steps to reproduce
1. Create table:
```
drop table if exists temp.tab1;
create table temp.tab1 (col int);
```
2. Select both SQLs and execute them:
```
insert into temp.tab1 select * from temp.tab1;
select * from temp.tab1;
```
Because table is empty INSERT statement produces the warning that the result of a query is an empty table.
3. Now close down all of the tabs from result panel, but start at the last "Output", then "Statistics 1" and the last "TAB1 1". Whole result panel closes down as expected.
4. Repeat step 2, but now start closing tabs from left side "TAB 1", then "Statistics 1" and last "Output" and now all tabs are closed, but empty greyed result panel is still displayed. This greyed empty result panel is useless, and I expect when all of the tabs are closed also result panel should be closed down.
**BONUS ISSUE**
5. One more test. Repeat step 2. Right click on "TAB1 1" tab and select "Close All Tabs". I expect all of the tabs are closed down, but Output tab still stay open.
6. Clicking on Output tab produces the same greyed empty result panel.
**WORK AROUND**
If I want to hide this greyed empty result panel:
a) Select window with mouse and move down whole window or click on Hide icon:
b) Navigate | Layout | Toggle result panel
### Additional context
This is not vital issue using DBeaver, but is it major annoyance I am facing like hundreds time per day.
Contributor guide
Assessment
This issue has not been assessed yet.