Closed Bug 549191 Opened 14 years ago Closed 2 years ago

swt.browser freezes

Categories

(Core Graveyard :: Java to XPCOM Bridge, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: filip.pekarek, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20100219 Ubuntu/9.10 (karmic) Firefox/3.5.6
Build Identifier: 

Hello,
 I have swt.browser with xulrunner (swt-3.6M5-gtk-linux-x86_64,  xulrunner-sdk-1.9.1.3-linux-x86_64 - my own build). I render the page and get all links from the page as String[]. Now I want to render all pages the links refer to. So I made my own ProgressListener which takes link one by one and calls browser.setUrl() in its completed method. The trouble is that the rendering freezes. The ProgressListener is not noticed again until I move with the cursor or invoke any other system event. What am I doing wrong?  I am not sure if its swt-xulrunner or OS problem?  I am using Ubuntu 9.10 x86_64.

Most important part of my code is attached.

Thanks a lot for any help.

Filip

Reproducible: Always

Steps to Reproduce:
1.Render page.
2.Get all links.
3.Call browser.setUrl() for each link.
Actual Results:  
Browser freezes untill I move cursor or invoke any OS event.
Attached file source code
Assignee: jhpedemonte → nobody
Product: Core → Core Graveyard

JavaXPCOM was removed in bug 648593.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: