Bug 866622 - [libqdialogsolver] Port libqdialogsolver to Qt 5
Summary: [libqdialogsolver] Port libqdialogsolver to Qt 5
Status: RESOLVED WONTFIX
: 885740 893274 904274 927713 947199 958938 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: 13.2 Milestone 0
Hardware: Other Other
: P2 - High : Major with 5 votes (vote)
Target Milestone: ---
Assignee: Martin Vidner
QA Contact: Jiri Srain
URL: https://trello.com/c/60HTxBlV
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-03 22:14 UTC by Forgotten User DV81ZEWZkN
Modified: 2017-10-05 15:00 UTC (History)
16 users (show)

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


Attachments
Segfault log (13.96 KB, text/plain)
2014-03-03 22:15 UTC, Forgotten User DV81ZEWZkN
Details
Backtrace (14.02 KB, text/plain)
2014-07-30 22:43 UTC, Forgotten User Q_jroExIGN
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User DV81ZEWZkN 2014-03-03 22:14:09 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) QupZilla/1.6.3 Safari/538.1

libyui-qt is now using Qt5, so dialogsolver should switch there also, otherwise YaST packager, Qt variant, is almost useless (and segfaults with libqdialogsolver1 installed)

Reproducible: Always

Steps to Reproduce:
1. Update libyui-qt to >= 2.45.0

Actual Results:  
Segfault
Comment 1 Forgotten User DV81ZEWZkN 2014-03-03 22:15:11 UTC
Created attachment 580794 [details]
Segfault log
Comment 2 Josef Reidinger 2014-03-04 08:17:47 UTC
martin - It is the bug I told you yesterday.
Comment 3 Martin Vidner 2014-03-31 13:29:30 UTC
It turns out that the code https://github.com/openSUSE/zypp-dialogsolver needs to be ported from the Qt3 compatibility layer of Qt4. Even more fun!
Comment 4 Martin Vidner 2014-05-23 15:43:43 UTC
Work in progress: https://github.com/mvidner/zypp-dialogsolver/tree/qt4-port

This bug has a SLE12 buddy, bug 870683.
Comment 5 Wolfgang Bauer 2014-07-03 17:37:33 UTC
*** Bug 885740 has been marked as a duplicate of this bug. ***
Comment 6 Forgotten User Q_jroExIGN 2014-07-30 22:43:54 UTC
Created attachment 600487 [details]
Backtrace

I assume thats the backtrace ...
Comment 7 Martin Vidner 2014-08-26 11:25:23 UTC
So far SLES12 work has prevented me from completing the port. In the meantime, I've made libyui-qt-pkg Conflict with the unported libqdialogsolver1:

RPM: libyui-qt-pkg6-2.44.5
IBS: https://build.suse.de/request/show/40757
OBS: https://build.opensuse.org/request/show/239617
Comment 8 Martin Vidner 2014-08-26 11:28:47 UTC
*** Bug 893274 has been marked as a duplicate of this bug. ***
Comment 9 Martin Vidner 2014-08-26 13:01:55 UTC
As Wolfgang Bauer has pointed out in Bug 893274, the conflict is missing from the built RPM:

$ rpm -q --conflicts libyui-qt-pkg6-2.44.6
$

Most likely it is because the Conflicts declaration precedes the %package header. No warning in the build log :-(
Comment 10 Martin Vidner 2014-08-26 15:25:53 UTC
The conflicts are fixed in

RPM: libyui-qt-pkg6-2.44.7
Git: https://github.com/libyui/libyui-qt-pkg/pull/19
OBS: https://build.opensuse.org/request/show/246523
IBS: https://build.suse.de/request/show/43150
Comment 11 Martin Vidner 2014-09-03 15:27:53 UTC
*** Bug 894866 has been marked as a duplicate of this bug. ***
Comment 12 Forgotten User xRcrmyYBVX 2014-10-23 15:43:24 UTC
In openSUSE 13.2 RC1, when using the "Software Management" module in Yast, right clicking on package and choosing 'Show solver information' brings an error:
"Missing Package" - "Package libqdialogsolver is required for this feature"

Is this related to this bug?
Comment 13 Wolfgang Bauer 2014-10-23 18:09:29 UTC
(In reply to Joschi Brauchle from comment #12)
> In openSUSE 13.2 RC1, when using the "Software Management" module in Yast,
> right clicking on package and choosing 'Show solver information' brings an
> error:
> "Missing Package" - "Package libqdialogsolver is required for this feature"
> 
> Is this related to this bug?

Indirectly, yes.

You get that message when libqdialogsolver1 is not installed, as libqdialogsolver1 is what provides this function. This is already the case on 13.1 and lower, where libqdialogsolver1 wasn't installed by default as well (at least on 13.1 and 12.3, not sure about earlier versions).

But as libqdialogsolver1 is still Qt4 based, it would crash the Qt5 based YaST when it is installed. That's the original reason for this bug report.

For now you cannot install libqdialogsolver1 therefore, a conflict has been added to YaST (libyui-qt-pkg6 in particular) to prevent this crash.
Comment 14 Forgotten User DV81ZEWZkN 2014-11-06 20:04:09 UTC
*** Bug 904274 has been marked as a duplicate of this bug. ***
Comment 15 Forgotten User dBpEIsMMD7 2014-12-05 16:10:37 UTC
for now, rather than file a new bug, I'll ask here ...

libqdialogsolver1 is offered/available in repos for

  Opensuse Tumbleweed
  Opensuse 13.1

but not for 13.2

this bug addresses that it's missing from -factory.

what's the reason, if any, it's N/A for 13.2?  if none, can the build/repo be enabled?
Comment 16 Dainius Masiliunas 2014-12-05 16:38:05 UTC
(In reply to grant k from comment #15)
> what's the reason, if any, it's N/A for 13.2?  if none, can the build/repo
> be enabled?

As it says, it crashes YaST, since it's not ported to Qt5. The real question is why it's not disabled in Tumbleweed...
Comment 17 Martin Vidner 2015-04-21 11:02:54 UTC
*** Bug 927713 has been marked as a duplicate of this bug. ***
Comment 18 Wolfgang Bauer 2015-09-23 19:30:56 UTC
*** Bug 947199 has been marked as a duplicate of this bug. ***
Comment 19 Wolfgang Bauer 2015-12-14 10:19:55 UTC
*** Bug 958938 has been marked as a duplicate of this bug. ***
Comment 20 Lukas Ocilka 2017-10-05 15:00:28 UTC
Package has been dropped :(
Out of manpower, sorry.