Hi,

maybe it's not a bug.
I redesigned the layout and now it works fine in FF AND IE.
I'm still using ButtonViews...so I guess the problem was my source-code ;)

Tobias




-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tobias Koller 
(GERMO GmbH)
Gesendet: Mittwoch, 17. Oktober 2007 15:31
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] PDF-Plugin Buttonview Problem IE 6/7

Hi stefan,

yes that's right. The tab-widget works fine. I think it's the buttonView.
Maybe I will try to use the tab-widget when I have the time to ;)

Thanks
Tobias


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Fa. Linstep, 
Stefan Volbers
Gesendet: Mittwoch, 17. Oktober 2007 15:06
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] PDF-Plugin Buttonview Problem IE 6/7

Hi Tobias,

if I understand correctly, switching the view using the tabs at the bottom does 
not mess up anything, but as soon as you switch the button view, the pdf view 
fails.
Have you considered exchanging the button view for a tab view, only for testing 
purposes? It wouldn't be too much work I guess, and in case a tab view embedded 
page would work fine, the problem would be broken down to the button view class.

I attached a screen shot of the tab view we utilize. Any time the "Ansicht 
Dokument" tab is clicked, the tab page's content is cleared by 
this.removeAll(); After that, a new qx.ui.embed.Iframe object is added which 
targets a PHP script, which generates or redirects the pdf content. Nothing 
magic inside, even no further event listeners.

So the obvious differences between our systems are that
- you're using qx 0.7.2 while we're done at 0.6.6
- your tab view is contained within a button view, while our is not.

Maybe the problem arises from cascading the iframe within the tab view in the 
bottom view? Just guessing though...

Good luck,

Stefan


Tobias Koller (GERMO GmbH) wrote:
> Hi stefan,
> 
> I placed it in a tabView yesterday but it still has this display-problems. 
> Sometimes the PDF was still displayed after I removed it from the widget.
> I'm using qx 0.7.2...
> 
> Let me explain my situation:
> 
> I have a button-view over the whole screen. In one of the button-pages is my 
> tab-view with the pdf-preview.
> When I view the preview-file and switch to another button-page and switch 
> back to the buttonPage with my pdf-preview then there are The problems. the 
> area where the plugin was is frozen and not updating anything anymore. 
> Browser refresh is the only way to remove this area again.
> 
> 
> Take a look at the screenshot:
> 
> Step 1: select the pdf-preview
> Step 2: select another buttonPage
> Step 3: select the "PDF"-buttonPage
> Step 4: switch to the Preview-Tab
> 
> And then you can see the Problem
> 
> Tobias
> 
> Ps: i had to lower the jpg-quality cause of the post-limitation of 
> 200k  ;)
> 
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im Auftrag von 
> Fa. Linstep, Stefan Volbers
> Gesendet: Mittwoch, 17. Oktober 2007 12:12
> An: qooxdoo Development
> Betreff: Re: [qooxdoo-devel] PDF-Plugin Buttonview Problem IE 6/7
> 
> Hi Tobias,
> 
> if you see any chance to embed your pdf iframe within a _tab view_, 
> your application should behave correctly.
> We too had to embed a pdf preview of a document within a qooxdoo 
> browser application, which needed to support Internet Explorer 6 as 
> well as Firefox. The document to be previewed is selected in a 
> (remote) table on the left side, while on the right side four tabs 
> show different properties of the document, one of which contains the pdf.
> 
> The switching of the tabs works flawlessly without quirks, at least 
> within qooxdoo 0.6.6 which was the current version when we started our app.
> 
> So I encourage you to make an attempt on the tab view class.
> 
> Regards,
> 
> Stefan
> 
> 
> Tobias Koller (GERMO GmbH) wrote:
>> Ok,
>>
>>  
>>
>> maybe this is a workaround. Since I made it like this the 
>> pdf-disappears
>> correctly:
>>
>>  
>>
>> var docName = id + ".pdf";
>>
>>       var iframe = new qx.ui.embed.Iframe();
>>
>>       var path = this.settings["previewPath"];
>>
>>  
>>
>>       iframe.set(
>>
>>       {
>>
>>         width  : "100%",
>>
>>         height : "100%",
>>
>>         source : path + "/" + docName       
>>
>>       });
>>
>>       iframe.setUserData("url", path + "/" + docName);
>>
>>             
>>
>>       iframe.addEventListener("disappear", function(e){
>>
>>             this.setSource("");
>>
>>       });
>>
>>       iframe.addEventListener("appear", function(e){
>>
>>             var url = this.getUserData("url");
>>
>>             this.setSource( url );
>>
>>       });
>>
>>       return iframe;
>>
>>  
>>
>>  
>>
>> I catch the appear and disappear events to remove the pdf from the 
>> iframe.
>>
>> Maybe its quick and dirty but I can' t see another solution ;)
>>
>>  
>>
>> Tobias
>>
>>  
>>
>>  
>>
>> Von: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] Im Auftrag von 
>> Tobias Koller (GERMO GmbH)
>> Gesendet: Dienstag, 16. Oktober 2007 17:04
>> An: qooxdoo Development
>> Betreff: Re: [qooxdoo-devel] PDF-Plugin Buttonview Problem IE 6/7
>>
>>  
>>
>> Hello,
>>
>>  
>>
>> is there a workaround to hide the PDF-File (the pdf-plugin)? It's 
>> important for me.
>>
>>  
>>
>> Thanks
>>
>> Tobias
>>
>>  
>>
>>  
>>
>>  
>>
>> Von: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] Im Auftrag von 
>> Jim Hunter
>> Gesendet: Mittwoch, 19. September 2007 17:55
>> An: qooxdoo Development
>> Betreff: Re: [qooxdoo-devel] PDF-Plugin Buttonview Problem IE 6/7
>>
>>  
>>
>> I know that IE has a huge problem with Flash in that a Flash object 
>> is ALWAYS on top of everything. It's possible that the PDF object 
>> suffers from the same bug. It is an IE bug, not a qooxdoo bug, I 
>> discovered this prior to using qooxdoo. I don't believe that the bug exists 
>> in FireFox.
>>
>> Jim
>> www.D4PHP.org
>> www.D4PHP-Hosting.com
>>
>>
>>
>> On 9/19/07, Tobias Koller (GERMO GmbH) <[EMAIL PROTECTED]> wrote:
>>
>> Hi list,
>>
>>  
>>
>> There is a problem when using a pdf-plugin (f.e. adobe) inside a 
>> ButtonView (only IE).
>>
>> When I display a pdf-document on a
>>
>> qx.ui.pageview.buttonview.ButtonView (the pdf is also inside an 
>> IFrame) and click on another button to
>>
>> Show another page, the PDF-Document is still visible on each page I 
>> view.
>>
>>  
>>
>> Any ideas?
>>
>>  
>>
>> thanks
>>
>>
>> ---------------------------------------------------------------------
>> ---
>> -
>> This SF.net email is sponsored by: Microsoft Defy all challenges. 
>> Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>  
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> ---
>>
>> ---------------------------------------------------------------------
>> ---- This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>>
>>
>> ---------------------------------------------------------------------
>> ---
>>
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> ----------------------------------------------------------------------
> --- This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/ 
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> ----------------------------------------------------------------------
> --
> 
> ----------------------------------------------------------------------
> --- This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 
> 
> ----------------------------------------------------------------------
> --
> 
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to