flameshot-org / flameshot

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

Why we have --delay 500 in .desktop file? #3283

Open JustZhenya opened 1 year ago

JustZhenya commented 1 year ago

Feature Description

Just switched from custom hotkey to flameshot provided one from .desktop file. Turns out there is a huge delay between hotkey press and gui appearance.

I checked everything and found this: https://github.com/flameshot-org/flameshot/blob/a447b3d672ef92acb98be996d58540e36db84e35/data/desktopEntry/package/org.flameshot.Flameshot.desktop#L84

I see it was made intentionally, but why? Do we really need extra input lag? Can you remove it?

Kubuntu 23.04, Plasma 5.27.4, X11, Flameshot 12.1.0-2

dryya commented 1 year ago

Looking at the git blame, it was to address this issue: https://github.com/flameshot-org/flameshot/issues/166