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 - Maven dependency graph clips text of selected nodes
Summary: Maven dependency graph clips text of selected nodes
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: markiewb
URL:
Keywords: NETFIX
Depends on:
Blocks:
 
Reported: 2016-08-25 19:27 UTC by markiewb
Modified: 2016-08-27 02:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue (5.61 KB, image/png)
2016-08-25 19:27 UTC, markiewb
Details
Shows fix in action (327.93 KB, image/png)
2016-08-25 21:35 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
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.)