# Ruby-gnome2 not fully functional (at least for me) in latest ubuntu (karmic)

**URL:** <https://www.ruby-forum.com/t/ruby-gnome2-not-fully-functional-at-least-for-me-in-latest-ubuntu-karmic/181417>\
**Category:** Ruby-Gnome 2\
**Created:** [January 11, 2010, 5:26pm UTC](https://www.ruby-forum.com/t/ruby-gnome2-not-fully-functional-at-least-for-me-in-latest-ubuntu-karmic/181417 "2010-01-11T17:26:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![blueprint](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/cc9497/32.png) [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Post date:** [January 11, 2010, 5:26pm UTC](https://www.ruby-forum.com/t/ruby-gnome2-not-fully-functional-at-least-for-me-in-latest-ubuntu-karmic/181417/1 "2010-01-11T17:26:14Z")

</div>

Hi,

I’ve noticed that my program booh lacks screen refresh on ubuntu  
karmic (rg2 0.19.0) when calling backend programs. I fork and use ruby  
threads to monitor the progress of the backend programs (and  
pulse/increment progressbars). I use mandriva (rg2 0.19.2) and I have  
no problem.

That simple program seems to reproduce:

[http://zarb.org/~gc/t/threaded-example.rb](http://zarb.org/~gc/t/threaded-example.rb)

E.g. when the button is clicked in that example program, the interface  
becomes unresponsive for 3 seconds on ubuntu (the button remains  
“pushed” and nothing more happens) but it should not. Remove the  
Thread{} waiting for process completion and it will workaround the  
problem (but I need to wait for process completion in my real program,  
of course).

I suspect one of the fix of rg2 0.19.2 (released Wed, Sep 23, 2009) to  
be the culprit:

- [#2862022] fix multi thread blocking with Ruby  
1.8.6-p368 or later and 1.8.7-p173 or later.  
[Roy W., Andrea D., Kouhei S.]

Any Ubuntu-aware person can suggest a solution? Would the 0.19.0 be  
fixed or upgraded?

Thanks,

–  
Guillaume C. - [http://zarb.org/~gc/](http://zarb.org/~gc/)

---

<div class="post-metadata">

**Author:** ![blueprint](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/cc9497/32.png) [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Post date:** [January 12, 2010, 1:56pm UTC](https://www.ruby-forum.com/t/ruby-gnome2-not-fully-functional-at-least-for-me-in-latest-ubuntu-karmic/181417/2 "2010-01-12T13:56:35Z")

</div>

Hi Guillaume,

I also have the same problem on ubuntu karmic, but did not find the  
solution.  
I just tried my tool gnms ([http://gnms.rubyforge.org/](http://gnms.rubyforge.org/)) yesterday, but  
it seems to freeze in some thread on my ubuntu.  
If you are right I believe the patch should be removed/modified.

Regards,  
david

On Mon, Jan 11, 2010 at 5:25 PM, Guillaume C.

---

<div class="post-metadata">

**Author:** ![blueprint](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/cc9497/32.png) [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Post date:** [January 12, 2010, 3:30pm UTC](https://www.ruby-forum.com/t/ruby-gnome2-not-fully-functional-at-least-for-me-in-latest-ubuntu-karmic/181417/3 "2010-01-12T15:30:49Z")

</div>

> If you are right I believe the patch should be removed/modified.

there’s no patch to remove/modify. the commit I talked about was done  
between 0.19.1 and 0.19.2, and karmic is stalled on 0.19.0. either the  
commit should be used on 0.19.0 or (better) the whole should be  
upgraded.

–  
Guillaume C. - [NVC Communication Obstacles Game](http://zarb.org/~gc/)

---

<div class="post-metadata">

**Author:** ![blueprint](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/cc9497/32.png) [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Post date:** [January 12, 2010, 4:28pm UTC](https://www.ruby-forum.com/t/ruby-gnome2-not-fully-functional-at-least-for-me-in-latest-ubuntu-karmic/181417/4 "2010-01-12T16:28:12Z")

</div>

oh ok, I know it’s hard to get ruby-gnome2 updated in Ubuntu, maybe we  
should fill a bug entry in launchpad … and see

On Tue, Jan 12, 2010 at 3:29 PM, Guillaume C.

---

<div class="post-metadata">

**Author:** ![blueprint](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/cc9497/32.png) [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Post date:** [January 12, 2010, 4:46pm UTC](https://www.ruby-forum.com/t/ruby-gnome2-not-fully-functional-at-least-for-me-in-latest-ubuntu-karmic/181417/5 "2010-01-12T16:46:56Z")

</div>

On Tue, Jan 12, 2010 at 4:27 PM, David M.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> oh ok, I know it’s hard to get ruby-gnome2 updated in Ubuntu, maybe we  
> should fill a bug entry in launchpad … and see

I was hoping an ubuntu developer/packager was listening in this list..  
but maybe not..

–  
Guillaume C. - [NVC Communication Obstacles Game](http://zarb.org/~gc/)
