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

Part of desktop not covered on MS Windows with 2 screen, mixed-DPI #986

Closed
hosiet opened this issue Sep 25, 2020 · 9 comments
Closed

Part of desktop not covered on MS Windows with 2 screen, mixed-DPI #986

hosiet opened this issue Sep 25, 2020 · 9 comments
Labels
Bug It's a bug Windows Windows specific issues

Comments

@hosiet
Copy link
Member

hosiet commented Sep 25, 2020

Flameshot version
git HEAD (2020-09-25, f5d581c)

Describe the bug
With certain 2-screen setup and mixed DPI settings, part of the desktop is not convered when making a screenshot with flameshot.

To Reproduce

  • Use 2 monitors and use the following setup:
    图片

  • Screen 1: 3840 * 2160, 200% scaling

  • Screen 2: 1080 * 1920, 100% scaling

  • Start flameshot for a capture. The behavior is abnormal. See the attached photo (pay attention to the black part at the top of screen 2 and duplicated parts at the top of screen 1):

图片

Expected behavior
The whole desktop is covered with dark background and can be captured.

System Information
Windows 10 x86_64 19041

@szszoke
Copy link

szszoke commented Sep 25, 2020

Likely a duplicate of #739

@borgmanJeremy
Copy link
Contributor

@hosiet maybe this was caused by a result of this commit

@hosiet
Copy link
Member Author

hosiet commented Sep 26, 2020

This happens on 0.8.1 without the commit so the commit should be unrelated

@holazt
Copy link
Member

holazt commented Sep 26, 2020

I think it might be related to this #932. Maybe your two monitors are running on different graphics cards and the iGPU conflicts with the dGPU.

@holazt holazt added the Windows Windows specific issues label Sep 26, 2020
@mmahmoudian
Copy link
Member

At the moment I don't have access to two monitors to test this on Linux but I would like to see the results of these tests:

  1. Does it behave the same on Linux (X11) or is it a Windows thing?
  2. Is it related to having monitors connected to different graphic cards?
  3. Can the rectangular section get dragged out side of the "dark background" area?
  4. Does it get fixed if the height of both monitors are the same?

@mmahmoudian mmahmoudian added the Bug It's a bug label Sep 27, 2020
@hosiet
Copy link
Member Author

hosiet commented Sep 28, 2020

Answers to those questions:

  1. I don't have a Linux installation with dual monitor right now so cannot test. Hopefully someone else can take a look with similar setup.
  2. Those 2 monitors are connected to the same graphics card (NVIDIA).
  3. Yes it can. The screenshot result also contains the "dark background" area. The odd thing is that the bright area in monitor 1 cannot be covered by the rectangular section.
  4. If the top of the monitors are kept to be on the same horizontal line, this bug will disappear.

@mmahmoudian
Copy link
Member

mmahmoudian commented Sep 28, 2020

@hosiet so it seems the error is in geometry (esp. height) and the position defined for the "dark background".


off-topic: let's call the "dark background" as "curtain" if it doesn't have a designated name yet.

@DustReliant
Copy link

Windows 如何安装这个?

@borgmanJeremy
Copy link
Contributor

I think this might be fixed with #1126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug It's a bug Windows Windows specific issues
Projects
None yet
Development

No branches or pull requests

6 participants