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 116884

Summary: Improve UI interaction with table component
Product: obsolete Reporter: Peter Zavadsky <pzavadsky>
Component: visualwebAssignee: Peter Zavadsky <pzavadsky>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Peter Zavadsky 2007-09-26 22:22:09 UTC
Comes from Winston: (see his comments in issue #116369).

Last summary here:

> #1 What do you mean by "allow resizing column from right side only". 
>    Why not also from the left side like it was always here?

I'm not talking about the whole Table, only the table column.

When you press to hold the handle, if you press the mouse at a location which is a pixel or two left
side of the handle then you are resizing the column at the left of the handle. If you have
pressed the mouse at a location which is a pixel or two right of the handle, then you are resizing
the column at the right of the handle.

Conventionally, after you press and hold a handle (left side or right side of the handle), you
always resize the column at the left side of the handle. 

These are the reasons why this is not intuitive.

  - I have never seen any such UI in any other place. The resizing of a column is always dragging 
    the handle on the right side of a column.
    (Look at Dreamweaver, mozilla HTML editor or just plain file explorer that has 
     resizable columns)
    Why not just follow conventional way of column resizing rather than confusing people?

  - User might think they are reducing the size on the left, but actually they
    may be increasing the size of the column on the right. Several times I realized
    it after releasing the mouse and seeing the Table Column jump to the right.
    (User need to carefully monitor the feedback grey area) 

  - When you drag a handle and leave it, the handle should be that place after
    releasing the handle. But in this case it would jumps to the right.

> #2 Also why there should be such a minimum? I am not sure, but I don't think there 
>  is such a limitation by CSS unless explicit minimum size is specified.

   CSS has no limitation. But width of table column is render with a minimum width of
   the header. For example if the header says "Column1" and occupies about 75px, even
   if you set the column width as 50px, Table is rendered with column width 75px.

   Other editors such as Dreanweaver, Visual Studio, Mozilla HTML editor are smart 
   enough to not to allow resizing below 75 pix in the above case.

   In our case we allow to resize it to as small as 1px but with different result,
   which might surprise the users if they do not know what is exactly happening.

BTW, if you don't want to change it now, I'm OK with it. Probably we could create
another p3 bug for tracking purpose for future release.
Comment 1 Peter Zavadsky 2007-09-26 23:20:47 UTC
*** Issue 116886 has been marked as a duplicate of this issue. ***