Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'crop' of undefined #230

Open
tuhlmann opened this issue Mar 15, 2021 · 1 comment
Open

TypeError: Cannot read property 'crop' of undefined #230

tuhlmann opened this issue Mar 15, 2021 · 1 comment

Comments

@tuhlmann
Copy link

Information

MagicCap Version: 2.1.2
System OS: Linux 5.8.0-7642-generic / Platform: linux
Installation ID: dc7dd822-aa7f-41f1-8f13-a5496e5f3756
Config: {"hotkey":null,"upload_capture":true,"uploader_type":"magiccap","clipboard_action":2,"save_capture":true,"save_path":"/home/tuhlmann/Bilder/MagicCap/","light_theme":false,"install_id":"dc7dd822-aa7f-41f1-8f13-a5496e5f3756"}

Details

Description

When I try to create a screenshot of a Gif capture, I see the following error reported:

TypeError: Cannot read property 'crop' of undefined
    at /ewu/MagicCap/resources/app/node_modules/screenshot-desktop/lib/linux/index.js:167:69

Steps to reproduce

Looking at existing errors of the screenshot-desktop package, I think it's related to having 2 connected monitors.
All I did was install the application by building master from source and by downloading the latest release. I did not change any settings.

When I unplug my external monitor it takes a screenshot.

Both of my monitors use fractional scaling on X11.

Expected behavior

Screenshots

@sniff122
Copy link

sniff122 commented May 15, 2021

yeah ive noticed that magiccap doesnt work correctly with multiple displays, i have a feeling its how displays IDs are named, on my laptop i have the eDP build in display and my HDMI port is HDMI-A-0. It kinda looks like the project is dead considering that v3 was apparently in the works but hasnt been released yet, even after idk how many months
my issue (#206) also covers this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants