Bugzilla – Bug 361950
SelectionBox does not honour `opt(`notify) in gtk frontend
Last modified: 2008-02-15 20:30:57 UTC
The SelectionBox Widget does not honour `opt(`notify) in gtk frontend. See attached example.
Created attachment 195004 [details] example script
With not honour I mean that no events are emitted when selecting a item.
Hey Arvin, I assume you mean OpenSuse 10.3, not 10.2, because yast-gtk wasn't shipped then. :) If that's the case, this is a duplicate of bug #342098. There was a yast-gtk update awhile ago, and I believe it fixed this. Tell me if you need further assistant on fixing it. Meanwhile you may be able to work around it doing a double-click. :/
Strange, I have openSUSE 10.2 with yast2-gtk-0.1_r284-45.1. Can be found at: ftp://ftp.uni-erlangen.de/pub/mirrors/opensuse/distribution/10.2/repo/oss/suse/i586 Anyway, #342098 looks like a MultiSelectionBox but I have the problem with a SelectionBox. So maybe not a duplicate. Just make sure it works on 11.0 and it's fine with me.
«Strange, I have openSUSE 10.2 with yast2-gtk-0.1_r284-45.1.» Okay, I've seen it was on packman, didn't know it was in an official repo. Anyway, you're the first bug report for 10.2. :) I don't think they even shipped a /sbin/yast2 script that detects yast-gtk, so you'd need to tweak that yourself, or launch things directly... «Anyway, #342098 looks like a MultiSelectionBox but I have the problem with a SelectionBox.» Alright, this one is more specific: bug #343184. We have several flavors of bugs. ;) And yep, 11.0 will have this fixed, 10.3 already if updates are applied. yast-qt is bound to have less bugs because its the same maintainer of the base UI thing, so he knows all the quirks. And yes, I gave it a try to your test program, and it works. The label change isn't immediate, but I assume that's the same behavior of -qt and -ncurses (don't have those working now). You should pass `immediate in cases like that where the event processing isn't costly. Anyway, not sure how to get your yast-gtk fixed. I mean, zypp API was broken on 10.3, I'd need to install 10.2... Sorry, but no way. :P You'll need to either use yast-qt, or get used to double-click (enter or space should do it too). Nautilus bookmarks require a double-click, so its not like double-cliking list items in Gnome is that unusual. :P *** This bug has been marked as a duplicate of bug 343184 ***