Beagle123 / visualruby

Make GUI programs with Ruby!
http://visualruby.net
MIT License
39 stars 9 forks source link

Warnings appear while running all_widgets example on Windows #42

Open rubycoder opened 7 years ago

rubycoder commented 7 years ago

Running the all_widgets example on Windows 7 64 bit gives the following warning on startup

c:\Ruby231p112\lib\ruby\gems\2.3.0\gems\visualruby-3.1.3\examples\all_widgets>ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [i386-mingw32]

c:\Ruby231p112\lib\ruby\gems\2.3.0\gems\visualruby-3.1.3\examples\all_widgets>ruby main.rb

(ruby.exe:10332): Gtk-←[1;33mWARNING←[0m **: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/check-symbolic.svg.
This may indicate that pixbuf loaders or the mime database could not be found.

Also, clicking on the http://www.visualruby.net/ link gives this warning

(ruby.exe:10332): Gtk-←[1;33mWARNING←[0m **: Couldn't export handle, unsupported windowing system

Note that the http://www.visualruby.net/ page correctly opens in the browser. All of the other all_widgets functionality appears to be correct. The above warnings don't seem to cause any problems, at least in this example.

The warnings do not appear on Ubuntu 16.04 64 bit.

Beagle123 commented 7 years ago

Hi Wayne:

Sorry for the late response.

The pixbuf thing has been around for a while. Like most of the warnings, they don't hurt the program in any way, they are just annoying.

I updated vr to use GTK 3.1.1 and gtksourceview 3.1.1, so you could try updating vr and see if it helps.

I know they made some changes on the pixbuf class lately.

I have no idea on the other one. It looks like a bug between the Gtk::LinkButton widget and the Winows OS. See if it goes away with upgrade. Otherwise don't worry about it.

You can see that there's co vr code there so it must be the button and windows.

Let me know, Eric

Beagle123 commented 7 years ago

Also, give me a status update. Is everything working ok? I assume that you're still getting warnings. I get warnings when I open a new project, but it doesn't hurt anything.

rubycoder commented 7 years ago

With vr 3.1.7 it works exactly the same as it did with vr 3.1.3 above.

I get the same warnings in the console, the http://www.visualruby.net/ page correctly opens in the browser, and all of the other all_widgets functionality appears to be correct.

Beagle123 commented 7 years ago

Thanks Wayne:

Ok. Thanks. I'm afraid that we'll just have to ignore that warning. I don't have a windows computer, so lets hope they fix the pixbuf warning. If I get on a windows computer, I'll try to fix it.

Best, Eric

rontarrant commented 5 years ago

Nudge...

Any word on fixes for the "Couldn't export handle, unsupported windowing system" error with LinkButton? Perhaps a user-soothing workaround? :)

Beagle123 commented 5 years ago

Hi You may be on your own with windows 7. Last I checked it worked fine on Linux. I don’t have windows machine. I will do my best to check but very difficult  Eric

Sent from Yahoo Mail for iPhone

On Wednesday, March 20, 2019, 6:09 AM, Ronald Tarrant notifications@github.com wrote:

Nudge...

Any word on fixes for the "Couldn't export handle, unsupported windowing system" error with LinkButton? Perhaps a user-soothing workaround? :)

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub, or mute the thread.