Commit Graph

2349 Commits

Author SHA1 Message Date
Jeremy Borgman 952fdf985a Fix issue in winows cli 2026-08-17 16:06:08 -05:00
Artjom Vejsel 344aa78e81 packaging: link against the system KDSingleApplication (#4879)
The bundled build installs the library's development files along with
flameshot, so the package ships /usr/include/kdsingleapplication-qt6 and
/usr/lib/libkdsingleapplication-qt6.a. On a system that already has the
kdsingleapplication package, pacman refuses the install:

    flameshot-git: /usr/include/kdsingleapplication-qt6/kdsingleapplication.h
    exists in filesystem (owned by kdsingleapplication)

The library is linked statically, so those files serve no purpose in the
package. Build against the system copy instead and declare the
dependency; Arch ships the same 1.2.1 the bundled build fetches.
2026-08-16 21:18:13 +03:00
Weblate (bot) 369f9ed93f Translations update from Hosted Weblate (#4870)
* Translated using Weblate (Japanese)

Currently translated at 100.0% (472 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ja/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (472 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ja/

---------

Co-authored-by: Rukoto Luther <rukotolucies@hotmail.com>
Co-authored-by: coolvitto <coolzdaddy55@gmail.com>
2026-08-12 23:43:18 +03:00
Weblate (bot) 57c9ef4e72 Translated using Weblate (Japanese) (#4864)
Currently translated at 100.0% (472 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ja/

Co-authored-by: coolvitto <coolzdaddy55@gmail.com>
2026-08-09 13:43:51 -05:00
Weblate (bot) 52260408e3 Translated using Weblate (Basque) (#4863)
Currently translated at 91.5% (432 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/eu/

Co-authored-by: Alexander Gabilondo <alexgabi@openmailbox.org>
2026-08-07 14:56:56 +03:00
renathossain 60b02c6de1 Fix monitor selector stuck after closing via window manager (#4839)
Handle QEvent::Close in the event filter so that closing the
monitor selector window (e.g. via i3 kill) properly quits
the blocking event loop and resets the selection state,
preventing the 'Screenshot already in progress' error on
subsequent screenshot attempts.
2026-08-04 15:17:12 -05:00
borgmanJeremy 8d85e75e58 Merge pull request #4857 from weblate/weblate-flameshot-flameshot 2026-08-02 14:54:54 -05:00
coolvitto 9bc1ee8cfd Translated using Weblate (Japanese)
Currently translated at 76.4% (361 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ja/
2026-08-02 18:20:35 +00:00
Jake McArthur 3335bd94b3 Fall back to native X11 capture when the portal is unavailable (#4827)
On X11 window managers without a Screenshot portal backend (i3, XMonad,
Xfce, openbox), v14 cannot take a screenshot until the user finds the
Legacy X11 option in the settings. v13 handled these systems out of the
box. When the portal reports that it cannot take the capture at all,
take the native X11 grab instead and log an info line (terminal and log
file only) so reports show which path took the capture.

Cancelled portal dialogs and genuine timeouts do not trigger the
fallback, and systems with a working portal never reach it.
2026-08-01 16:23:56 -05:00
Jake McArthur cbab9b4177 Fail fast when the screenshot portal cannot take the capture (#4826)
Since v14 every capture on Linux goes through the
org.freedesktop.portal.Screenshot D-Bus portal, but flameshot discarded
the reply of the Screenshot call. When no portal backend provides that
interface, the call fails within milliseconds. Flameshot then waited
for a Response signal that could never arrive and reported a misleading
"portal timed out" error, while taking no screenshot at all.

Check the reply of the Screenshot call and fail at once with the real
D-Bus error. The failure now shows up immediately and names the actual
problem, on both Wayland and X11. This does not change which systems
can take screenshots.

Helps diagnose the reports in #4639.
2026-07-31 18:01:02 -05:00
El Thoro f55a3bdf10 Fix aspect ratio in selection widget when pressing CTRL (#4651)
* Fix aspect ratio in selection widget when pressing CTRL

* Check for height > 0
2026-07-31 17:49:55 -05:00
Jialu 3537c715cc fix: replace PCRE2 {,1} with ? for broader compatibility (#4792) 2026-07-31 17:48:59 -05:00
Mehrad Mahmoudian 68dcae556c Clarify config option (#4807)
* improve config text

The "Capture active monitor" is exclusive to X11 (as the tooltop also
indicates), so here I add minimum possible number of words to clarify that.

* improve config text

This is continuation/improvement of #4760 to correct the config text and add Windows

---------

Co-authored-by: borgmanJeremy <46930769+borgmanJeremy@users.noreply.github.com>
2026-07-29 19:43:12 -05:00
Mykyta Serebriakov b70429a153 Fix screen capture ignoring GUI last-region setting (#4789)
* Fix screen capture ignoring GUI last-region setting

* Fix clang-format for empty constructor

* Restore saved region for GUI captures

---------

Co-authored-by: serebryakov02 <nik04ta01@gmail.com>
2026-07-29 16:51:38 -05:00
Mykyta Serebriakov 25b977a4f7 Commit text on Esc in text tool (#4804)
Co-authored-by: serebryakov02 <nik04ta01@gmail.com>
2026-07-29 16:36:23 -05:00
Weblate (bot) ab84c7f7d6 Translated using Weblate (Ukrainian) (#4853)
Currently translated at 92.5% (437 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/uk/

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
2026-07-29 16:33:39 -05:00
Mykyta Serebriakov 6db42ea61f Add keyboard controls to monitor selector (#4811)
Co-authored-by: serebryakov02 <nik04ta01@gmail.com>
2026-07-29 16:33:23 -05:00
Weblate (bot) 84c6c005c9 Translated using Weblate (Thai) (#4846)
Currently translated at 93.0% (439 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/th/

Co-authored-by: Anucha Hlownonkor <anucha.initdz@gmail.com>
2026-07-27 22:17:47 +03:00
Weblate (bot) 8b77c278b4 Translated using Weblate (Turkish) (#4842)
Currently translated at 100.0% (472 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/tr/

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
2026-07-24 23:57:06 +03:00
Weblate (bot) 7f2961585c Translated using Weblate (Arabic (Najdi)) (#4832)
Currently translated at 15.0% (71 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ars/

Co-authored-by: MDS <966x@proton.me>
2026-07-20 22:03:12 +03:00
Weblate (bot) bd2e6d3a0e Translated using Weblate (Bulgarian) (#4816)
Currently translated at 100.0% (472 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/bg/

Co-authored-by: 109247019824 <109247019824@users.noreply.hosted.weblate.org>
2026-07-11 23:09:19 +03:00
Weblate (bot) f196cce6b3 Translated using Weblate (Bulgarian) (#4813)
Currently translated at 93.0% (439 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/bg/

Co-authored-by: 109247019824 <109247019824@users.noreply.hosted.weblate.org>
2026-07-10 09:29:33 +03:00
Weblate (bot) 7db0991387 Translated using Weblate (Russian) (#4806)
Currently translated at 100.0% (472 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ru/

Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
2026-07-07 09:38:00 +03:00
Weblate (bot) 62cd61ca79 Translated using Weblate (Russian) (#4802)
Currently translated at 100.0% (472 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/ru/

Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
2026-07-06 08:47:44 +03:00
Weblate (bot) d183332104 Translations update from Hosted Weblate (#4801)
* Added translation using Weblate (Arabic (Najdi))

* Translated using Weblate (Estonian)

Currently translated at 79.0% (373 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/et/

---------

Co-authored-by: borgman.jeremy <borgman.jeremy@pm.me>
Co-authored-by: Priit Jõerüüt <jrthwlate@users.noreply.hosted.weblate.org>
2026-07-05 15:13:24 -05:00
El Thoro 4ffe94aa3f Update KDSingleApplication to v1.2.1 (#4661) 2026-07-05 14:58:05 -05:00
Mehrad Mahmoudian 4b69229cf4 improve config text (#4760)
The "Capture active monitor" is exclusive to X11 (as the tooltop also
indicates), so here I add minimum possible number of words to clarify that.
2026-07-05 14:52:57 -05:00
LSMISN cb600c80da docs: add usage guide for minimal X11 window managers (#4772)
* docs: add usage guide for minimal X11 window managers

Since v14, screen capture goes through xdg-desktop-portal, including on X11. On minimal X11 window managers (i3, dwm, xmonad, bspwm, ...) the available portal backend often does not implement the Screenshot interface, so capture fails with "Could not locate ... portal.Desktop service" or "Screenshot portal timed out".

Add docs/UsageX11MinimalWM.md describing the symptoms and the fix (enabling the legacy X11 capture via the GUI option or useX11LegacyScreenshot in flameshot.ini), and link the new page from the README.

* docs: update error messages and checkbox label per #4778

PR #4778 merged: timeout message changed to a multi-line message mentioning the Legacy X11 method, and the deprecated qualifier was removed from the checkbox label.
2026-07-05 14:52:40 -05:00
borgmanJeremy 75bdcd4870 fixes SFINEA build warning (#4797) 2026-07-05 14:52:03 -05:00
Maxim Inozemtsev b7773808c5 Increment/decrement circle counter on mouse wheel (#4698)
* Increment/decrement circle counter on mouse wheel

* Cap circle counter tool to 999

---------

Co-authored-by: Maxim Inozemtsev <minozemtsev@ics.com>
2026-07-04 08:52:34 -05:00
Mykyta Serebriakov cb607c1559 Add arrow style selector (#4769)
* Add arrow style selector

* Fix curved arrow artifact at large thickness

---------

Co-authored-by: serebryakov02 <nik04ta01@gmail.com>
2026-07-04 08:44:08 -05:00
Hackintosh HD b92a578311 Update MacOS-pack.yml (#4795)
Troubleshooting the currently flawed macOS packaging for x64 (Intel)
2026-07-04 08:43:35 -05:00
Mehrad Mahmoudian 67dd77276a update the flatpak yaml file to be on-par with flathub repo (#4764)
* update the flatpak yaml file to be on-par with flathub repo

* fix the flatpak yaml file

I forgot to comment out the tag and comment in previous commit.

* add the branch back for flameshot repo
2026-07-04 08:23:54 -05:00
Ahmed a43c6de0d3 ci: update linux distro build matrix (#4777)
* ci: update linux distro build matrix

- add debian 13 amd64/arm64/armhf, drop debian 12
- add fedora 43/44 amd64
- add ubuntu 26.04 amd64/arm64, drop ubuntu 22.04
- add opensuse leap 16.0 amd64

* ci: remove opensuse-leap-16.0

- because there is no official `qt6-svg` package available for openSUSE Leap 16.0, https://software.opensuse.org/package/qt6-svg

* ci: correct qt6-qtsvg package name in fedora
2026-07-04 08:22:24 -05:00
borgmanJeremy 9e791aa528 Remove deprecated msg and added error message (#4778) 2026-07-03 09:33:08 -05:00
IndolikarQuantifier 6a635d2d5d Let the GUI colors be choosen via hex values (#4738)
* gui uses choosen color from hex values

* added the label for hex color edit box

* regex updated to accept only RGB values

* fix : updating color in hex input box

* clang-format changes
2026-06-25 20:21:51 -05:00
Mehrad Mahmoudian b72649d2e9 remove the legacy argument parsing for region argument (#4761)
This was brought to our attention by @geeknik via security advisory report
GHSA-rmr8-cfxx-3757 with adjusted severity of 0.0/10:
`CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N`

giving any value starting with `screen` or `all` cause segfault. Considering
that we have `full` and `screen` subcommands, I believe this part of the code is
no longer needed and can be removed.

Thank you @geeknik for bringing this to our attention.
2026-06-25 20:21:18 -05:00
Mehrad Mahmoudian 550d4fae96 add SECURITY.md (#4726)
* add SECURITY.md

* update Github Actions to ignore markdown file chanegs

* fix grammar
2026-06-19 15:32:06 -05:00
rs-pro0 09a954616c Fix capture when logical min/max coordinates are not zero (#4735) 2026-06-19 15:30:51 -05:00
Pol Rivero 18accdcc9a Simplify Hyprland example (#4741)
We can use hl.exec_cmd directly instead of dispatch
2026-06-17 09:29:55 +03:00
Pol Rivero c47870ac95 Document hyprland usage (#4734)
* Add documentation for usage in Hyprland

* Add missing links to Readme index

* Rename "Sway and wlroots support.md", move Hyprland usage instructions
2026-06-14 15:17:45 +03:00
Mehrad Mahmoudian e79773b989 update donation info in docs/CONTRIBUTING.md (#4728)
Fixes #4727
2026-06-12 09:27:34 +03:00
borgmanJeremy e408812d77 Moving to Qt cmd parser (#4722) v14.0.0 2026-06-10 18:00:40 -05:00
borgmanJeremy b94ca56d69 Move to macos 26 to try to fix intel build (#4723) 2026-06-10 18:00:05 -05:00
borgmanJeremy da6121bdd6 bump packages for v14 release (#4717) 2026-06-08 19:57:34 -05:00
borgmanJeremy 28b2e8c1d7 force building on 2022 for v14 release to workaround forced github CI migration (#4718) 2026-06-08 19:45:16 -05:00
borgmanJeremy 936716b8d8 Adjusting how open with handles temporary files (#4716) 2026-06-08 18:53:53 -05:00
borgmanJeremy f3e81d2608 prep for v14 beta 3 (#4705) v14.0.rc3 2026-05-28 19:55:23 -05:00
El Thoro 8b039730b5 Replace ifdef LINUX with UNIX to include BSD systems (#4700)
* Replace ifdef LINUX with UNIX to include BSD systems

* Replace  missed ifdef LINUX
2026-05-28 16:50:03 -05:00
borgmanJeremy 090033fe99 respect system proxy settings (#4674) 2026-05-27 18:05:00 -05:00