-
-
Notifications
You must be signed in to change notification settings - Fork 159
Open
Description
Version
@nut-tree/nut-js@2.3.0
Ubuntu 20.04.5 LTS
Short overview
When I try to take a screenshot, the image saved on the system is all transparent. I have tried all my options already, opening an issue was my last. I'm not sure if this is related to: nut-tree/libnut-core#34
Issue occurs on
- Virtual machineDocker containerDev/Host systemTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Steps to reproduce error
await screen.capture('whatever', FileType.PNG)
Additional content
The resulting screenshot
maks-rafalko
Activity
maks-rafalko commentedon Jan 23, 2023
Same here. Regardless of the method used (
screen.grabRegion()
,screen.captureRegion()
) - image is always empty. Same code on Win10 works correctly.Manjaro linux
s1hofmann commentedon Jan 24, 2023
Hi @Linkaynn @maks-rafalko 👋
Are you running Wayland or the XWayland compatibility mode?
Linkaynn commentedon Jan 24, 2023
Hi @s1hofmann ! Thanks for the reply
I used the Wayland option on Ubuntu login screen 🤔
s1hofmann commentedon Jan 24, 2023
Could you please try using the XWayland option? Wayland support is still lacking