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 267707

Summary: Maven dependency graph clips text of selected nodes
Product: projects Reporter: markiewb
Component: MavenAssignee: markiewb
Status: RESOLVED FIXED    
Severity: normal Keywords: NETFIX
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Shows the issue
Shows fix in action

Description markiewb 2016-08-25 19:27:39 UTC
Created attachment 161770 [details]
Shows the issue

Reproduction:
* Open a maven project and its graph view
* Zoom out
* Select an artifact or hover above an artifact

ACTUAL: Text is clipped. It is not readable


I guess it has been introduced by https://netbeans.org/bugzilla/show_bug.cgi?id=217106
Comment 1 markiewb 2016-08-25 21:35:28 UTC
Created attachment 161772 [details]
Shows fix in action
Comment 2 markiewb 2016-08-25 21:36:48 UTC
Fixed

http://hg.netbeans.org/core-main/rev/4a20a0d4df35

* Fixed rendering issue of clipped text by using IconNodeWidget instead of own compound widget (made of ImageWidget and LabelWidget)
* Removed resize animation on hover/selection, because it looked awkward (first changing the font and thus its width, and then the bounding rectangle) -> side-effect: faster UI
* Removed resize on hovering (did not work instantly, only if you move the mouse on a already hovered node. Strange. So I removed it.)

See https://netbeans.org/bugzilla/attachment.cgi?id=161772 for screenshots of the result
Comment 3 Quality Engineering 2016-08-27 02:19:27 UTC
Integrated into 'main-silver', will be available in build *201608270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4a20a0d4df35
User: Benno Markiewicz <markiewb@netbeans.org>
Log: #267707 - Maven dependency graph clips text of selected nodes

* Fixed rendering issue of clipped text by using IconNodeWidget instead of own compound widget (made of ImageWidget and LabelWidget)
* Removed resize animation on hover/selection, because it looked awkward (first changing the font and thus its width, and then the bounding rectangle) -> side-effect: faster UI
* Removed resize on hovering (did not work instantly, only if you move the mouse on a already hovered node. Strange. So I removed it.)