flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
24.72k stars 1.58k forks source link

In windows, After the second expansion screen is reconnected, it cannot be captured. #1506

Open rrandoom opened 3 years ago

rrandoom commented 3 years ago

Flameshot version v0.9.0

Describe the bug In windows, when the second screen is an extended screen, after unplugging and connecting the second screen, the screenshot cannot be taken of the reconnected extended screen.

To Reproduce

Expected behavior I want the extended screen to be able to capture

System Information windows Home 1909

martinlanger90 commented 3 years ago

if the second screen is connected on my version 2004, the captured screensize from the second screen is only the resolution from the first screen.

eg. 1st screen: 1080p eg 2nd screen: 1440p

only a screen with size of 1080p can be captured on 2nd screen.

after reopening flameshot the capture sizes matches the correct resolution.

joaociocca commented 3 years ago

I noticed something like this happening to my multi screen setup. I've got 3 at the moment: image From mid to top of 3 and anywhere on 2, the capture tools appear around the capture square. But mid to bottom of 3 and anywhere on 1, nothing shows up. I tried closing and reopening, but to no result. Screen 1: 19201080 (notebook) Screen 2: 1360768 (TV) Screen 3: 2560*1080 (ultrawide display)

pedropagotto commented 3 years ago

hello!

I have this same issue on my laptop, whenever i use three monitors.

MichiHo commented 1 year ago

Hi! Two years later, I have the same issue on Windows 11. While the second screen works again after unplugging and re-plugging the monitor, flameshot needs to be restarted, if it was launched without the second monitor. Also as I use two differently-sized monitors alternatively, sometimes only a region of the larger one (probably corresponding to the size of the smaller one) is available for capture

adelphi-company commented 7 months ago

Same problem here. Users are having USB-C Docks at the office and when they come from home office (1 screen) to office (2 or 3 screens) they have to restart flameshot to capture on all screens. Win 11 22H2.

adelphi-company commented 11 hours ago

As there seems to be no progress in fixing this bug, we deployed a workaround in our company several weeks ago (350 employees) and since then, no more people complaining about this bug. It's simply based on monitoring LCD changes via event log and automatically restarts flameshot if changes are detected with a 30s detection delay.

The restart has to be done via task planer, to be able to work in the users context. A PS script stores the actual display setup into a file and compares it on every run, triggered by

true <QueryList><Query Id="0" Path="Microsoft-Windows-DeviceSetupManager/Admin"><Select Path="Microsoft-Windows-DeviceSetupManager/Admin">*[System[EventID=112]]</Select></Query></QueryList>