Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Browser disabled state(different behavior in IE)
Browser disabled state [message #1408050] Thu, 14 August 2014 05:45 Go to next message
Yury Mising name is currently offline Yury Mising nameFriend
Messages: 95
Registered: May 2010
Location: Russia
Member
Hello, community!

Using RAP 2.1 found that the Browser component with disabled state has a different behavior in IE and other browsers (FF, Chrome). It is available to scroll, text selection in IE and not for others (looks like an image). Tested in Demo workbench:
index.php/fa/18873/0/
Is it a known issue?

Best regards,
Yury.
  • Attachment: Browser.png
    (Size: 98.88KB, Downloaded 388 times)
Re: Browser disabled state [message #1408176 is a reply to message #1408050] Thu, 14 August 2014 12:37 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Yury,
just checked it with our online Controls Demo [1] and disabled Browser
behave the same in FF and IE11 - no text selection, no scroll... Which
IE version are you using?

[1] http://rap.eclipsesource.com/demo/release/controls/#Browser
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Browser disabled state [message #1408425 is a reply to message #1408176] Fri, 15 August 2014 02:53 Go to previous messageGo to next message
Yury Mising name is currently offline Yury Mising nameFriend
Messages: 95
Registered: May 2010
Location: Russia
Member
Hello, Ivan.

Tested with simple snippet:
  public int createUI() {
    Display display = new Display();
    Shell shell = new Shell(display);
    shell.setText("Browser");
    shell.setLayout( new GridLayout() );
    Browser browser = new Browser(shell, SWT.BORDER);
    browser.setUrl( "http://eclipse.org/rap" );
    browser.setEnabled( false );
    GridData layoutData = new GridData(GridData.FILL_BOTH);
    layoutData.minimumHeight = layoutData.minimumWidth = 500;
    browser.setLayoutData( layoutData );
    shell.pack();
    shell.open();
    while (!shell.isDisposed()) {
      if (!display.readAndDispatch()) {
        display.sleep();
      }
    }
    display.dispose();
    return 0;
  }


IE 10 and RAP 2.1.0.20130506
index.php/fa/18883/0/

Best regards,
Yury.
  • Attachment: Browser.png
    (Size: 69.92KB, Downloaded 228 times)
Re: Browser disabled state [message #1408485 is a reply to message #1408425] Fri, 15 August 2014 07:02 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hy Yury,
It's working for me with IE11, but I can reproduce it with IE9/10 (IE11
emulation). Please file a bugzilla and we will investigate the cause.
Thanks,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Browser disabled state [message #1408495 is a reply to message #1408485] Fri, 15 August 2014 07:43 Go to previous message
Yury Mising name is currently offline Yury Mising nameFriend
Messages: 95
Registered: May 2010
Location: Russia
Member
Ivan,

I've reported https://bugs.eclipse.org/bugs/show_bug.cgi?id=441842.

Best regards,
Yury.
Previous Topic:ClientScripting callback/messagebox
Next Topic:Source code from the RAP demo plug-ins
Goto Forum:
  


Current Time: Wed Apr 24 19:12:52 GMT 2024

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

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

Back to the top