Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ScrolledComposite and focus behavior
ScrolledComposite and focus behavior [message #693463] Wed, 06 July 2011 14:08 Go to next message
Sebastien Pinel is currently offline Sebastien PinelFriend
Messages: 2
Registered: July 2011
Junior Member
I'll be quick.
I had some problems with "TAB" traverse behavior on composite. I did resolve these using SWT.NO_FOCUS style. However, there is a private checkstyle(int) method that remove the SWT.NO_FOCUS on ScrolledComposite.

But I don't know if it the right way to remove focus on composite for "TAB" traversal. Or if I should report this as a bug.

I'm using 1.4-M6 for the moment and didn't see any changes related to that in 1.4-R

Regards,

Sebastien Pinel

[Updated on: Wed, 06 July 2011 14:11]

Report message to a moderator

Re: ScrolledComposite and focus behavior [message #694127 is a reply to message #693463] Thu, 07 July 2011 21:08 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Sebastien,

this could be related to bug 346471: LayoutComposite takes focus (tab)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=346471

However, could you explain the problem a bit more precisely? How can it
be reproduced, what is the symptom and what would you expect instead?

If you're not sure if it's a bug, it's best to reduce the issue to a
very simple snippet. If this snippet works in SWT but not in RAP, then
it's most likely a bug.


Best regards, Ralf


--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: ScrolledComposite and focus behavior [message #694301 is a reply to message #694127] Fri, 08 July 2011 09:40 Go to previous message
Sebastien Pinel is currently offline Sebastien PinelFriend
Messages: 2
Registered: July 2011
Junior Member
It is more likely this one.
["You cannot use links until you have posted more than 5 messages."]
Bug n°321274

As ScrolledComposite filtered the SWT.NO_FOCUS, we cannot use the workaround described.
Previous Topic:java.lang.IllegalArgumentException: An entry point named 'view' does not exist.
Next Topic:Bundle is not active
Goto Forum:
  


Current Time: Fri Apr 19 04:36:59 GMT 2024

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

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

Back to the top