Bug 198542 - Show tooltips on mouse over headers in What's New tab
Show tooltips on mouse over headers in What's New tab
Status: NEW
Product: ide
Classification: Unclassified
Component: Welcome
7.0.1
PC Linux
: P3 (vote)
: TBD
Assigned To: Stanislav Aubrecht
issues@ide
: NETFIX
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-12 09:03 UTC by schkovich
Modified: 2011-05-31 17:19 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments
What's New tab with added tooltip (247.06 KB, image/png)
2011-05-12 09:03 UTC, schkovich
Details
Showing the entire link text in tooltip (1.70 KB, patch)
2011-05-26 22:07 UTC, schkovich
Details | Diff
Enhanced Tooltip with rounded corners and positioned within window (5.39 KB, patch)
2011-05-27 22:29 UTC, schkovich
Details | Diff
Screenshot of tooltip in What's New tab (160.27 KB, image/png)
2011-05-27 22:32 UTC, schkovich
Details
NB running on XP (389.01 KB, image/png)
2011-05-31 17:18 UTC, schkovich
Details
NB running on XP - detail (7.19 KB, image/png)
2011-05-31 17:19 UTC, schkovich
Details

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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo