flameshot-org / flameshot

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

Preview zoomed out when taking screenshot #3345

Open dausruddin opened 10 months ago

dausruddin commented 10 months ago

Flameshot Version

Flameshot v12.1.0 (-) Compiled with Qt 5.15.10

Installation Type

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

Operating System type and version

ArchLinux

Description

When I am trying to capture a screenshot, the preview is zoomed out.

Steps to reproduce

  1. Add Flameshot in Shortcut
  2. Set shortcut
  3. Press shortcut button
  4. This happen.

Screenshots or screen recordings

Had to take with my phone as this doesn't show up in the screenshot taken

image

System Information

mmahmoudian commented 10 months ago

Thanks for reporting but it has been reported numerous times before, for instance #227. This is because of Wayland and fractional scaling (that 125% you have there)

We already have a section in our documentation for this:

https://flameshot.org/docs/guide/wayland-help/#4k-displayed-and-fractional-scaling

Try changing the numbers to get it right for your screen.

dausruddin commented 10 months ago

I thought mine was the same issue, but seeing screenshots from another issues, they are using multiple display, While my laptop is using 1 display.

I might missed screenshots or replies describing the same as mine, but the the solution doesn't work with my laptop at all. The issue still happening even with export QT_SCREEN_SCALE_FACTORS="1;1"

sunnysab commented 9 months ago

The problem is still as I following the instruction and run

export QT_SCREEN_SCALE_FACTORS="1;1"
flameshot gui

Archlinux 6.5.6-zen, wayland 1.22.0-1, flameshot 12.1.0-3.

ihipop commented 9 months ago

The problem is still as I following the instruction and run

export QT_SCREEN_SCALE_FACTORS="1;1"
flameshot gui

Archlinux 6.5.6-zen, wayland 1.22.0-1, flameshot 12.1.0-3.

I can confirm this doesn't working, either @mmahmoudian mmahmoudian

blaueente commented 8 months ago

I also have this problem. Changing the "QT_SCREEN_SCALE_FACTORS" does change the location of the pink flameshot instruction window, but does not change anything about the zoomed out preview. The screenshot is, however, saved with the correct dimensions regardless.

jdnixx commented 6 months ago

I also have this problem. Changing the "QT_SCREEN_SCALE_FACTORS" does change the location of the pink flameshot instruction window, but does not change anything about the zoomed out preview. The screenshot is, however, saved with the correct dimensions regardless.

I have exactly this happen as well. Kubuntu 23.10. Tried a bunch of different numbers for QT_SCREEN_SCALE_FACTORS (and also QT_AUTO_SCREEN_SCALE_FACTOR just for giggles) and nothing changes the preview size, only the size of the pink flameshot overlay.

mikegleasonjr commented 2 months ago

Same here with Ubuntu 24.04 Wayland with 150% fractional scaling. The UI changes when playing with the environment variables, but the zoomed-in screen still remains.