flameshot-org / flameshot

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

flameshot gets freezed when I press save button #3645

Open Chaliuz opened 1 week ago

Chaliuz commented 1 week ago

Flameshot Version

I installed flameshot from Official Arch/Manjaro repository.

Flameshot v12.1.0 (-) Compiled with Qt 5.15.10

Installation Type

User repository (AUR)

Operating System type and version

manjaro i3

Description

A while ago I updated my manjaro and from there flameshot get freezed when I press the button "save", it takes a lot of time opening the popup window and sometimes it doesn't open at all.

Steps to reproduce

  1. run flameshot
  2. select an area
  3. press the save button

Screenshots or screen recordings

Peek 19-06-2024 22-18

System Information

System:

  Host: chalius-pc Kernel: 6.9.3-3-MANJARO arch: x86_64 bits: 64
  Desktop: i3 v: 4.23 Distro: Manjaro Linux
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
    driver: amdgpu v: kernel
  Device-2: Generalplus 808 Camera driver: snd-usb-audio,uvcvideo type: USB
  Display: x11 server: X.org v: 1.21.1.13 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu resolution:
    1: 1920x1080~60Hz 2: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: radeonsi,swrast platforms: x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.9-manjaro1.1
    renderer: AMD Radeon RX 5600 XT (radeonsi navi10 LLVM 17.0.6 DRM 3.57
    6.9.3-3-MANJARO)
mmahmoudian commented 1 week ago

Few points:

  1. Would you please provide the full version of Flameshot here (edit your post). In this current format this bug report is invalid
  2. how are you triggering Flameshot?
Acpear commented 1 week ago

Hey there! I've been wondering if you might be able to help me out with something. It's a bit strange, but I was wondering if you could try pressing the Ctrl + s (save) key to see if Flameshot will save the selected area? That way, we can get a better idea of where the problem might be coming from. Is it something with the buttons, or could it be something internal? Thanks so much in advance!

It sounds like you want flameshot to run normally (press "save," do "save") and fast ("it takes a lot of time opening"). The first one is a functional problem that might be solved after some debugging time and validated immediately. However, the second one is less clear and targetable, depending on many factors from system, Wayland, software, etc.

Chaliuz commented 3 days ago

Sorry for the delay.

mmahmoudian commented 3 days ago

@Chaliuz

I edited the message and put the result of: "flameshot --version" command, this is correct?

If you install Flameshot through AUR, then the flameshot --version should give you the commit hash in the parenthesis:

image

If you install from official Arch/Manjaro repository, then the parenthesis will be empty

Please update the original post accordingly

Calling flameshot in a terminal (using: flameshot gui)

The Gif you provided in the original post and the one in your last post does not fit flameshot gui because you are activating pin as well. Would you please confirm that running only /usr/bin/flameshot gui without any other argument would give you the same CPU usage, same freezing, and also same pinned screenshot.

Chaliuz commented 1 day ago

Hello, thanks for answering.

Peek 27-06-2024 20-30