SWT Slider does not work on RHEL4 [message #487868] |
Thu, 24 September 2009 15:34 |
|
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 |
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02867 seconds