Open j-tai opened 2 years ago
Weird, I can't reproduce this anymore...
Do you use tiling of the PopOS DE?
Yes. Though I never experienced this issue with v0.10.
Then you are experiencing a known issue. It has been reported few times already, one of which is:
https://github.com/flameshot-org/flameshot/issues/2031#issuecomment-1013311033
I think someone even opened an issue in PopOS repo. I should search in the issues to find it though.
Actually, yeah I had that issue a few days ago! But I've already updated Pop Shell which fixed that.
This seems to be different since it is fixed after clicking anywhere, and it only happens sometimes.
Okay, I'm able to reproduce this again. Flameshot doesn't respond to any keypresses, and instead those keypresses go to the previously focused window. Weirdly, it doesn't display the "Flameshot has lost focus" message when this happens. Update: it does display it when I disconnect my 2nd monitor.
And just when I've finished writing this, I can't reproduce anymore. :confused:
Okay, these steps seem to reproduce the bug reliably. Please let me know if these work for you.
flatpak run org.flameshot.Flameshot gui
flatpak run org.flameshot.Flameshot gui
againMake sure you do not click on Flameshot in the system tray (even if you don't select anything in the dropdown)... that stops the bug from happening. Edit: this might be incorrect.
Update: it does display it when I disconnect my 2nd monitor.
It is known that Flameshot does not detect the newly attached or detached monitor. so every time you modify your monitors, killing and starting Flameshot daemon is necessary.
6.Run flatpak run org.flameshot.Flameshot gui again 7.Press Esc to try to exit → Nothing happens
before step 6 can you check if Flameshot is already running?
Yes, it is running at that point.
@j-tai
How about this sequence:
pkill flameshot
and make sure it is not running flatpak run org.flameshot.Flameshot gui
flatpak run org.flameshot.Flameshot gui
againI suspect that you have the daemon running and that is somehow glitching
These steps do reproduce the issue. In step 6, flameshot running is in the system tray.
The same behaviour aplies to Windows flameshot installation. Flameshot v12.1.0 (96c2c82e) Compiled with Qt 5.15.2 winnt: 10.0.22631 windows: 10
After hitting mapped key "print screen" the flameshot goes on and is workable. But hitting Esc to close it, works only after the first interaction with the mouse is made. (I assume it focuses the flameshot window after that) On situation of accidential key hitting its cumbersome to execute redundant mouse action to continue working.
UPDATE: Some more testing today, and I find out that Esc is not working only on the first start of screen capturing. Afterwards, on subsequent tries, Esc worked like expected.
Flameshot Version
Flameshot v11.0.0 () Compiled with Qt 5.15.3 linux: 5.15.11-76051511-generic org.kde.Platform: 5.15
Installation Type
Flatpak from Flathub
Operating System type and version
Pop!_OS 21.10
Description
When taking a screenshot with the
flameshot gui
command, Flameshot is not automatically focused. Thus, it does not respond to keypresses until you click with the mouse.Steps to reproduce
flameshot gui
Screenshots or screen recordings
No response
System Information
Pop!_OS 21.10
1080p + 1440p
GNOME 40 on Xorg