Bug 897910

Summary: Searching is broken in YaST package manager when using gtk interface
Product: [openSUSE] openSUSE Distribution Reporter: Atri Bhattacharya <badshah400>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: ancor, raul.malea, tgoettlicher
Version: 13.2 Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Package manager after keying in "libreoffice" as search term

Description Atri Bhattacharya 2014-09-23 09:21:01 UTC
Created attachment 607324 [details]
Package manager after keying in "libreoffice" as search term

openSUSE 13.2 Beta 1, fresh installation from Live USB GNOME x86_64.

Launch YaST's package manager with the gtk interface.
> yast2 --gtk sw_single&

Type some software name in the search box. Two things happen:
* It is supposed to be a search-as-you-type search, but the search becomes slower and slower as soon as you start typing in, and the interface sort of freezes during keying in the search term letter-by-letter. After typing everything, the search box only shows what you have typed in after something like 1 1/2 minutes, but...
* It turns out that the keyed in letters are input from right-to-left as I type after the searching process begins after keying in the first or first few letters! So obviously nothing ever matches my very English search query. See attached image for evidence. I searched for libreoffice, and it shows leciffoerbi, i.e. letters from right-to-left after the first letter was keyed in and searching began. If instead I type in each letter and wait for the view to be updated and then type in the next letter, it shows the correct typed in pattern. But who is going to do that for a type-ahead-search which is supposed to be instantaneous, esp. when the view updating for each typed-in letter takes forever?

Even clearing the search-box causes the list of packages to be displayed after a very long time.

This problem is specific to the gtk interface.
Comment 1 Arvin Schnell 2014-09-23 20:02:31 UTC
Assigning to bugower of libyui-gtk-pkg.
Comment 2 Ancor Gonzalez Sosa 2015-02-02 10:06:20 UTC
As discussed on bug#901511, of which this one can be considered a duplicate, the GTK+ YaST front-end was deprecated/dropped in 13.2 and Tumbleweed.

*** This bug has been marked as a duplicate of bug 901511 ***