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 41887 - Invoking web links from Welcome Screen could be more responsive
Summary: Invoking web links from Welcome Screen could be more responsive
Status: CLOSED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Welcome (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ondrej Rypacek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-04-09 14:06 UTC by Antonin Nebuzelsky
Modified: 2006-03-24 09:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2004-04-09 14:06:44 UTC
When you click a link on the Welcome Screen it can
take significant time for the web page to be
displayed in the started web browser, and the only
indication for this happening is the message in
the status line.

This might be considered as insufficient from UI
Responsiveness point of view.

Changing the cursor shape to hour-glass would be
adequate for this action.
Comment 1 Richard Gregor 2004-04-09 14:18:12 UTC
Right, I think that there should be hour-glass during page loading.
Question is whether that should be implemented in welcome. Welcome
only invokes HtmlBrowser.showUrl(...). Org.openide.awt.HtmlBrowser
loads page so it could also change cursor and change it back after
page is loaded. If change is implemented on browser side then
everytime page is loaded also cursor will be changed.
Comment 2 Antonin Nebuzelsky 2004-08-30 15:08:28 UTC
Reassigning to Tim. I saw he fixed some issues in HtmlBrowser.
Tim, HtmlBrowser should use the hour-glass cursor to indicate that URL
loading is in progress. It is very confusing now when only a message
in status line is displayed which may not be noticed by the user at all.
Comment 3 _ tboudreau 2004-08-30 16:26:54 UTC
Given that HtmlBrowser is not the default, how much is this going to help?  AFAIK 
showURL() is going to return immediately.  Status line would probably be a better way to 
let the user know in this case...Or include some kind of status text in the welcome screen 
itself, and have it go away on a timer.
Comment 4 _ tboudreau 2004-09-01 09:31:18 UTC
As discussed, given that Swing browser is not the default, it's not going to help the 
welcome screen to do this - opening an external browser will return immediately, not wait 
for the external process to start, so there'd still be a cursor issue.

Suggested to just change the cursor for the welcome screen, start a timer, and change it 
back after, say 10 seconds.

(BTW, where has the Welcome component gone in issuezilla?  I couldn't find it to reassign 
this issue).
Comment 5 Ondrej Rypacek 2005-02-23 16:55:20 UTC
fixed as proposed by Tim. I've chosen the timeout a little shorter,
3s. 10s seemed too long and 3s is enough for the user to notice that
something is actually happening.

Checked in
 1.23 ide/welcome/src/org/netbeans/modules/welcome/ui/TitlePanel.java
Comment 6 Antonin Nebuzelsky 2005-02-24 12:48:17 UTC
Looks much better now. Thanks.