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 198542

Summary: Show tooltips on mouse over headers in What's New tab
Product: ide Reporter: schkovich <schkovich>
Component: WelcomeAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: normal Keywords: NETFIX
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: What's New tab with added tooltip
Showing the entire link text in tooltip
Enhanced Tooltip with rounded corners and positioned within window
Screenshot of tooltip in What's New tab
NB running on XP
NB running on XP - detail

Description schkovich 2011-05-12 09:03:19 UTC
Created attachment 108242 [details]
What's New tab with added tooltip

Problem:

Majority of headers (head lines) in the What's New tab on the welcome screen (start page) are shorten, since they are too wide and cannot fit into the column width. In order to grasp the topic of some article, announcement or blog the user has to open desired link.

Enhancement:

When the users places mouse over a shorten header (head line) show tooltip having the entire text of a header.

For example if header is shorten to Microchip migrates MPLAB to Linux and Mac... in tool tip will be displayed the entire header: Microchip migrates MPLAB to Linux and Mac OS with NetBeans IDE. Please see attached image.
Comment 1 Stanislav Aubrecht 2011-05-12 09:05:45 UTC
good idea, a patch would be very welcomed
Comment 2 schkovich 2011-05-12 10:16:34 UTC
(In reply to comment #1)
> good idea, a patch would be very welcomed
nice try. web developer on the other side. ;) anyway, it is not that i am complete java illiterate but i will need at least some guidance.
Comment 3 Stanislav Aubrecht 2011-05-12 10:26:45 UTC
i guess you should start with org.netbeans.modules.welcome.content.LinkButton class in 'welcome' module
Comment 4 schkovich 2011-05-12 12:33:12 UTC
(In reply to comment #3)
> i guess you should start with org.netbeans.modules.welcome.content.LinkButton
> class in 'welcome' module

great. thanks. i will give it a try during the weekend.
Comment 5 schkovich 2011-05-26 22:07:18 UTC
Created attachment 108542 [details]
Showing the entire link text in tooltip

I can't figure how to change ugly yellowish background color. :(

What am I doing wrong?
Comment 6 schkovich 2011-05-27 22:29:49 UTC
Created attachment 108564 [details]
Enhanced Tooltip with rounded corners and positioned within window

This version is way much better. :)

I am not sure about feel and look and position of tooltip. However those are cosmetic changes.

Please review.
Comment 7 schkovich 2011-05-27 22:32:30 UTC
Created attachment 108565 [details]
Screenshot of tooltip in What's New tab
Comment 8 Stanislav Aubrecht 2011-05-30 08:21:07 UTC
thanks for the patch. i've got some questions though:

- why rounded corners? why not use the default tooltip look and feel? if somebody runs the same code on e.g. ms windows the tooltip won't look native...

- you've got some System.err debug messages left in the patch

- it would be nice if the tooltip was showing only when the link button isn't wide enough to paint the whole text.
Comment 9 Jiri Kovalsky 2011-05-30 14:10:17 UTC
Added to list of community fixed issues.

http://wiki.netbeans.org/NetFIXIssues
Comment 10 schkovich 2011-05-31 17:11:46 UTC
(In reply to comment #8)
> thanks for the patch. i've got some questions though:
> 
> - why rounded corners? why not use the default tooltip look and feel? if
> somebody runs the same code on e.g. ms windows the tooltip won't look native...

I naively assumed that only we web developers have to deal with such problems. :(

Default tooltip LAF is just ugly and every corner on the welcome screen is rounded. Anyways, it does not look that bad on XP. I think that I will mange to make it OK. If not, then, well, default LAF is always there. :)

> - you've got some System.err debug messages left in the patch

I will remove it.

> - it would be nice if the tooltip was showing only when the link button isn't
> wide enough to paint the whole text.
Right, I noticed it after submitting the patch. I will take care of it as well.
Comment 11 schkovich 2011-05-31 17:18:48 UTC
Created attachment 108631 [details]
NB running on XP
Comment 12 schkovich 2011-05-31 17:19:26 UTC
Created attachment 108632 [details]
NB running on XP - detail