flameshot icon indicating copy to clipboard operation
flameshot copied to clipboard

Preview zoomed out when taking screenshot

Open dausruddin opened this issue 1 year ago • 7 comments

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

  • ArchLinux

  • KDE Plasma 5.27.8

  • Wayland

  • image

dausruddin avatar Sep 21 '23 12:09 dausruddin

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.

mmahmoudian avatar Sep 21 '23 15:09 mmahmoudian

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"

dausruddin avatar Sep 22 '23 09:09 dausruddin

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.

sunnysab avatar Oct 15 '23 07:10 sunnysab

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

ihipop avatar Oct 19 '23 01:10 ihipop

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.

blaueente avatar Nov 04 '23 18:11 blaueente

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.

jdnixx avatar Jan 20 '24 19:01 jdnixx

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.

mikegleasonjr avatar May 29 '24 14:05 mikegleasonjr