|
|
Re: Different behaviours on browsers [message #65581 is a reply to message #65540] |
Tue, 11 December 2007 13:53 |
Christian Messages: 31 Registered: July 2009 |
Member |
|
|
Hi Benny,
i try to replicate this problem.
I have this enviroment:
- My app runs under Tomcat on Windows.
i have two clients those connect to this server:
- a linux os with Opera and firefox installed
- a windows os (that is the server) with the same browsers.
I make these steps:
- Run tomcat, deleting my app under work directory
first scenario with problems
- Run under firefox on Win : OK
- Run under Opera on Linx: KO
second scenario with problems
- Run under Opera on Linx: KO
- Run under Opera on Win: KO.
- Run under firefox on Win: KO
- Run under firefox on Linux: KO
It seems that the cause of all is launching my app under Opera in both
sys op...
Some note about my app: it has 6 view folders with one or two views for
each. the strange behaviours happens in all views (larger tab width, tab
title changed, etc....)
Code of one of the views that has problems (Different from the previous
screenshots)
public static final String ID = "mw.LyricsView";
private Text textArea;
protected String _loadedSongId = "";
public void createPartControl(Composite parent) {
parent.setLayout(new FillLayout());
textArea = new Text(parent, SWT.MULTI | SWT.WRAP | SWT.V_SCROLL);
createSelectionListener();
}
private void createSelectionListener() {
IWorkbench workbench = PlatformUI.getWorkbench();
IWorkbenchWindow window = workbench.getActiveWorkbenchWindow();
ISelectionService selectionService = window.getSelectionService();
selectionService.addSelectionListener(new ISelectionListener() {
public void selectionChanged(final IWorkbenchPart part, final
ISelection selection) {
if(part.getClass().equals(MediaView.class)) {
loadSong(selection, null, null);
}
}
});
}
public void setFocus() {
}
it can be useful for you to look for html source code loaded in the
browser in the previous scenarios?
regards
Christian
Benjamin Muskalla ha scritto:
> Hi Christian,
>
> the scenario is really nondeterministic. One idea I have is that the
> same Text sizes are shared across different browsers and thus are
> leading to confusions - but that's just an idea. Do you think you can
> attach a little snippet to make this reproduceable for us? That would be
> great!
>
> Greets
> Benny
>
> Christian wrote:
>> Hi,
>> attached there are two screenshots about a problems occurs launching
>> my app under firefox and Opera; under the first one all work correctly
>> and the view is displayed normally; under opera the same view loses
>> some widgets (Text and the button) and the view tab width is enlarged,
>> the title view changes....
>>
>> The same behaviour happens on other views of the perspective.
>>
>> My app runs under Tomcat and this situations happens browsing from
>> Firefox and opera under Win and Linux; note that i've run Tomcat under
>> linux and Win also.
>>
>> Another note:
>> - launch my app in firefox: works
>> - after i launch it in opera: doesn't work
>> - i launch again it in firefox: doesn't work
>>
>> i think that in the third scenario firefox reads the app from Tomcat
>> cache and it reads the app corrupted by opera.....
>>
>>
>> Can anyone help me?
>>
>> Thanks
>> Christian
>>
>> ------------------------------------------------------------ ------------
>>
>>
>> ------------------------------------------------------------ ------------
>>
|
|
|
Powered by
FUDForum. Page generated in 0.02769 seconds