#4749·flameshot

'Use last region for GUI mode' does not work correctly for display UI scaling

Author: chris47368Created Jun 18, 2026Updated Sep 12, 2026
LabelsUnconfirmed Bug

Flameshot Version

Flameshot v13.3.0 (88c951e) Compiled with Qt 6.9.3 linux: 6.8.0-124-generic org.kde.Platform: 6.9

Installation Type

Using the ready-made package from Github Releases

Operating System type and version

Linux Mint 22.3

Description

Hi developers,

Great application. However i have been noticing that the feature 'Use last region for GUI mode' has not been working correctly for my linux system. The first capture for the selected area works great but subsequent captures leaves the default area at the wrong location and size.

Now when i was diagnosing this issue I noted the initial capture dimensions, so say they were "300x300", when i would take the next screenshot the new dimensions displayed of the captured area would be "150x150". Now I teseted out whether it might be that i use 200% user interface display scaling on my system given that if i kept it at 100% everything is so small that i cannot see whats on my screen without straining my eyes a lot(where i know this up scaling has caused issues in other applications in the past, but turning it off is not very viable). When i Reverted to 100% up scaling this 'Use last region for GUI mode' worked exactly as i would have expected.

Now confirming up scaling is the problem: I can imagine two methods of how this could be fixed - either write in the code a way on detecting if the display is up scaled and adjust for that automatically(probably more difficult) or add an option into the settings where the saved dimensions,coordinates could be adjusted with fairly basic math based on a enabled user setting input.

I had similar issues with the flatpak version too.

An example of how the second option in settings could look is below:

Image

Steps to reproduce

  1. Set user interface scale to over 100% in linux mint 22.3(or presumably any other ubuntu based distro)
  2. Enable 'Use last region for GUI mode'
  3. Select area and take screenshot
  4. Take a further screenshot, the previously selected area size and location is wrong

Screenshots or screen recordings

Image

System Information

[code] System: Kernel: 6.8.0-124-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc Desktop: Cinnamon v: 6.6.7 tk: GTK v: 3.24.41 wm: Muffin v: 6.6.3 vt: 7 dm: 1: LightDM v: 1.30.0 2: SDDM note: stopped Distro: Linux Mint 22.3 Zena base: Ubuntu 24.04 noble Machine: Type: Laptop System: Framework product: Laptop 16 (AMD Ryzen 7040 Series) v: AG serial: Chassis: type: 10 v: AG serial: Mobo: Framework model: FRANMZCP07 v: A7 serial: part-nu: FRAGACCP0G uuid: UEFI: INSYDE v: 03.05 date: 11/13/2024 Battery: ID-1: BAT1 charge: 80.6 Wh (91.1%) condition: 88.5/85.1 Wh (104.0%) volts: 17.7 min: 15.5 model: NVT FRANDBA type: Li-ion serial: status: charging cycles: 65 CPU: Info: 8-core model: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics bits: 64 type: MT MCP smt: enabled arch: Zen 4 rev: 1 cache: L1: 512 KiB L2: 8 MiB L3: 16 MiB Speed (MHz): avg: 2640 high: 3209 min/max: 400/5137 cores: 1: 2262 2: 2300 3: 2209 4: 2323 5: 2315 6: 2430 7: 2368 8: 2398 9: 3209 10: 2398 11: 3009 12: 3102 13: 3181 14: 3185 15: 3160 16: 2396 bogomips: 121373 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Graphics: Device-1: AMD Phoenix1 vendor: Framework driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6, DP-7, DP-8, Writeback-1 bus-ID: c2:00.0 chip-ID: 1002:15bf class-ID: 0300 temp: 46.0 C Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1 Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.65x16.65") s-diag: 798mm (31.43") Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x0bc9 res: 2560x1600 hz: 165 dpi: 188 size: 345x215mm (13.58x8.46") diag: 407mm (16") modes: max: 2560x1600 min: 640x480 API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.2.8-0ubuntu0.24.04.2 glx-v: 1.4 direct-render: yes renderer: AMD Radeon 780M Graphics (radeonsi phoenix LLVM 20.1.2 DRM 3.57 6.8.0-124-generic) device-ID: 1002:15bf API: Vulkan v: 1.3.275 layers: 7 surfaces: xcb,xlib device: 0 type: integrated-gpu driver: N/A device-ID: 1002:15bf device: 1 type: cpu driver: N/A device-ID: 10005:0000 Audio: Device-1: AMD Rembrandt Radeon High Definition Audio vendor: Framework driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: c2:00.1 chip-ID: 1002:1640 class-ID: 0403 Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Framework driver: snd_pci_ps v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: c2:00.5 chip-ID: 1022:15e2 class-ID: 0480 Device-3: AMD Family 17h/19h HD Audio vendor: Framework driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: c2:00.6 chip-ID: 1022:15e3 class-ID: 0403 API: ALSA v: k6.8.0-124-generic status: kernel-api Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse) Network: Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 14c3:0616 class-ID: 0280 IF: wlp2s0 state: up mac: IF-ID-1: ztnfal64v7 state: unknown speed: 10000 Mbps duplex: full mac: Bluetooth: Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-5:6 chip-ID: 0e8d:e616 class-ID: e001 serial: Report: hciconfig ID: hci0 rfk-id: 0 state: up address: bt-v: 5.2 lmp-v: 11 sub-v: 2505 hci-v: 11 rev: 2310 class-ID: 7c010c Drives: Local Storage: total: 1.82 TiB used: 1.09 TiB (60.2%) ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN770 1TB size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: fw-rev: 731100WD temp: 42.9 C scheme: GPT ID-2: /dev/nvme1n1 vendor: Western Digital model: WD BLACK SN770M 1TB size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: fw-rev: 731100WD temp: 38.9 C scheme: GPT Partition: ID-1: / size: 912.73 GiB used: 655.48 GiB (71.8%) fs: ext4 dev: /dev/dm-1 mapped: vgmint-root ID-2: /boot size: 1.61 GiB used: 616.7 MiB (37.5%) fs: ext4 dev: /dev/nvme0n1p2 ID-3: /boot/efi size: 511 MiB used: 10.3 MiB (2.0%) fs: vfat dev: /dev/nvme0n1p1 Swap: ID-1: swap-1 type: partition size: 97.82 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme1n1p2 USB: Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 5 rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900 Hub-2: 1-2:2 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s lanes: 1 chip-ID: 05e3:0610 class-ID: 0900 Device-1: 1-2.1:9 info: YICHIP 2.4G Receiver type: keyboard,mouse driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 100mA chip-ID: 3151:1020 class-ID: 0301 serial: Hub-3: 1-3:3 info: Genesys Logic Hub ports: 3 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 100mA chip-ID: 05e3:0610 class-ID: 0900 Device-1: 1-3.2:5 info: Framework Laptop 16 Numpad Module type: keyboard,HID driver: hid-generic,usbhid interfaces: 4 rev: 2.1 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 32ac:0014 class-ID: 0300 serial: Hub-4: 1-4:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 100mA chip-ID: 05e3:0610 class-ID: 0900 Device-1: 1-4.1:7 info: Shenzhen Goodix Fingerprint USB Device type: driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 100mA chip-ID: 27c6:609c class-ID: ef00 serial: Device-2: 1-4.2:8 info: Framework Laptop 16 Keyboard Module - ISO type: keyboard,HID driver: hid-generic,usbhid interfaces: 4 rev: 2.1 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 32ac:0018 class-ID: 0300 serial: Device-3: 1-5:6 info: MediaTek Wireless_Device type: bluetooth driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s lanes: 1 power: 100mA chip-ID: 0e8d:e616 class-ID: e001 serial: Hub-5: 2-0:1 info: super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003 class-ID: 0900 Hub-6: 2-2:2 info: Genesys Logic USB3.2 Hub ports: 3 rev: 3.2 speed: 10 Gb/s lanes: 1 chip-ID: 05e3:0625 class-ID: 0900 Hub-7: 3-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900 Hub-8: 4-0:1 info: super-speed hub ports: 1 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003 class-ID: 0900 Hub-9: 5-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900 Hub-10: 6-0:1 info: super-speed hub ports: 1 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003 class-ID: 0900 Hub-11: 7-0:1 info: hi-speed hub with single TT ports: 1 rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900 Hub-12: 8-0:1 info: super-speed hub ports: 1 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003 class-ID: 0900 Sensors: System Temperatures: cpu: 52.0 C mobo: N/A Fan Speeds (rpm): N/A Repos: Packages: 4092 pm: dpkg pkgs: 4058 pm: flatpak pkgs: 34 No active apt repos in: /etc/apt/sources.list Active apt repos in: /etc/apt/sources.list.d/danielrichter2007-grub-customizer-noble.list 1: deb [signed-by=/etc/apt/keyrings/danielrichter2007-grub-customizer-noble.gpg] https: //ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu noble main Active apt repos in: /etc/apt/sources.list.d/deadsnakes-ppa-noble.list 1: deb [signed-by=/etc/apt/keyrings/deadsnakes-ppa-noble.gpg] https: //ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu noble main Active apt repos in: /etc/apt/sources.list.d/mullvad.list 1: deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=amd64] https: //repository.mullvad.net/deb/stable stable main Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 1: deb http: //packages.linuxmint.com zena main upstream import backport 2: deb http: //archive.ubuntu.com/ubuntu noble main restricted universe multiverse 3: deb http: //archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse 4: deb http: //archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse 5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse Active apt repos in: /etc/apt/sources.list.d/quentiumyt-nvtop-noble.list 1: deb [signed-by=/etc/apt/keyrings/quentiumyt-nvtop-noble.gpg] https: //ppa.launchpadcontent.net/quentiumyt/nvtop/ubuntu noble main Active apt repos in: /etc/apt/sources.list.d/zerotier.list 1: deb [signed-by=/usr/share/keyrings/zerotier-debian-package-key.gpg] http: //download.zerotier.com/debian/noble noble main Active apt repos in: /etc/apt/sources.list.d/extrepo_librewolf.sources 1: deb [arch=amd64 arm64] https: //repo.librewolf.net librewolf main Active apt repos in: /etc/apt/sources.list.d/megaio.sources 1: deb https: //mega.nz/linux/repo/xUbuntu_24.04/ ./ Active apt repos in: /etc/apt/sources.list.d/winehq-noble.sources 1: deb [arch=amd64 i386] https: //dl.winehq.org/wine-builds/ubuntu noble main Info: Memory: total: 64 GiB available: 60.63 GiB used: 23.32 GiB (38.5%) Processes: 463 Power: uptime: 5h 21m states: freeze,mem,disk suspend: s2idle wakeups: 1 hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical Compilers: gcc: 13.3.0 alt: 11/12 Client: Unknown python3.12 client inxi: 3.3.34 [/code]