Bug 545331

Summary: yast2-control-center-qt missing dependency on yast2-qt
Product: [openSUSE] openSUSE 11.2 Reporter: Vincent Untz <vuntz>
Component: YaST2Assignee: Jiri Srain <jsrain>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: jdsn
Version: Factory   
Target Milestone: Future 11.3   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Vincent Untz 2009-10-08 12:15:25 UTC
I installed yast2-control-center-qt and couldn't launch the qt version of the control center. Because yast2-qt was not installed.
Comment 1 Katarina Machalkova 2009-10-08 12:26:01 UTC
'couldn't launch' ... from Gnome menu? Or from the console (terminal)?
Comment 2 Vincent Untz 2009-10-08 12:47:51 UTC
Sorry, I didn't explicitly said I launched "yast2 --qt"

It launches. But it doesn't launch the QT version, and fallbacks to the curses version.
Comment 3 Katarina Machalkova 2009-10-08 13:29:05 UTC
Duh, you're right. It's not that Qt CC would require yast2-qt in runtime (it is a standalone Qt app, independent of YaST). It's rather that the check for the presence of Qt UI is too strict. 

yast2-qt shared lib (libpy2qt) is needed for YaST modules to have Qt UI, but not for Qt control centre itself. In spite of that, the shell script starting YaST requires its presence in any case and falls back to ncurses if it is not there.
Comment 4 J. Daniel Schmidt 2009-10-13 15:26:22 UTC
So what do you propose?
Comment 5 Katarina Machalkova 2009-10-14 09:43:03 UTC
1) Make check for Qt UI less strict (provided that Qt CC launching modules with Gtk UI is a valid usecase) - that would be Jiri's (jsrain's) code
2) Have yast2-control-c-qt RPM-recommend (not strictly require, see above) 
yast2-qt - that would have to be done by me

Or both 1 and 2
Comment 6 Jiri Srain 2010-01-07 13:28:25 UTC
QT CC + GTK UI is a valid case - while QT CC + NCurses UI is problematic (terminal would be needed).

I updated the script (the problem was in fallbacking - QT was used as fallback for GTK, but not vice versa) as well as added soft dependency between QT CC and QT UI.

Done in SVN trunk (for openSUSE 11.3).
Comment 7 Bernhard Wiedemann 2016-04-15 09:57:59 UTC
This is an autogenerated message for OBS integration:
This bug (545331) was mentioned in
https://build.opensuse.org/request/show/34612 Factory / yast2-control-center