Bug 361950 - SelectionBox does not honour `opt(`notify) in gtk frontend
Summary: SelectionBox does not honour `opt(`notify) in gtk frontend
Status: RESOLVED DUPLICATE of bug 343184
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Michael Meeks
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-14 20:26 UTC by Arvin Schnell
Modified: 2008-02-15 20:30 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
example script (466 bytes, text/plain)
2008-02-14 20:27 UTC, Arvin Schnell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arvin Schnell 2008-02-14 20:26:45 UTC
The SelectionBox Widget does not honour `opt(`notify) in gtk frontend.
See attached example.
Comment 1 Arvin Schnell 2008-02-14 20:27:29 UTC
Created attachment 195004 [details]
example script
Comment 2 Arvin Schnell 2008-02-14 20:28:23 UTC
With not honour I mean that no events are emitted when selecting a item.
Comment 3 Forgotten User h13THG8RK1 2008-02-15 16:05:30 UTC
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. :/
Comment 4 Arvin Schnell 2008-02-15 18:38:17 UTC
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.
Comment 5 Forgotten User h13THG8RK1 2008-02-15 20:30:57 UTC
«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 ***