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 234895 - Projects tree long filenames with cmake and C++
Summary: Projects tree long filenames with cmake and C++
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Jan Peska
Depends on:
Reported: 2013-08-23 15:56 UTC by AE56
Modified: 2013-08-23 17:38 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description AE56 2013-08-23 15:56:59 UTC
I use netbeans with cmake for C++ project development.  Netbeans detects library dependencies and shows them as folders in the project tree.  It shows the library name, followed by a hyphen and then the path to the library's folder, e.g. 'depends - /home/user/hg-repos/common/projects/blah/foo/depends'.  

Showing the entire path makes the Projects tree widget need a horizontal scrollbar.  The horizontal scroll bar is a bit annoying, since I rarely want to see what that full path is, but often when using the mouse-wheel over the project tree the pane uselessly scrolls horizontally instead of vertically.  

I suggest, that instead of showing the entire path, the text should be truncated to fit the size of the pane.  Truncated paths would use an ellipsis (...) to indicate that they have been truncated.  Resizing the pane would allow you to see the entire path.