flameshot icon indicating copy to clipboard operation
flameshot copied to clipboard

Flameshot region capture shows tiny image when on dual monitor and/or screen scaling

Open haizaar opened this issue 1 year ago • 22 comments

Flameshot Version

flameshot-12.1.0 (amd64)

Installation Type

Nix

Operating System type and version

NixOS with KDE 5.25.3 on Wayland

Description

Since some recent upgrade region capture is not really useful with flameshot:

  1. It shows both of my screens
  2. But makes everything very small. I.e. both my 27" and 14" screen capture are displayed on half of my 27" screen.

Beforehand it only captured one of the screens but was working well in that. Now it captures both screens but it's not really useful - too tiny.

Here are my screens before capture: 20220729_220947

And here is how capture UI looks: 20220729_221310

My screens configuration is below: Screenshot_20220729_222107 Screenshot_20220729_222124

Steps to reproduce

  1. Run flameshot
  2. Click on its systray icon

Screenshots or screen recordings

No response

System Information

  • NixOS unstable
  • KDE 5.25.3

haizaar avatar Jul 29 '22 12:07 haizaar

Please consider:

  1. provide full information (for example, you didn't mention if you are on Wayland or not)
  2. write a better title for the issues. The title should contain the problem, not a general complaint

I would be thankful if you fix these.

Update: Since you have mentioned that it might be related to fractional scaling, please also check if the issue is fixed when you put every monitor on 100%. This can help us identify the issue.

mmahmoudian avatar Jul 31 '22 16:07 mmahmoudian

Thanks for your feedback. I've updated the title and added "wayland" in description. Is there anything else you believe is missing?

The issue can be triggered either by 200% scale on a single/dual screen, or by just dual screen in general (even when both are on 100%). Here is the summary of my tests:

  • External screen only 27" 2560x1440 @ 100% - works fine
  • Laptop screen only 14" 3840x2400 @ 100% - works fine (this setup is not really usable in general)
  • Laptop screen only 14" 3840x2400 @ 200% - broken as per my report. The captured screen is shown on the quarter of the monitor
  • Both laptop and external monitor, both at 100% - broken as per original report. This time the captured screen is shown on the laptop monitor

haizaar avatar Aug 01 '22 01:08 haizaar

Same issue here, is any update on this?

mnixry avatar Aug 22 '22 11:08 mnixry

also encountering this issue, arch kde. scaling is at 150%, and 100% isn't practical on a laptop screen. image

this issue first started happening several weeks ago, before that, it was fine. it seems like something changed, but i'm not sure if it was here or in kwin.

ProfessorSniff avatar Aug 25 '22 20:08 ProfessorSniff

I have the exact same issue using Windows 10 since I updated to 12.1.0

Angeall avatar Sep 05 '22 06:09 Angeall

I believe I'm also seeing this issue on MacOS

MacOS 12.6 Flameshot v12.1.0 (96c2c82e) (I believe I also saw on v12.0) 2 displays - Primary 4K external monitor, secondary macbook pro screen

Full display screenshot (mac screenshot tool): Screen Shot 2022-09-20 at 11 00 12

Flameshot selection window: Screen Shot 2022-09-20 at 10 59 54

Flameshot result: 2022-09-20_11-00

hhsnow avatar Sep 20 '22 15:09 hhsnow

This is a duplicate of #564

borgmanJeremy avatar Oct 03 '22 17:10 borgmanJeremy

I'm not sure it's duplicate - it happens on 100% scaling as well when on dual monitor setup.

haizaar avatar Oct 04 '22 00:10 haizaar

I don't think this is duplicate. Actually flameshot is working, it just shrink all the visible screen sizes and make it hard to select capture area. And it also happens on 200% scaling, which is not fractional scaling. I suspect that this is more like misused of multiple screen API.

Avimitin avatar Jan 21 '23 01:01 Avimitin

I reopened this due to the last two comments.

@Avimitin would you please also provide your system info and installation method and Flameshot --version

mmahmoudian avatar Jan 22 '23 08:01 mmahmoudian

I am running flameshot on Arch Linux, with KDE + Wayland environment. The flameshot executable was installed via pacman, and here is the version information.

Flameshot v12.1.0 (-)
Compiled with Qt 5.15.5

Here is how it looks like when I run command flameshot gui:

IMG_20230122_172720

Also there are some extra logging when I run the flameshot gui command:

qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

My display settings:

image

Avimitin avatar Jan 22 '23 09:01 Avimitin

I'm also having a very similar problem, using Arch with KDE Wayland as well, both monitors are partly merged together and displayed on the primary display, scaling is 100% on both.

flameshot-bug

Display setup: image

Also getting qt.qpa.wayland: Wayland does not support QWindow::requestActivate() as well.

Chryseus avatar Jan 23 '23 11:01 Chryseus

Same issue on Arch with KDE Wayland, scaling set to 125%. Running Flameshot v12.1.0. Getting same qt.qpa.wayland: Wayland does not support QWindow::requestActivate() as others here. Problem did not occur for me on 100% scaling, only started appearing when I switched to 125%.

2023-03-14_22-42 2023-03-14_22-40 Screenshot_20230314_224020

ThatFruedDued avatar Mar 15 '23 02:03 ThatFruedDued

@ThatFruedDued

Problem did not occur for me on 100% scaling, only started appearing when I switched to 125%.

That is an issue with fractional scaling. Is 200% also problematic?

mmahmoudian avatar Mar 15 '23 06:03 mmahmoudian

That is an issue with fractional scaling. Is 200% also problematic?

Yes, 200% scaling has the same issue, where the image appears in the top-left corner. 100% works fine.

ThatFruedDued avatar Mar 15 '23 12:03 ThatFruedDued

im also facing the same issue on any scaling the capture window becomes tiny it doesnt happen in 100% scaling

shitan198u avatar Apr 01 '23 14:04 shitan198u

+1 I'm facing the same issue on MacOS 14.2.1, info from flameshot "About" menu:

Flameshot v12.1.0 (96c2c82e)
Compiled with Qt 5.15.5
darwin: 23.2.0
osx: 14.2

sung-kim avatar Feb 02 '24 19:02 sung-kim

This bug occurs with a laptop and the integrated screen at scale 125%. testing 100% fixes the issue but that is not viable for a tiny laptop screen

I am running debian 12 KDE

installed via "sudo nala install flameshot" The output of flameshot -v is: Flameshot v12.1.0 (Debian 12.1.0-2) Compiled with Qt 5.15.8

(screenshot taken with the flameshot bug)

I hope to see the bug fixed. I very much like this app flameshotbug

While writing this report i encountered a related bug: while attempting to take a screenshot of what it looks like I ended up with a vastly different result to what I saw in the preview In the following picture I took a screenshot of my entire screen. Note the visible github content is only about 25% in the preview IE the bug is that the preview is not displaying the capture accurately however when taking a full screenshot things are sized as expected flameshotbug2

if you want clarification or have questions please ask. I this is my first bug report

HEIlZMaker avatar Apr 04 '24 08:04 HEIlZMaker

This issue is still there and have not fixed.

tirtharajsinha avatar May 08 '24 06:05 tirtharajsinha

Same issue on macos remains

floshipper avatar May 13 '24 02:05 floshipper

Same issue still remains even on single screen with wayland on arch with KDE plasma 6 that too with a single screen (I only have my laptop)

SwapnilSoni1999 avatar May 27 '24 17:05 SwapnilSoni1999