flameshot-org / flameshot

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

Flameshot change windows resolution ratio when do screenshot if connect two monitors with different resolutions #3689

Open zw963 opened 3 months ago

zw963 commented 3 months ago

Flameshot Version

╰─ $ 130 flameshot --version Flameshot v12.1.0 (f2884330) Compiled with Qt 5.15.13

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)

Operating System type and version

Arch linux.

Description

Following is detailed description:

i have two monitor connect. 27#(1080p) and 32#(4K), as following screenshot.

image

Both of them use scale 100%. as following screenshot.

image

image

I only setting the font scaling factor to 2.00 in the GNOME tweak tools, as following screenshot.

image

When i do screenshot use flameshot, same issue happen as #3444 , the resolution ratio change to 27# when screenshoting.


If unpluged the 27# monitor, the screen show correct when do screenshot, but, if select `pin image on the desktop', the pin image resolution is scaled as following screenshot.

image

Steps to reproduce

No response

Screenshots or screen recordings

No response

System Information

Arch With GNOME 46 use Wayland

 ╰─ $ pacman -Q |grep gnome
gnome-autoar 0.4.4-1
gnome-backgrounds 46.0-1
gnome-bluetooth-3.0 46.0-1
gnome-browser-connector-git 421.r665.1ed2008-1
gnome-calculator 46.1-1
gnome-calendar 46.1-2
gnome-characters 46.0-2
gnome-clocks 46.0-1
gnome-color-manager 3.36.0+r62+g82000f1d-1
gnome-connections 46.0-3
gnome-contacts 46.0-1
gnome-control-center 46.3-1
gnome-desktop 1:44.0-1
gnome-desktop-4 1:44.0-1
gnome-desktop-common 1:44.0-1
gnome-disk-utility 46.0-1
gnome-extensions-cli 0.10.2-1
gnome-font-viewer 46.0-2
gnome-keybindings 46.3-1
gnome-keyring 1:46.2-1
gnome-logs 45.0-1
gnome-maps 46.11-1
gnome-menus 3.36.0-3
gnome-music 1:46.1-1
gnome-online-accounts 3.50.3-1
gnome-remote-desktop 46.3-1
gnome-session 46.0-2
gnome-settings-daemon 46.0-2
gnome-shell 1:46.3.1-1
gnome-shell-extension-appindicator 1:58-1
gnome-shell-extension-kimpanel-git 20220302-17
gnome-shell-extensions 46.2-1
gnome-software 46.3-1
gnome-system-monitor 46.0-2
gnome-text-editor 46.3-2
gnome-tour 46.0-1
gnome-tweaks 46.1-1
gnome-usage 46.0-1
gnome-user-docs 46.1-1
gnome-user-share 43.0-2
gnome-weather 46.0-1
xdg-desktop-portal-gnome 46.2-2
 ╰─ $ 1  pacman -Q |grep mutter
mutter 46.3.1-1

BTW: GNOME official screenshot app (when press PrtSc key) work well, thanks.


EDIT:

There is another issue happen too, i have to take photos use my phone.

Opened a web page on my 32#(4k) monitor, with full screen, like following: (27#(1080P) monitor is on the left)

image

When i do screenshot, i get screenshot like following in the 32#(4k) monitor.

image

as you can see, only half of the webpage remains on the left, and a white blank panel on the right side.

Following is the picture in the left 27#(1080P) monitor.

image

as you can see, the left part of the original web page is appear in the left 27#(1080P) monitor.

nocode99 commented 3 months ago

I didn't have this issue in Ubuntu 22 but I have this issue in MacOS. When I switch between dock/undock, I get the issue like in your phone pictures. I have to force-quit flameshot and re-open it and it resolves.

CeeBeeEh commented 2 months ago

This exact thing with the offset screenshot is happening to me since upgrading to Plasma 6 with Wayland. I'm on EndeavourOS (Arch based). Nothing I do fixes it.

My screen layouts:

19" 1080p | 43" 4K (primary) | 19" 1080p vertical

When I initiate a screenshot, it will show the left 19" content and half of the 43" content on the middle 4k monitor only (the bottom left square on the screenshot selection is just grey). The right half of the 43" content is missing and the entire 19" vertical monitor is missing.

As of right now, I can only take a screenshot of the left half of the entire display. Killing the flameshot process and starting it again makes no difference. This has only been an issue since upgrading to Plasma 6 (Wayland). I was on Plasma 5 (x11) and upgraded to Plasma 6 (Wayland).

Examples:

Desktop layout Desktop layout

Screenshot layout/selection Screenshot layout/selection

apoisonedgift commented 1 month ago

Just wanted to chime in - exact same issue on Arch with Plasma 6 (Wayland)