Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Slider does not work on RHEL4
SWT Slider does not work on RHEL4 [message #487868] Thu, 24 September 2009 15:34 Go to next message
Dilton McGowan II is currently offline Dilton McGowan II
Messages: 108
Registered: July 2009
Senior Member
Hi,

We may have found a bug in either GTK or SWT on RHEL4. The Slider snippet
from http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/
src/org/eclipse/swt/snippets/Snippet17.java?view=co

fails on RHEL4 always producing SWT.NONE when the arrows are clicked. I
exported a Runnable Jar from Eclipse and used the same Jar on both Ubuntu
and RHEL4 and it works on Ubuntu.

Is there a workaround? rcjsuen from the #eclipse channel and I both
suspect a GTK bug. He recommended to post a bug requesting that SWT
"fake" the events in cases where the underlying OS does not report
the events.

If I haven't heard anything back by COB today I'll go ahead and post
that bug report.

Thanks
Re: SWT Slider does not work on RHEL4 [message #488088 is a reply to message #487868] Fri, 25 September 2009 13:55 Go to previous messageGo to next message
Grant Gayed is currently offline Grant Gayed
Messages: 2151
Registered: July 2009
Senior Member
Hi,

RHEL4 comes with GTK 2.4.x. According to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=51995#c13 this functionality
only works as of GTK 2.6.x, so it appears to be a shortcoming of earlier GTK
versions. You can log the bug with this info, but given that it's a GTK
problem that only happens in a version that is quite old (GTK's latest
release is 2.16.x), I don't think it would be given high priority.

Grant


"Dilton" <diltonm@gmail.com> wrote in message
news:h9g3i7$c9d$1@build.eclipse.org...
> Hi,
>
> We may have found a bug in either GTK or SWT on RHEL4. The Slider snippet
> from http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/
> src/org/eclipse/swt/snippets/Snippet17.java?view=co
>
> fails on RHEL4 always producing SWT.NONE when the arrows are clicked. I
> exported a Runnable Jar from Eclipse and used the same Jar on both Ubuntu
> and RHEL4 and it works on Ubuntu.
>
> Is there a workaround? rcjsuen from the #eclipse channel and I both
> suspect a GTK bug. He recommended to post a bug requesting that SWT
> "fake" the events in cases where the underlying OS does not report
> the events.
>
> If I haven't heard anything back by COB today I'll go ahead and post
> that bug report.
>
> Thanks
Re: SWT Slider does not work on RHEL4 [message #488708 is a reply to message #488088] Tue, 29 September 2009 21:16 Go to previous message
Dilton McGowan II is currently offline Dilton McGowan II
Messages: 108
Registered: July 2009
Senior Member
On Fri, 25 Sep 2009 09:55:08 -0400, Grant Gayed wrote:

> "Dilton" <diltonm@gmail.com> wrote in message
> news:h9g3i7$c9d$1@build.eclipse.org...
>> Hi,
>>
>> We may have found a bug in either GTK or SWT on RHEL4. The Slider
>> snippet from
>> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/
>> src/org/eclipse/swt/snippets/Snippet17.java?view=co
>>
>> fails on RHEL4 always producing SWT.NONE when the arrows are clicked. I
>> exported a Runnable Jar from Eclipse and used the same Jar on both
>> Ubuntu and RHEL4 and it works on Ubuntu.
>>
>> Is there a workaround? rcjsuen from the #eclipse channel and I both
>> suspect a GTK bug. He recommended to post a bug requesting that SWT
>> "fake" the events in cases where the underlying OS does not report the
>> events.
>>
>> If I haven't heard anything back by COB today I'll go ahead and post
>> that bug report.
>>
>> Thanks

> Hi,
>
> RHEL4 comes with GTK 2.4.x. According to
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=51995#c13 this
> functionality only works as of GTK 2.6.x, so it appears to be a
> shortcoming of earlier GTK versions. You can log the bug with this
> info, but given that it's a GTK problem that only happens in a version
> that is quite old (GTK's latest release is 2.16.x), I don't think it
> would be given high priority.
>
> Grant

Could be. Here' the bug report for reference:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=290459
Previous Topic:Register preferences action on cocoa
Next Topic:is docShell.setZoom not supported by XULRunner?
Goto Forum:
  


Current Time: Thu Oct 02 12:43:23 GMT 2014

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

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