Summary: | When an error occurs dialogs are shown both in software updates and Muon at the same time | ||
---|---|---|---|
Product: | [Unmaintained] muon | Reporter: | Alvaro Manuel Recio Perez <amrecio> |
Component: | libqapt | Assignee: | Jonathan Thomas <echidnaman> |
Status: | RESOLVED LATER | ||
Severity: | minor | Keywords: | triaged |
Priority: | NOR | ||
Version: | 0.2 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Alvaro Manuel Recio Perez
2011-01-10 11:33:54 UTC
Git commit 0c97ec7521dde286c059cc1da633a91c9ba09071 by Jonathan Thomas Pushed by jmthomas into branch master Only listen for signals from the worker if we requested a worker action ourselves by keeping track of when we have requested the worker and only connecting these signals when the worker has a) appeared and b) we requested it. This is a somewhat major behavioral change, so I will not backport it to the 1.1 branch for fear of causing regressions. Due to a lack of foresight when I originally designed the worker/backend mechanism, I failed to design a way for the backend to be notified about things it requested. Instead the backend gets sent signals indescriminately over DBus that any other application using a QApt::Backend could trigger. For QApt2 I plan on having the worker functions return a unique DBus object responsible for sending/recieving signals for a particular transaction. BUG:262742 M +33 -15 src/backend.cpp http://commits.kde.org/d5234754/0c97ec7521dde286c059cc1da633a91c9ba09071 Git commit 7b35c567a7754c8e40ced32d5bb4615974eead8a by Jonathan Thomas. Pushed by jmthomas into branch 'master'. Revert "only connect to worker signals when we've requested it" changes. It's too difficult to determine when to connect, causing a ton of regressions. This will just have to be addressed in QApt2, when the time is right for that. In the meantime, this issue is just a bit annoying. CCBUG:262742 M +14 -35 src/backend.cpp http://commits.kde.org/d5234754/7b35c567a7754c8e40ced32d5bb4615974eead8a |