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

spesmilo / electrum / 6129851103444992 / 4
60%
master: 63%

Build:
Build:
LAST BUILD BRANCH: fix_history_list_sat
DEFAULT BRANCH: master
Ran 17 Aug 2023 11:55AM UTC
Files 76
Run time 3s
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

17 Aug 2023 11:43AM UTC coverage: 59.66% (+0.1%) from 59.54%
6129851103444992.4

push

CirrusCI

SomberNight
qt gui: input_qr_from_screenshot: better msg if screenshot is black

The input_qr_from_screenshot functionality is broken on some Linux machines:
on some machines, `screen.grabWindow(0)` returns an all-black image.

In such cases, instead of telling the user "No QR code was found on the screen",
we will tell them "Failed to take screenshot".

To test:
`QApplication.instance().primaryScreen().grabWindow(0).save("/home/user/wspace/tmp/pic2.png", "png")`

Tested on:
- machine 1:
    - ubuntu 22.04, gnome, wayland
    - pyqt.version: 5.15.9
    - qt.version: 5.15.2
    => gets all-black image for screenshot
- machine 2:
    - manjaro, kde, x11
    - pyqt.version: 5.15.9
    - qt.version: 5.15.8
    => screenshot works

I guess it might be due to x11 vs wayland.

18132 of 30392 relevant lines covered (59.66%)

0.6 hits per line

Source Files on job 6129851103444992.4
  • Tree
  • List 0
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6129851103444992
  • 893af0cd on github
  • Prev Job for on 4.4.x (#6323174275547136.1)
  • Next Job for on 4.4.x (#5841750669918208.4)
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