Files
pallectrum/electrum
SomberNight 635880b3cb 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.
2023-08-16 17:38:42 +00:00
..
2023-06-01 22:59:40 +00:00
2023-05-25 17:39:48 +00:00
2023-06-28 16:49:28 +02:00
2023-05-25 17:39:48 +00:00
2023-08-15 16:34:48 +00:00
2023-04-24 12:58:01 +00:00
2023-04-24 12:58:01 +00:00
2023-05-16 10:06:55 +02:00
2023-04-24 12:58:01 +00:00
2023-05-25 17:39:48 +00:00
2023-08-14 09:58:17 +02:00
2023-07-11 12:51:37 +02:00
2023-04-24 12:58:26 +00:00
2023-04-24 12:58:01 +00:00
2023-08-16 16:32:42 +00:00
2023-05-25 17:39:48 +00:00
2023-06-24 12:56:55 +02:00
2023-06-28 16:49:28 +02:00