Commit Graph

1193 Commits

Author SHA1 Message Date
Yuriy Puchkov
0425be7a44 Remove possibility of the infinitive loop on screen capture and remove activeModalWidget check on screen capture for MacOS
(cherry picked from commit afaed07ae9b3c729e6082cc6b325aeca1dc08436)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
3973c2f38d Remove possibility of the infinitive loop on screen capture and remove activeModalWidget check on screen capture for MacOS
(cherry picked from commit 305e054c9c97e47e092ad974a683cdf5753ab4a9)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
74f5ded7db MacOS - Selected area remains on the screen after saving capture (one more attempt to fix not reproducible bug on my laptop)
(cherry picked from commit 75e34746fcbc2819e88a54cc4a18e5df36d5e4f0)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
1ad6f9ff74 Add a few additional check on initializing trayMenu, possibly they will fix rare issue with frozen application on MacOS
(cherry picked from commit bf5741a9145659e9fc5489f26a62c9757b824abe)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
ecb88380a6 MacOS - Catalina - Tray icon and menu bar stays on screen when taking screenshot
(cherry picked from commit 517d34d2231da99d238149688ebddc254f35be98)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
94f0aecf81 Grab color returns black color
(cherry picked from commit aa2e236c7dcf882205701ea00c4fed7cfbf7c0c2)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
93fcced53d Localization update (Ukrainian and Russian)
(cherry picked from commit 70ef2a4725ec97f8cb30504a1286b852c8e6b47e)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
7088cc9e2c Confirmation for screenshot remove from the latest uploads and server
(cherry picked from commit f480cfb53a690328b639c4e0c0f2ab42666c7cc3)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
0a4bcfedb2 MacOS - Set timeout for notarization (code signing)
(cherry picked from commit 6dd3c6562ffda5080f284416f8f85fd3f70eba95)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
540e407eb7 Add option to disable feature for checking for a new update
(cherry picked from commit d26dd55dba066aa4884b00b55173597f49309f0d)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
de3b0385d5 Code refactoring - rename "GeneneralConf" class to "GeneralConf" (fix missprint)
(cherry picked from commit e2756a28b16d62ec6612aa7a14a40385438eacf1)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
7bdbfc5546 fix - MacOS - Sometimes selected area remains on the screen after saving capture
(cherry picked from commit a38825d16338bbd96d326188513164e81bfe7b60)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
c3ee36f809 fix - MacOS - Take screenshot option sometimes doesn't work (because of Mission Control feature)
(cherry picked from commit fdb086a5eb3106200fe4eb751eaa6d641ede25c4)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
595454af5c fix - disable PrtScr button in the hotkeys configuration window because it is not supported on the linux now
(cherry picked from commit 1e33441ce3f9fe54ff0c98d528724641d1c74ce9)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
48d312b8df fix - Opacity settings resets to default after changing in the configurations if you click on slider (not dragging)
(cherry picked from commit 17a956c03c7245cecd0f7d84bccdc715d6e82bbd)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
6707f15c31 fix - Cannot set 'Save Path'
(cherry picked from commit de0155abda8cea9b048e6f5aa7587d4f57d96a63)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
8f5f656347 fix - MacOS - Pin on retina
(cherry picked from commit 6e6025740d3c512c4f30d48681b42f997104d367)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
05633bf7f7 fix - If retina display is at the right side (display arrangement) it joins ToolButtons on capture widget into one on retina if you have more than 3 displays in the row
(cherry picked from commit e9ae7501a7eed552bd35b5755792864d55454e2e)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
24f02a6dc2 fix - Ubuntu - Broken Flameshot icon in the taskbar with pinned image
(cherry picked from commit 18722f5b29dde05f22d0a88b7e2251f81a06ca00)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
4cfa25b966 fix - MacOS - Grabbed color differs from the clicked area
(cherry picked from commit 850d7f1df3c8a3fa9aa3db7beaba242abe78a855)
2021-02-17 18:46:12 +02:00
Yuriy Puchkov
7913d4ac04 MacOS - code signing
(cherry picked from commit 97ca4890ee6813900b17aed84444bffba2f1f079)
2021-02-17 18:46:12 +02:00
Jeremy Borgman
911652e5eb Fixed issue with undo and rounded rectangles 2021-02-17 07:27:38 -06:00
Yuriy Puchkov
4ab66411b1 Code refactoring - clang-format 2021-02-16 12:34:45 -06:00
Yuriy Puchkov
5c3e63d30d fix - MacOS - startup (login items) feature
(cherry picked from commit 97ac0b1da4a3340da8019c7736b99fe5cd9274e5)
2021-02-16 12:34:45 -06:00
Yuriy Puchkov
7b4c409a86 fix - MacOS - Strange tool buttons position behaviour on capture screen
(cherry picked from commit 0dee55884b873d6ded139c39d665bb229481c7e2)
2021-02-16 12:34:45 -06:00
Yuriy Puchkov
2fb3f90afc fix - no flameshot icon in the taskbar for 'Latest uploads' and 'Open launcher' widgets
(cherry picked from commit c662e3e765df31798dd62f8b9a26cddf1a0aa8af)
2021-02-16 12:34:45 -06:00
Yuriy Puchkov
c93c91e09f fix - reset configuration doesn't reset 'Save path'
(cherry picked from commit aa26cda409b745ed2b585ad393591aa03d4813dd)
2021-02-16 12:34:45 -06:00
Yuriy Puchkov
ea5cf3e042 fix - Line starts from the different point after changing line color
(cherry picked from commit 208f930d4e9425db6c58abd8ffdb2cc0fb6c685a)
2021-02-16 12:34:45 -06:00
Yuriy Puchkov
5442f0045f fix - Flameshot is displayed in Activity Monitor without name (MacOS)
(cherry picked from commit 0c11f4d85b3b25f43138808273e6daa3567790fc)
2021-02-16 12:34:45 -06:00
Yuriy Puchkov
f56c69540e fix - MacOS - It's impossible to make a screenshot of all screens (change message according to Mac philosophy)
(cherry picked from commit 9decaf287b11c0e523bc702165d348f7f26c5f32)
2021-02-16 12:34:45 -06:00
Yuriy Puchkov
7220ba48e2 fix - MacOS - App keeps making screenshots after saving screenshot that was made via launcher
(cherry picked from commit f2f96afba550d260614bf647e37dfd2fee23e6ea)
2021-02-16 12:34:45 -06:00
Jeremy Borgman
67952f06ab Moved SSL check to be windows specific 2021-02-16 10:10:21 -06:00
Jeremy Borgman
be730cf29c Fixed bug related to save path 2021-02-15 20:17:42 -06:00
Jeremy Borgman
40bad756ad Added BypassWindowManagerHint back since it broke multimonitor support 2021-02-15 19:56:38 -06:00
Gustavo Costa
b5ca48dde0 Update pt_BR translation 2021-02-15 08:08:16 -06:00
Heimen Stoffels
99825c4fbf Updated Dutch translations 2021-02-15 08:07:55 -06:00
Jeremy Borgman
381985afbb Handle exception when locales are not properly configured 2021-02-15 08:07:31 -06:00
Ahmed Zetao Yang
503065761e chore(CI): win packages version matches the git tag 2021-02-15 08:05:29 -06:00
Jeremy Borgman
99a778e31e Updated Releasing documents per review 2021-02-14 13:08:44 -06:00
Jeremy Borgman
2ca780dfe3 Staging Release Candidate for 0.9 2021-02-14 13:08:44 -06:00
Jeremy Borgman
4e03f6150c Added release notes 2021-02-14 13:08:44 -06:00
Dan Dascalescu
bcb4877d45 Fix English and some weird formatting 2021-02-14 12:47:49 -06:00
Boyuan Yang
9d09aeb68e translations: Update strings in Internationalization_ko.ts
Running 'lupdate ../.. -ts ./Internationalization_ko.ts'.
2021-02-13 20:14:59 -06:00
Boyuan Yang
4703516698 ko_KR translation: Fix locale string
The Korean translation was using `kr_KR` locale string, which
is a typo and will not be recognized by Qt.

This commit replaces `kr_KR` with `ko_KR`.
2021-02-13 20:14:59 -06:00
Boyuan Yang
ef68944d18 Update zh_CN translation for 0.9 release 2021-02-13 20:14:47 -06:00
Boyuan Yang
d279430e17 Refresh translation files 2021-02-13 20:14:47 -06:00
Ahmed Zetao Yang
4f01c863a9 fix: add executable permission for ld-linux-x86-64.so 2021-02-13 06:58:14 -06:00
Jeremy Fleischman
5a9ca6bd11 Exclude the external directory with a .clang-format file.
(I copied this trick from https://stackoverflow.com/a/57272592/1739415)

The GitHub clang-format workflow was already ignoring the `external`
directory because of the setting in the `clang-format.yml` file, but
that doesn't help other people running `clang-format` by hand (which the
CONTRIBUTING.md file instructs developers to do). Without this change,
I'd see a bunch of changes appear in the `external/spdlog` every time I
ran clang-format by hand.

I figure it's better to configure this via files that clang knows about
so both the GitHub workflow *and* developers have a closer to identical
experience.
2021-02-11 19:22:54 -06:00
Jeremy Fleischman
f482596c03 Add back missing call to resize
The call to `resize` is pretty important... without it, nothing shows up
on the screen when I run flameshot (presumably because it's 0 pixels by
0 pixels large). This was accidentally removed when resolving merge
  conflicts in 77c509e798.

While I was in here, I also opted to delete some comments. I personally
am never a fan of commenting out code: if we need something, that's what
Git is for! And, just in case GitHub disappears, I thought it would be
nice to record my research in a Git commit about why I think removing
`Qt::BypassWindowManagerHint` is ok. Comments copied from
https://github.com/flameshot-org/flameshot/pull/731):

> I played around with it [removing `Qt::BypassWindowManagerHint`] a bit
> and it has some really nice properties for me as a Xmonad X11 user:
>
>   - It resolves https://github.com/flameshot-org/flameshot/issues/784
>   - It also makes it possible for me to clearly see when flameshot has
>     focus, and give it focus, which I'd argue is a workaround/fix for
> https://github.com/flameshot-org/flameshot/issues/1072, and also has
> some nice properties as @filipkilibarda mentioned: "Allows the user to
> switch workspaces while in the screenshot GUI..."
>
> I did some git spelunking and here's the history of the current code:
>
> - c4d9210c35 is the first commit where
>   something like this showed up, but it used
> `Qt::X11BypassWindowManagerHint`, which is just [an alias for
> `Qt::BypassWindowManagerHint`](b75d60abd2/src/corelib/global/qnamespace.h (L247))
> - 0f30529c77 removed it (yay!)
> - 11b0e2db4b added in
>   `Qt::BypassWindowManagerHint` with somewhat cryptic message: "Capture
> window showing when mouse events are holded" message. I'm not sure what
> that means.
> - Later, this commit a9b0c21304 added a
>   `#ifdef Q_OS_WIN`  branch that made it so this
> `Qt::BypassWindowManagerHint` only happens on Linux, not Windows.
>
> So, since flameshot doesn't currently target OSX, I think this change
> only affects Linux. @borgmanJeremy if I did some investigation into how
> this behaves with other window managers (and maybe wayland?) would you
> be open to merging it up?
> https://github.com/flameshot-org/flameshot/pull/731#issuecomment-719767364
> for more information.

Later, I investigated how things behave on Linux with a non-tiling
window manager:

> I just installed xfce and tried this out, and as far as I can tell,
> things work great! During a screenshot, I can alt-tab to other windows
> and they end up on top of the ongoing screenshot, but I can click back
> on the screenshot to continue editing the screenshot (strangely, I
> cannot alt-tab back to the window). Keyboard shortcuts work as expected,
> and this feels like an improvement in every way, IMO.
2021-02-11 15:20:07 -06:00
Jeremy Borgman
f2f7d8739e Fixed formatting from PR 2021-02-11 09:48:23 -06:00