Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 08:52 Go to next message
Torsten Blau is currently offline Torsten BlauFriend
Messages: 5
Registered: August 2012
Junior Member
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 14:05 Go to previous messageGo to next message
Torsten Blau is currently offline Torsten BlauFriend
Messages: 5
Registered: August 2012
Junior Member
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 09:58 Go to previous message
Torsten Blau is currently offline Torsten BlauFriend
Messages: 5
Registered: August 2012
Junior Member
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: Fri Apr 19 02:48:49 GMT 2024

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

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

Back to the top