• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

spesmilo / electrum / 5893437146267648
63%

Build:
DEFAULT BRANCH: master
Ran 10 Jul 2025 02:37AM UTC
Jobs 5
Files 87
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jul 2025 03:32PM UTC coverage: 59.84%. Remained the same
5893437146267648

push

CirrusCI

SomberNight
follow-up prev: fix weird pyqt bug re QPushButton.clicked

When clicking the "close_button" button (labelled "Not Now"), the whole app state got bugged:
none of the existing windows (e.g. ElectrumWindow) could get focus anymore.

The signature of PushButton.clicked is:
`void QAbstractButton::clicked(bool checked = false)`
https://doc.qt.io/qt-6/qabstractbutton.html#clicked

and pyqt is probably doing some polymorphism, dynamically deciding if the qt slot wants the "checked" arg or not.

The extremely weird part is that the bug is triggered on clicking "close_button" (probably pyqt is passing "checked" to self.close)
but instead of the current commit, the following diff, touching a completely different button, would also "fix" the issue:

```
diff --git a/electrum/gui/qt/exception_window.py b/electrum/gui/qt/exception_window.py
index eceab89de6..e0162e5827 100644
--- a/electrum/gui/qt/exception_window.py
+++ b/electrum/gui/qt/exception_window.py
@@ -67,7 +67,7 @@ class Exception_Window(BaseCrashReporter, QWidget, MessageBoxMixin, Logger):

         self._report_contents_dlg = None  # type: Optional[ReportContentsDialog]
         collapse_info = QPushButton(_("Show report contents"))
-        collapse_info.clicked.connect(self.show_report_contents_dlg)
+        collapse_info.clicked.connect(lambda: self.show_report_contents_dlg())

         main_box.addWidget(collapse_info)
 ```

No idea why.

21984 of 36738 relevant lines covered (59.84%)

2.99 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% electrum/utils/stacktracer.py
2
60.55
-0.07% electrum/util.py
3
51.58
-0.15% electrum/lnworker.py
5
87.21
-1.28% electrum/lnrouter.py
Jobs
ID Job ID Ran Files Coverage
1 5893437146267648.1 10 Jul 2025 02:37AM UTC 87
59.79
2 5893437146267648.2 10 Jul 2025 02:37AM UTC 87
59.82
3 5893437146267648.3 10 Jul 2025 02:37AM UTC 87
59.8
4 5893437146267648.4 10 Jul 2025 02:37AM UTC 87
59.8
5 5893437146267648.5 10 Jul 2025 02:59AM UTC 87
59.81
Source Files on build 5893437146267648
  • Tree
  • List 87
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #58934371...
  • 0f4d8d6d on github
  • Prev Build on master (#57780739...)
  • Next Build on master (#50239553...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc