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 165373 - Distinguish between link to web vs. NetBeans action
Summary: Distinguish between link to web vs. NetBeans action
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Team Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2009-05-18 08:39 UTC by Jaromir Uhrik
Modified: 2009-07-17 17:54 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
link to web - preview (52.90 KB, image/png)
2009-05-28 14:34 UTC, Ondrej Langr
Details
link to web - icon (442 bytes, image/png)
2009-05-28 14:35 UTC, Ondrej Langr
Details
screenshot how it currently looks on Windows (has smaller font than OS X/Linux) (52.63 KB, image/png)
2009-07-10 17:10 UTC, Tomas Pavek
Details
new (smaller (433 bytes, text/plain)
2009-07-16 14:13 UTC, Ondrej Langr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-05-18 08:39:17 UTC
Product Version: NetBeans IDE Dev (Build 090517)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.7 running on i386; MacRoman; en_US (nb)

There are many blue widgets in Kenai dashboard that are used for:
-invoking action in NetBeans
-opening some url in web browser
Since user doesn't know whether the blue widget opens browser or redirects to some NetBeans functionality these 2 sorts
of blue widgets should be presented differently to the user.
When the widget points to the web url and opens the browser then there should be the url in Status line when mouse is
over this widget. Otherwise there should be tooltip with description what happens when clicking on the widget.
Comment 1 Milan Kubec 2009-05-18 08:54:05 UTC
HIE guys please comment on this. Thanks.
Comment 2 Marian Mirilovic 2009-05-18 17:10:40 UTC
I would say, if it's possible add at least tooltips and URL into status line in 6.7 timeframe. If it's possible
Comment 3 Ondrej Langr 2009-05-18 18:29:31 UTC
Tooltip has a bad discoverability for this. Is adding a small "globe" icon in front of each possible in 6.7 from
technical perspective? 

xDesign could provide such icon probably tomorrow or the day after tomorrow, if given top priority. 
Comment 4 Jaromir Uhrik 2009-05-18 20:34:32 UTC
Well, now I can see that there are 2 parts of this issue:
1/distinguish between web/non web links
2/show additional information to each blue widget

IMHO the following way of presenting makes sense:
ad 1/globe sounds good for me
ad 2/there should be: 
       -URL on the left in status line for links with globe
       -textual description of other widgets on the left in status line
Comment 5 Ondrej Langr 2009-05-19 14:47:04 UTC
Both make sense. For 2/, I'd vote for a tooltip rather then status line message, since it is spatially located with the
link itself and the probability of being discovered is higher .. 
Comment 6 Ondrej Langr 2009-05-28 14:34:31 UTC
Created attachment 82913 [details]
link to web - preview
Comment 7 Ondrej Langr 2009-05-28 14:35:24 UTC
Created attachment 82914 [details]
link to web - icon
Comment 8 Ondrej Langr 2009-05-28 14:45:51 UTC
Icon attached, reassigning for implementation. 

Please: 

1) Add the icon indication
2) Add brief tooltip description/address for each link. For Web links the tooltip should be:

example tooltip for wiki link: 
 ------------------------------------------
| Opens project wiki page                  |
| http://www.adresa.wiki.stranky/whatever  |
 ------------------------------------------
Comment 9 Stanislav Aubrecht 2009-06-05 11:03:39 UTC
do we really want this fixed in nb6.7? the fix requires changes in dashboard's (friend) api and some changes in all
modules that plug actions into dashboard in.
Comment 10 Marian Mirilovic 2009-06-05 11:43:48 UTC
Standa, it would be nice to hae it there ... but we are already out of the timeframe ... so fix it in NB 6.8 and we can
probably (if safe) backport the fix into NB 6.7 through the patch
Comment 11 Jan Becicka 2009-06-11 10:02:00 UTC
this should be fixed in context of embedded web browser in 6.8. In fact clicking on link does not mean opening external
web browser, but in case of embedded browser it is regular netbeans action. 
Comment 12 Ondrej Langr 2009-06-12 09:24:53 UTC
Actually in some contexts, the links will open an external browser. This applies to some platforms where embedded
browser will not work as well as possibly to a scenario when user has selected other then default browser to use in the
IDE (the later depends on the browser configuration which is not designed as of now). 
Comment 13 Stanislav Aubrecht 2009-07-07 13:48:12 UTC
i've modified dashboard apis to allow icons and tooltips to be passed in (basically changed ActionListener to Action).
i also added icon and default tooltip for all 'web' actions (URLDisplayerAction). please modify appropriate action
providers to use properly formated tooltip text or close this issue as fixed if you think that tooltip containing just
the url is enough. thanks

core-main f8d779f9d938
Comment 14 Quality Engineering 2009-07-08 05:37:52 UTC
Integrated into 'main-golden', will be available in build *200907080200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f8d779f9d938
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #165373 - Distinguish between link to web vs. NetBeans action
Comment 15 Tomas Pavek 2009-07-10 17:10:30 UTC
Created attachment 84605 [details]
screenshot how it currently looks on Windows (has smaller font than OS X/Linux)
Comment 16 Jan Becicka 2009-07-15 09:55:29 UTC
already fixed.
Comment 17 Ondrej Langr 2009-07-16 14:12:49 UTC
Honza, could you please change the icon for the new (smaller one)? This is to address the comment raised about the
indication being too visually intensive.  
Comment 18 Ondrej Langr 2009-07-16 14:13:24 UTC
Created attachment 84830 [details]
new (smaller
Comment 19 Ondrej Langr 2009-07-16 14:17:45 UTC
please change the icon for the smaller one. Thanks a lot. O.
Comment 20 Jan Becicka 2009-07-17 09:11:12 UTC
fixed in cdev
Comment 21 Quality Engineering 2009-07-17 17:54:15 UTC
Integrated into 'main-golden', will be available in build *200907171401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/725b8e1b368d
User: Jan Becicka <jbecicka@netbeans.org>
Log: #165373: Distinguish between link to web vs. NetBeans action