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 223271 - It is almost impossible to resize columns in the Find in files results
Summary: It is almost impossible to resize columns in the Find in files results
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P3 normal with 2 votes (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 223695 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-04 17:44 UTC by Petr Jiricka
Modified: 2013-06-08 01:10 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the Find in Files dialog (44.84 KB, image/png)
2012-12-04 17:44 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2012-12-04 17:44:43 UTC
Created attachment 128854 [details]
Screenshot of the Find in Files dialog

See the attached screenshot:
- there are no dividers that could be dragged to resize columns
- the cursor does not change to the resizing cursor when hovering over the column divide
- default column width are unsuitable, especially the Matches column
- some columns should be aligned to the right, e.g. Matches and File Size
Comment 1 Petr Jiricka 2012-12-04 17:45:26 UTC
Product Version: NetBeans IDE Dev (Build web-main-9424-on-20121204)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
System: Mac OS X version 10.7.5 running on x86_64; UTF-8; en_US (nb)
Comment 2 Milutin Kristofic 2012-12-12 10:20:24 UTC
*** Bug 223695 has been marked as a duplicate of this bug. ***
Comment 3 Jaroslav Havlin 2012-12-13 16:54:49 UTC
(In reply to comment #0)
> - there are no dividers that could be dragged to resize columns
> - the cursor does not change to the resizing cursor when hovering over the
>   column divide
Probably some Look&Feel problem in Outline.
Reassigning. Martin, please evaluate.

> - default column width are unsuitable, especially the Matches column
Fixed. See bug 223351.

> - some columns should be aligned to the right, e.g. Matches and File Size
This is currently quite complicated, because of DefaultOutlineCellRenderer which
uses HtmlRenderer, HtmlRendererImpl and HtmlLabelUI. Right alignment seems to be unsupported by these classes.
(DefaultTableCellRenderer cannot be used for Matches and File Size columns, because it uses different border and background color for selected cells).
Martin, can you please check it, too? Thank you.
Comment 4 Martin Entlicher 2013-01-17 15:25:11 UTC
The numbers alignment should be fixed by issue #24892.
Comment 5 Martin Entlicher 2013-06-04 15:46:42 UTC
The UI issue of table header can not be fixed in Outline/ETable.
The exactly same UI is produced by JTable when in a NetBeans' TopComponent.

When I create a JTable in form editor, it looks O.K. Therefore this seems to be some special NetBeans' L&F issue.

Moving to Window System to evaluate...
Comment 6 Martin Entlicher 2013-06-04 15:56:11 UTC
I'm sorry, the module which I updated was cached somehow.
JTable header looks O.K., ETable does not.
Comment 7 Martin Entlicher 2013-06-04 16:13:22 UTC
There was already an attempt to fix this in issue #198709.
However, the fix is not successful for Mac. :-(
Comment 8 Martin Entlicher 2013-06-05 15:11:17 UTC
The header rendering is fixed by changeset:   255651:d3f1913b5502
http://hg.netbeans.org/core-main/rev/d3f1913b5502
Comment 9 Quality Engineering 2013-06-08 01:10:17 UTC
Integrated into 'main-golden', will be available in build *201306072301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d3f1913b5502
User: mentlicher@netbeans.org
Log: #223271: Improve the ETableHeaderRenderer to render correct L&F.