[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2024-07-09 Thread TraceyC
https://bugs.kde.org/show_bug.cgi?id=473613

TraceyC  changed:

   What|Removed |Added

 CC||derek...@gmail.com

--- Comment #11 from TraceyC  ---
*** Bug 485007 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-10-27 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=473613

Aleix Pol  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/discover/-/commit/6a79cf
   ||d42842814b85430ca2a72ef57f6
   ||05b1df3

--- Comment #10 from Aleix Pol  ---
Git commit 6a79cfd42842814b85430ca2a72ef57f605b1df3 by Aleix Pol Gonzalez, on
behalf of Aleix Pol.
Committed on 27/10/2023 at 13:57.
Pushed by apol into branch 'master'.

packagekit: Don't mark to add packages that are already there

This was a regression from c0dd9fa73744bb2ad02af6daa60c0e5ec230c16a.

M  +0-1libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp

https://invent.kde.org/plasma/discover/-/commit/6a79cfd42842814b85430ca2a72ef57f605b1df3

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-10-26 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=473613

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #9 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/discover/-/merge_requests/681

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-10-23 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=473613

David Redondo  changed:

   What|Removed |Added

 CC||k...@david-redondo.de

--- Comment #8 from David Redondo  ---
So we assert on checking the checked item

checkResources(apps, newValue);
Q_ASSERT(idx.data(Qt::CheckStateRole) == value);

checking an Item in packagekitbackend and see the check status are implemented
in the PackageKitBackend as

void PackageKitUpdater::addResources(const QList &apps)
{
const QSet pkgs = involvedPackages(kToSet(apps));
m_toUpgrade.unite(packagesForPackageId(pkgs));
}

bool PackageKitUpdater::isMarked(AbstractResource *res) const
{
return m_toUpgrade.contains(res);
}


the problem is that packagesForPackageId returns empty because it looks through
m_allUpgradeable whichis assigned in PackageKitUpdater::prepare()

 const auto candidates = m_backend->upgradeablePackages();

the problem is 

QSet PackageKitBackend::upgradeablePackages() const
{
if (isFetching() || !m_packagesToAdd.isEmpty()) {
return {};
}

QSet ret;
ret.reserve(m_updatesPackageId.size());
for (const QString &pkgid : std::as_const(m_updatesPackageId)) {
const QString pkgname = PackageKit::Daemon::packageName(pkgid);
const auto pkgs = resourcesByPackageName(pkgname);
if (pkgs.isEmpty()) {
qWarning() << "PackageKitBackend: Couldn't find resource for" <<
pkgid;
}
ret.unite(pkgs);
}
return kFilter>(ret, [](AbstractResource *res) {
return !static_cast(res)->extendsItself();
});
}


resourcesByPackageName can modify m_packagesToAdd so a second call to it
returns an empty set.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-10-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=473613

Nate Graham  changed:

   What|Removed |Added

 Status|REOPENED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-10-20 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=473613

Nate Graham  changed:

   What|Removed |Added

 Resolution|WORKSFORME  |---
 Status|CLOSED  |REOPENED

--- Comment #7 from Nate Graham  ---
David Redondo was able to reproduce this; seems like a Qt 6.6 only issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-10-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=473613

Nate Graham  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-10-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=473613

Nate Graham  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #6 from Nate Graham  ---
Please submit new bug reports for new issues, and also attach a backtrace of
the crash, or else it's useless and we can't do anything with it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-10-19 Thread Henning
https://bugs.kde.org/show_bug.cgi?id=473613

Henning  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WORKSFORME  |---
 Ever confirmed|0   |1

--- Comment #5 from Henning  ---
uhm, its not crashing in that case, but crashing nonetheless. Using CLI worked
again, Discover crashed.

Poorly I have no log

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-10-19 Thread Henning
https://bugs.kde.org/show_bug.cgi?id=473613

Henning  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |WORKSFORME
 Status|NEEDSINFO   |RESOLVED

--- Comment #4 from Henning  ---
not able to reproduce this, a lot has changed.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-10-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=473613

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 CC||n...@kde.org
 Resolution|--- |WAITINGFORINFO

--- Comment #3 from Nate Graham  ---
I can't reproduce this. Are you still able to with today's git master from Neon
Unstable?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-10-01 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=473613

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-09-29 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=473613

Nicolas Fella  changed:

   What|Removed |Added

 CC||nicolas.fe...@gmx.de

--- Comment #2 from Nicolas Fella  ---
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140354553180608)
at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=140354553180608) at
./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=140354553180608, signo=signo@entry=6) at
./nptl/pthread_kill.c:89
#9  0x7fa6dba42476 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#10 0x7fa6dba287f3 in __GI_abort () at ./stdlib/abort.c:79
#11 0x7fa6dc2b9172 in qAbort() () from
/lib/x86_64-linux-gnu/libQt6Core.so.6
#12 0x7fa6dc2ba0f7 in QMessageLogger::fatal(char const*, ...) const () from
/lib/x86_64-linux-gnu/libQt6Core.so.6
#13 0x7fa6dc2b90c3 in qt_assert(char const*, char const*, int) () from
/lib/x86_64-linux-gnu/libQt6Core.so.6
#14 0x7fa6de95e100 in ?? () from
/usr/lib/x86_64-linux-gnu/plasma-discover/libDiscoverCommon.so
#15 0x7fa6dc58e396 in QSortFilterProxyModel::setData(QModelIndex const&,
QVariant const&, int) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#16 0x7fa6db7915af in ?? () from /lib/x86_64-linux-gnu/libQt6QmlModels.so.6
#17 0x7fa6db795f06 in ?? () from /lib/x86_64-linux-gnu/libQt6QmlModels.so.6
#18 0x7fa6dd26d51b in ?? () from /lib/x86_64-linux-gnu/libQt6Qml.so.6
#19 0x7fa6dd328813 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData
const&, QVariant const&, QQmlRefPointer const&,
QFlags) () from
/lib/x86_64-linux-gnu/libQt6Qml.so.6
#20 0x7fa6dd1eb884 in
QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*,
QQmlPropertyData const*, QV4::Value const&) () from
/lib/x86_64-linux-gnu/libQt6Qml.so.6
#21 0x7fa6dd1ebf5e in
QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*,
QQmlRefPointer const&, QObject*, QV4::String*,
QFlags, QV4::Value const&) () from
/lib/x86_64-linux-gnu/libQt6Qml.so.6
#22 0x7fa6dd1ec198 in QV4::QObjectWrapper::virtualPut(QV4::Managed*,
QV4::PropertyKey, QV4::Value const&, QV4::Value*) () from
/lib/x86_64-linux-gnu/libQt6Qml.so.6
#23 0x7fa6dd1d1a41 in QV4::Object::virtualResolveLookupSetter(QV4::Object*,
QV4::ExecutionEngine*, QV4::Lookup*, QV4::Value const&) () from
/lib/x86_64-linux-gnu/libQt6Qml.so.6
#24 0x7fa6dd23cc60 in ?? () from /lib/x86_64-linux-gnu/libQt6Qml.so.6
#25 0x7fa6dd23fb05 in ?? () from /lib/x86_64-linux-gnu/libQt6Qml.so.6
#26 0x7fa6dd1b101a in ?? () from /lib/x86_64-linux-gnu/libQt6Qml.so.6
#27 0x7fa6dd1b3edb in QV4::Function::call(QObject*, void**, QMetaType
const*, int, QV4::ExecutionContext*) () from
/lib/x86_64-linux-gnu/libQt6Qml.so.6
#28 0x7fa6dd2f296e in QQmlJavaScriptExpression::evaluate(void**, QMetaType
const*, int) () from /lib/x86_64-linux-gnu/libQt6Qml.so.6
#29 0x7fa6dd28477b in QQmlBoundSignalExpression::evaluate(void**) () from
/lib/x86_64-linux-gnu/libQt6Qml.so.6
#30 0x7fa6dd289a5b in ?? () from /lib/x86_64-linux-gnu/libQt6Qml.so.6
#31 0x7fa6dd30f085 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*,
void**) () from /lib/x86_64-linux-gnu/libQt6Qml.so.6
#32 0x7fa6dc3b0478 in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#33 0x7fa6d50d8849 in QQuickAbstractButtonPrivate::handleRelease(QPointF
const&, unsigned long) () from /lib/x86_64-linux-gnu/libQt6QuickTemplates2.so.6
#34 0x7fa6d50f0edd in QQuickControl::mouseReleaseEvent(QMouseEvent*) ()
from /lib/x86_64-linux-gnu/libQt6QuickTemplates2.so.6
#35 0x7fa6dd9ebca1 in QQuickItem::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt6Quick.so.6
#36 0x7fa6de189596 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#37 0x7fa6dc35a128 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt6Core.so.6
#38 0x7fa6ddb4956b in
QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(QQuickItem*, bool,
QPointerEvent*, bool) () from /lib/x86_64-linux-gnu/libQt6Quick.so.6
#39 0x7fa6ddb49c26 in
QQuickDeliveryAgentPrivate::deliverUpdatedPoints(QPointerEvent*) () from
/lib/x86_64-linux-gnu/libQt6Quick.so.6
#40 0x7fa6ddb4b44b in
QQuickDeliveryAgentPrivate::deliverPointerEvent(QPointerEvent*) () from
/lib/x86_64-linux-gnu/libQt6Quick.so.6
#41 0x7fa6ddb4b804 in
QQuickDeliveryAgentPrivate::handleMouseEvent(QMouseEvent*) () from
/lib/x86_64-linux-gnu/libQt6Quick.so.6
#42 0x7fa6ddb40cde in QQuickDeliveryAgent::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt6Quick.so.6
#43 0x7fa6dda85254 in QQuickWindow::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt6Quick.so.6
#44 0x7fa6de189596 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#45 0x7fa6dc35a128 in QCoreApplication::notifyInternal2(QObject*

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-08-21 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=473613

Bug Janitor Service  changed:

   What|Removed |Added

   Keywords||qt6

-- 
You are receiving this mail because:
You are watching all bug changes.

[Discover] [Bug 473613] Crash when clicking on checkbox in "update" tab of Discover

2023-08-21 Thread Henning
https://bugs.kde.org/show_bug.cgi?id=473613

--- Comment #1 from Henning  ---
Created attachment 161097
  --> https://bugs.kde.org/attachment.cgi?id=161097&action=edit
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.

-- 
You are receiving this mail because:
You are watching all bug changes.