Commit Graph

2309 Commits

Author SHA1 Message Date
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
theofficialgman 48e45bfa7a Unify Linux ARM CI into Linux CI (also drop QEMU) (#4702) 2026-05-27 16:33:37 -05:00
borgmanJeremy 1ee047f1d9 prep for v14 beta 2 (#4692) v14.0.rc2 2026-05-20 20:06:14 -05:00
El Thoro 95032bd2b7 Fix for #3177 (#4680) 2026-05-12 16:47:05 -05:00
Алексей 410cfae9e2 screengrabber: pass non-empty parent_window to xdg-desktop-portal (#4664)
* screengrabber: pass non-empty parent_window to xdg-desktop-portal

xdg-desktop-portal-gnome on GNOME 46 rejects requests where the
parent_window argument is an empty string with the error
"Failed to associate portal window with parent window ''",
which made daemon-mode (tray icon, DBus captureScreen) capture
fail for all GNOME Wayland users.

Allocate an offscreen QWidget (Qt::WA_DontShowOnScreen) so a
winId is generated, and pass "x11:<hex>" on X11 sessions or
"wayland:" on Wayland. Both are accepted by xdg-desktop-portal
as valid no-real-parent handles, while remaining non-empty as
the portal spec requires.

Tested on: Ubuntu 24.04, GNOME 46 Wayland, NVIDIA proprietary
590.48.01, Qt 6.4.2, xdg-desktop-portal-gnome 46.2.

Fixes daemon-mode capture on GNOME 46 Wayland.

* clang format

---------

Co-authored-by: Jeremy Borgman <borgman.jeremy@pm.me>
2026-05-07 07:45:20 -05:00
borgmanJeremy 46e4a7daf5 Revert "Revert "Uniformize both spec files + ninja build openSUSE (#4658)" (#…" (#4676)
This reverts commit 0025da305a.
2026-05-07 07:38:49 -05:00
borgmanJeremy 0025da305a Revert "Uniformize both spec files + ninja build openSUSE (#4658)" (#4675)
This reverts commit 1534a895e7.
2026-05-07 07:08:29 -05:00
Quentium 1534a895e7 Uniformize both spec files + ninja build openSUSE (#4658)
* Uniformize both spec files + ninja build openSUSE

* Match same license everywhere
2026-05-03 06:36:10 -05:00
borgmanJeremy c549f7bd6c fix issue with screen selection in non interactive mode (#4667) 2026-05-03 06:33:59 -05:00
El Thoro a6694bf45a Updata GH actions (old action versions are using Node.js 20 which will be decrecated June 2026) (#4660) 2026-04-25 10:27:18 +03:00
Vladimir Mitnitsky e497f478dc fix(macos): make fullscreen capture overlay configurable (#4622)
macOS showFullScreen() triggers a native fullscreen space transition
animation when capturing. Replace with show() using FramelessWindowHint,
WindowStaysOnTopHint, and Qt::Tool flags to avoid the animation.

Add a 'useNativeFullscreen' config option (default: off) so users who
prefer the native fullscreen behavior can re-enable it from
Settings > General.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-23 20:33:54 -05:00
Weblate (bot) caf17033f9 Translations update from Hosted Weblate (#4642)
* Translated using Weblate (Estonian)

Currently translated at 72.2% (341 of 472 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (472 of 472 strings)

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

* 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: Priit Jõerüüt <jrthwlate@users.noreply.hosted.weblate.org>
Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
2026-04-16 09:50:56 +03:00
El Thoro 55c04e8b03 Option to disable tray icon on Windows (#4634) 2026-04-13 07:39:25 -05:00
Vladimir Mitnitsky f5008851c8 feature(macos): show dock icon when any app window is open (#4628)
On macOS with LSUIElement=true, Flameshot runs as an agent app (no dock
icon). This adds a dock icon that appears while any user-facing window
(Settings, About, Launcher, Upload History) is visible and disappears
when the last one is closed or hidden.

Uses QWindow::visibilityChanged signal with a per-window dynamic property
to track visibility state and a reference counter for the activation
policy toggle.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: borgmanJeremy <46930769+borgmanJeremy@users.noreply.github.com>
2026-04-13 07:36:48 -05:00
Vladimir Mitnitsky 016b9197e8 fix(macos): fix clipboard copy failing from tray and GUI (#4629)
The clipboard copy from tray menu and capture GUI was broken on macOS:

1. FlameshotDaemon::copyToClipboard() created a KDSingleApplication
   instance and called isPrimaryInstance(), which always returned false
   (the daemon already holds the socket). This caused a 3-second IPC
   timeout before falling back. Fix: use instance() to check if the
   daemon singleton exists in-process, matching non-macOS behavior.

2. saveToClipboardMime() used setData("image/...") which puts a lazy
   reference on the macOS pasteboard. If the app exits before paste,
   data is lost ("Cannot keep promise"). Fix: use setImageData() for
   native pasteboard persistence, plus setData() for exact format.

3. saveJpegToClipboardMacOS() used osascript with a temp file and
   incorrectly labeled JPEG data as PNG UTI. Removed entirely — the
   fixed saveToClipboardMime() now handles both JPEG and PNG.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-12 08:07:44 -05:00
El Thoro c4db15ccd3 Fix KDE Plasma keyboard shortcut config file (#4637) 2026-04-12 08:06:41 -05:00
Vladimir Mitnitsky ef678de7a1 fix(macos): use proper macos api to get privacy screen recorder access (#4617) 2026-04-12 08:04:37 -05:00
Vladimir Mitnitsky d888a3f16c fix(macos): prevent config tab content from rendering behind tab bar (#4627)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-08 20:03:49 -05:00
Weblate (bot) 526fb82c81 Translations update from Hosted Weblate (#4632)
* Translated using Weblate (Polish)

Currently translated at 83.4% (394 of 472 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 94.9% (448 of 472 strings)

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

* Translated using Weblate (Russian)

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: Adam Stachowicz <saibamenppl@gmail.com>
Co-authored-by: João Alves <joao.2003.couto@gmail.com>
Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
2026-04-07 19:23:23 -05:00
El Thoro e91d83584d Cmake Analyzers (#4613)
* Add Qt deprecation check

* Add Analyzer status message

* Fix cppcheck
2026-04-06 16:15:25 -05:00
El Thoro 9dfdab8c48 Fix pin position on Windows for scaled screen (#4614) 2026-04-06 16:14:25 -05:00
Weblate (bot) d6a70c828f Translations update from Hosted Weblate (#4619)
* Translated using Weblate (Russian)

Currently translated at 100.0% (472 of 472 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (472 of 472 strings)

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

---------

Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
2026-04-06 12:07:46 +03:00
Weblate (bot) 0e3bb18240 Translations update from Hosted Weblate (#4612)
* Translated using Weblate (Irish)

Currently translated at 100.0% (472 of 472 strings)

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

* Translated using Weblate (Thai)

Currently translated at 90.4% (427 of 472 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 92.3% (436 of 472 strings)

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

---------

Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Co-authored-by: Anucha <camytotoe00@gmail.com>
Co-authored-by: Viktor Varvaruk <viktorvarvaruk@users.noreply.hosted.weblate.org>
2026-04-04 12:43:24 +03:00
borgmanJeremy b89ebc3629 Prepare for v14 beta (#4611) v14.0.rc1 2026-04-03 06:27:21 -05:00
borgmanJeremy 4634c27bed fixing signpath (#4608) 2026-04-01 15:39:36 -05:00
borgmanJeremy f63f8f6dce Merge pull request #4609 from weblate/weblate-flameshot-flameshot 2026-04-01 12:38:21 -05:00
Emanuel Barbera 1c4243acf1 Translated using Weblate (Spanish)
Currently translated at 86.0% (406 of 472 strings)

Translation: Flameshot/Flameshot
Translate-URL: https://hosted.weblate.org/projects/flameshot/flameshot/es/
2026-04-01 17:11:44 +00:00
borgmanJeremy 8cf641d0da Added dbus capture (#4605) 2026-03-31 09:52:16 -05:00
Weblate (bot) 5a3115211d Translations update from Hosted Weblate (#4606)
* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (472 of 472 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (472 of 472 strings)

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

* Translated using Weblate (German)

Currently translated at 95.9% (453 of 472 strings)

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

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (472 of 472 strings)

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

---------

Co-authored-by: Igor Rückert <igorruckert@yahoo.com.br>
Co-authored-by: Quentium <pro@quentium.fr>
Co-authored-by: El Thoro <elthoro@gmx.de>
Co-authored-by: Zahid Rizky Fakhri <zahidrizkyfakhri@gmail.com>
2026-03-31 09:48:55 -05:00
borgmanJeremy 6e833d94d9 Fixed issue with artifact configuration for signpath (#4601) 2026-03-31 09:48:40 -05:00
borgmanJeremy 66464fa4c1 Refreshed translation files (#4602) 2026-03-30 07:01:51 -05:00
borgmanJeremy 8fab4556f6 Fixed issue with comsic not being full screen (#4596) 2026-03-30 06:29:26 -05:00
borgmanJeremy bdb1eda421 Removing arbitrary delay from desktop actions (#4597) 2026-03-28 16:31:10 -05:00
borgmanJeremy 9803b386c2 Added feature on x11 and windows to capture active monitor (#4594) 2026-03-28 06:05:36 -05:00
Levi 51a55180fb fix: Update KDE Plasma keyboard shortcut config file (#4454) 2026-03-27 19:13:20 +02:00
borgmanJeremy 0ad3357a76 Added x11 fallback (#4588) 2026-03-26 19:14:42 -05:00
El Thoro 6e74dbe189 Code quality: Consistent includes, remove unused includes (#4587)
* Add pragma once

* Consistent includes

* Remove unused includes

* Fix Windows build

* Fix Windows build
2026-03-26 17:39:10 -05:00
Benigno Batista Júnior b26cf40e51 fix: remove duplicate layout parent in SidePanelWidget (#4578)
The widget's layout is set in the member initializer list (line 25)
via m_layout(new QVBoxLayout(this)). Passing 'this' to the QHBoxLayout
constructor at line 84 tries to set a second layout on the same widget,
which Qt rejects with a warning on every capture:

  QLayout: Attempting to add QLayout "" to SidePanelWidget "",
  which already has a layout

The parent argument is unnecessary since the layout is added to
m_layout via addLayout() at line 94.

Co-authored-by: Benigno Batista Júnior <benigno@opus-software.com.br>
2026-03-21 06:35:49 -05:00
borgmanJeremy eebcc1c0f5 Fix X11 crash (#4570) 2026-03-21 06:33:44 -05:00
El Thoro f983251851 Update QtColorWidgets git tag (#4584) 2026-03-21 06:33:24 -05:00
Weblate (bot) f9ea954357 Translations update from Hosted Weblate (#4580)
* Translated using Weblate (Finnish)

Currently translated at 87.3% (406 of 465 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (465 of 465 strings)

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

---------

Co-authored-by: Quentium <pro@quentium.fr>
2026-03-19 16:36:53 +02:00