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 230166

Summary: Remember 'Pack All Columns'
Product: db Reporter: tomzi <tomzi>
Component: Show DataAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal CC: mastero23, netbooster28, pnncta, scriptoid
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Idea of pack button/option

Description tomzi 2013-05-23 10:21:57 UTC
I do 'Pack All Columns' all the time after a Query.

Please add the ability to remember 'Pack All Columns' for Queries.

Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Linux version 3.8.0-21-generic running on amd64
Java; VM; Vendor = 1.7.0_21
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Comment 1 netbooster28 2013-07-03 06:51:56 UTC
I am facing the same problem with the "Pack all Columns" feature.

Product Version = NetBeans IDE 7.3 (Build 2013060352037)
OS=Winndows 7 version 6.1 running on amd64;Cp1253;
Runtime:Java SE Runtime Environment 1.60._25-b06
Comment 2 matthias42 2014-12-22 14:24:05 UTC
*** Bug 228504 has been marked as a duplicate of this bug. ***
Comment 3 NiceGuyIT 2015-01-17 17:49:51 UTC
I would like this feature as well.

Product Version: NetBeans IDE 8.0.2 (Build 201408251540)
Java: 1.7.0_71; OpenJDK 64-Bit Server VM 24.65-b04
Runtime: OpenJDK Runtime Environment 1.7.0_71-mockbuild_2014_10_15_10_02-b00
System: Linux version 3.10.0-123.13.2.el7.x86_64 running on amd64; UTF-8; en_US (nb)
Comment 4 scriptoid 2015-07-28 07:57:38 UTC
Me too. I use SQL query panel a lot and for results with many columns it's so annoying to press the "pack columns" button.

For a LOT of columns (around 40) the "pack columns" button is even harder to reach.
Comment 5 dvader666 2016-01-21 22:03:31 UTC
Definitely a most needed feature. Maybe, instead of something under Tools --> Options, better s toggle button like the one to "Keep Prior Tabs" in the tool bar for the current SQL commands document.

By the way [scriptoid], how do you reach "Pack All Columns" option when there's a LOT of columns in the result? I have not been able to do that.
Comment 6 scriptoid 2016-01-22 08:09:22 UTC
Created attachment 158218 [details]
Idea of pack button/option

This is an idea where "Pack/Expand" columns button would be nice to be present
Comment 7 scriptoid 2016-01-22 08:13:37 UTC
@dvader666 I do not have a problem when there many columns as there is a scroll and the drop down menu is present all the time - see attached picture.

Now it would be nice to have a combination of general options and per query settings.

Ex: Being able to make all queries either expanded or packed inside the General options but also have a toggle button (see attached picture) that will be "per query result that will allow to pack or expand the columns.

Personally I do wonder who would like his columns expanded by default....i think most of us would like it packed...but I might be wrong.