flameshot icon indicating copy to clipboard operation
flameshot copied to clipboard

Windows disappearing when pressing PrtScr - occurs randomly and change language to english

Open 666xan666 opened this issue 11 months ago • 1 comments

Flameshot Version

Flameshot v12.1.0 (Debian 12.1.0-2build2) Compiled with Qt 5.15.12

Installation Type

Using the ready-made package from Github Releases

Operating System type and version

Linux Mint xia 22.1 x86_64

Description

Hello Gents, First of all thank you for creating Flameshot :) I love it but I got some ideas to report ;) however: There is some kind of a bug when trying to take a screenshot with keyboard shortcut. First of all I got "flameshot gui" assigned to PS key. When I press PrtScr Flameshot:

  • flameshot launch in English! Why it is so when it is workjing with my native [PL] language normally?
  • indeed is opening and I got selection tool but sometimes randomly flameshot hide all open windows and show me desktop instead. Pressing ESC and PrtScr again opens Flameshot again but this time everything is correct. I am using 2 monitors BTW.

Those bugs are pretty annoying. Could you please fix it? Thank you in advance.

Steps to reproduce

  1. Run 'flameshot gui'
  2. Check if language was changed from default system settings to English
  3. See if the windows are gone or stay in place
  4. When this issue occurs - you will see desktop to select from screenshot.

Screenshots or screen recordings

No response

System Information

flameshot --version Flameshot v12.1.0 (Debian 12.1.0-2build2) Compiled with Qt 5.15.12

inxi --width 80 --system --graphics System: Host: decepticon Kernel: 6.8.0-1020-nvidia-lowlatency arch: x86_64 bits: 64 Desktop: Cinnamon v: 6.4.6 Distro: Linux Mint 22.1 Xia Graphics: Device-1: NVIDIA AD106 [GeForce RTX 4060 Ti 16GB] driver: nvidia v: 550.120 Device-2: Creative Live! Cam Sync 1080p driver: snd-usb-audio,uvcvideo type: USB Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia,nvidia-nvswitch resolution: 1: 3440x1440 2: 3440x1440 API: EGL v: 1.5 drivers: nvidia,swrast platforms: gbm,x11,surfaceless,device API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.120 renderer: NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2

loginctl show-session $(loginctl show-user $(whoami) -p Display --value) -p Type --value x11

Monitors: 2 0: +*DP-2 3440/797x1440/334+0+0 DP-2 1: +DP-4 3440/797x1440/334+3440+0 DP-4

lspci | grep -i 'vga|3d|2d' 02:00.0 VGA compatible controller: NVIDIA Corporation AD106 [GeForce RTX 4060 Ti 16GB] (rev a1)

666xan666 avatar Jan 26 '25 15:01 666xan666

I can vouch for the disappearing windows. I'm also on Mint with 2 monitors and flameshot gui assigned to Print Screen, and with Firefox as the active window it sometimes feels like a coin flip for whether it will be visible when the capture UI pops up. Don't know whether a video affects it, but that's usually what I'm trying to capture.

The failure rate is either 0 or close to 0 when clicking the tray icon instead of using a button mapping.

Flameshot v13.1.0 ()
Compiled with Qt 6.4.2

System:
  Host: woodgrain Kernel: 6.8.0-83-generic arch: x86_64 bits: 64
  Desktop: Cinnamon v: 6.4.8 Distro: Linux Mint 22.2 Zara
Graphics:
  Device-1: NVIDIA AD103 [GeForce RTX 4070 Ti SUPER] driver: nvidia
    v: 580.65.06
  Device-2: AMD Raphael driver: amdgpu v: kernel
  Device-3: Logitech Webcam C310 driver: snd-usb-audio,uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: amdgpu,nvidia unloaded: fbdev,modesetting,nouveau,vesa dri: radeonsi
    gpu: nv_platform,nvidia,nvidia-nvswitch resolution: 1: 2560x1440~60Hz
    2: 2560x1440~60Hz
  API: EGL v: 1.5 drivers: nouveau,nvidia,radeonsi,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.65.06
    renderer: NVIDIA GeForce RTX 4070 Ti SUPER/PCIe/SSE2

Display server protocol:
x11

Monitors: 2
 0: +*DP-4 2560/597x1440/336+2560+0  DP-4
 1: +DP-2 2560/597x1440/336+0+0  DP-2

01:00.0 VGA compatible controller: NVIDIA Corporation AD103 [GeForce RTX 4070 Ti SUPER] (rev a1)
0d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev cb)

CooperMidnight avatar Sep 23 '25 21:09 CooperMidnight

Also having this on Mint Cinnamon. It's a complete gamble as to if, when I press print screen, the thing I need will show up or if it will just go to my desktop wallpaper with all the windows gone. It's especially frustrating if I'm trying to capture something that's only temporarily onscreen, like a part of a livestream or game. Very, very frustrating. :(

spindleclown avatar Dec 14 '25 16:12 spindleclown