Gtk.jl icon indicating copy to clipboard operation
Gtk.jl copied to clipboard

ComboBoxText no longer working under Julia 1.8.5

Open tkoepsell opened this issue 2 years ago • 3 comments

The ComboBoxText widget no longer seems to work for me under Julia 1.8.5. It works fine under 1.8.4. Try the example in the Gtk.jl documentation under "ComboBox". It aborts immediately.

In a program I wrote that uses the ComboBoxText widget, I get a segmentation fault as soon as I try to use the widget to select an item when using Julia 1.8.5, but the program works fine with Julia 1.8.4. I'm using Gtk.jl v1.3.0 on an iMac with Mac OS 12.6.3, both of which are current. Any ideas or suggestions?

tkoepsell avatar Jan 26 '23 16:01 tkoepsell

Hi @tkoepsell, I am experiencing a similar problem while switching from Julia 1.8.4 to 1.8.5 (or to 1.9) on a Mac. On Windows it is working without problems. I haven't boiled it down yet to a particular Gtk component (like your ComboBoxText, which I don't use), but it might be related to the usage of an GtkExpander (t.b.c). Did you find any solution?

kschertler avatar May 15 '23 11:05 kschertler

Klaus,

Not so far. I needed a work-around for a particular project, so I switched to from a ComboBoxText widget to a radio-button group. That approach would not work very if there were a large number of choices, though.

Tom

On Mon, May 15, 2023 at 4:20 AM Klaus Schertler @.***> wrote:

Hi @tkoepsell https://github.com/tkoepsell, I am experiencing a similar problem while switching from Julia 1.8.4 to 1.8.5 (or to 1.9) on a Mac. I haven't boiled it down yet to a particular Gtk component (like your ComboBoxText, which I don't use), but it might be related to the usage of an GtkExpander (t.b.c). Did you find any solution?

— Reply to this email directly, view it on GitHub https://github.com/JuliaGraphics/Gtk.jl/issues/686#issuecomment-1547671021, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADKC4AC2B5Q3LW5KEC7NDLTXGIGRHANCNFSM6AAAAAAUHWRGWQ . You are receiving this because you were mentioned.Message ID: @.***>

tkoepsell avatar May 15 '23 14:05 tkoepsell

Thanks Tom! Yes indeed, avoiding the ComboBoxText widget is not always possible (and in my case it's not the source of the problem). Unfortunately, I guess, it's hard to figure out the root cause of the problem without getting some advice from some Gtk expert.

kschertler avatar May 15 '23 15:05 kschertler