Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP upgrade issue with Button-FocusIndicator(RAP upgrade issue with Button-FocusIndicator)
RAP upgrade issue with Button-FocusIndicator [message #1800765] Mon, 07 January 2019 22:37 Go to next message
Steven Donahue is currently offline Steven DonahueFriend
Messages: 4
Registered: January 2019
Junior Member
We're upgrading a JAVA application from RAP 1.4 to RAP 3.7. and are having a CSS issue.

Under RAP 1.4, the following CSS rule will execute whenever you mouse click on, or tab to, a push button.

Button-FocusIndicator[PUSH], Button-FocusIndicator[TOGGLE],
Button-FocusIndicator[CHECK], Button-FocusIndicator[RADIO] {
background-color: transparent;
border: 1px dotted #000000;
margin: 2px;
padding: 0px;
opacity: 1;
}

Under RAP 3.7. It only fires if you tab into the button. It does not fire when you mouse click on it.

It looks this was changed by Eclipse with RAP release 3.0 M2. This is from the 3.0 M2 release notes:

Hidden Focus Frame
The focus frame (represented in the theming by Button-FocusIndicator, Combo-FocusIndicator and FileUpload-FocusIndicator) will no longer be visible if the widget is focused by the mouse. Like in MS Windows, it will only be visible when focused using the keyboard.

Does anyone know a work around for this? Or is there a way to tell CSS to work like it used to?

Thanks in advance.

Re: RAP upgrade issue with Button-FocusIndicator [message #1800914 is a reply to message #1800765] Wed, 09 January 2019 16:08 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2327
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
I remember that the focus indicator in SWT (Windows/Linux) is only visible when you focus a widget by TAB, but not by mouse. RAP behaves the same like SWT.
Best regards,
Ivan
Re: RAP upgrade issue with Button-FocusIndicator [message #1800922 is a reply to message #1800914] Wed, 09 January 2019 18:34 Go to previous message
Steven Donahue is currently offline Steven DonahueFriend
Messages: 4
Registered: January 2019
Junior Member
Thanks Ivan.
Previous Topic:TableCursor on RAP
Next Topic:RAP upgrade issue with TableColumn:hover
Goto Forum:
  


Current Time: Mon Dec 09 16:52:50 GMT 2019

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

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

Back to the top