Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » SWT Browser PDF always on top
SWT Browser PDF always on top [message #1053690] Tue, 07 May 2013 04:52 Go to next message
Eclipse UserFriend
Hi,
if you open a PDF document in SWT-browser, the PDF document is still open after close or dispose the SWT-browser or switch to an other view with the latest IE9 (9.0.15) and IE10 version with Adobe Reader plugin. Firefox, Chrome and IE8 will work like expected.



You can reproduce it with RAP Controls Demo from eclipse source and open a PDF link like http://www.eclipse.org/whitepapers/eclipse-overview.pdf and switch to an other control example (e.g. Canvas, CLabel ...). If you switch to the Focus control example, the PDF will be closed correctly after view seconds.

Is there an workaround or something to handle this problem?

Thanks and regards,
Torsten
Re: SWT Browser PDF always on top [message #1057740 is a reply to message #1054322] Wed, 08 May 2013 10:05 Go to previous messageGo to next message
Eclipse UserFriend
Hi Tim,
thanks for your reply. I'm using the RAP 2.0 stable version.

If we only use the brwoser.setvisible(false) function without dispose the browser, it works correctly. But when we close the view, the framework will dispose the browserwidget and the PDF is still visible. The order of dispose and setvisible doesn't matter.

Thanks and greetings,

Torsten

Re: SWT Browser PDF always on top [message #1058236 is a reply to message #1058203] Mon, 13 May 2013 05:58 Go to previous message
Eclipse UserFriend
Hi,
thanks for opening the ticket.

As workaround, we have implemented a button to set the browser invisible and hide the view after 50 millisecond with the Display#TimerExec function. It doesn't work in the dispose listener or partHidden listener.

Greetings,
Torsten

Previous Topic:RAP 2.0 FileDialog configuration problems
Next Topic:Docs for Internationalisation out of date
Goto Forum:
  


Current Time: Sat Jul 12 00:04:21 EDT 2025

Powered by FUDForum. Page generated in 0.04981 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top