* fixing CI
* manual trigger
* Qt6 Windows build (#3976)
* Windows CI
* Windows CI
* Windows CI
* CI for Macos
* Fixing windows and mac CI
---------
Co-authored-by: El Thoro <ElTh0r0@users.noreply.github.com>
* Replace foreach
* Replace QRegExp with QRegularExpression
* Replace QApplication::fontMetrics
* Replace QColor::isValidColor
* Replace canConvert(QVariant)
* Replace QString::midRef and QCharRef
* Add TODO for replacing QDesktopWidget for Qt 6
* Add TODO for replacing QTextCodec for Qt 6
* Fix QWidget::enterEvent for Qt 6
* qRegisterMetaTypeStreamOperators done automatically in Qt 6
* Fix QWidget::mapToGlobal for Qt 6
* Migrate QDesktopWidget replacement from old qt6 branch
* Drop Qt 5 support
* + cli support on windows
- removes the preprocessor macro that prevented arg
parsing on Windows
- adds windows-cli.cpp as src for a wrapper exe
- adds flameshot-cli target into cmake when building
on Windows
- updates README
* updates PR
+ support for unicode characters in cli args
+ additional clarification in README re: flameshot-cli
+ new workaround for spaces in _popen path; works with relative output paths
* fix EOL
* updated flameshot.exe path construction
avoids using the hard-coded length of flameshot-cli.exe
* fix whitespace (clang)
* Added river support
This attempts to generalize wlroots compositors by checking against the
proper desktop name instead of only sway. This fixes the problem of only
supporting sway. Any additional desktop will just have to be added to
the source to check for the correct string.
* fix: riverwm floating docs
* docs: removed no longer relevant comment
* fix: clang-format length
* refactor(desktopinfo): clang-format -i
---------
Co-authored-by: cvoges12 <vogesclayton@gmail.com>
Co-authored-by: cvoges12 <38054771+cvoges12@users.noreply.github.com>
Co-authored-by: midirhee12 <midirhee@proton.me>
This PR adds the ability to close the selection using the Ctrl + Backspace
key combination, addressing issue #3319. The new shortcut
allows users to quickly exit the selection mode without relying on mouse
interactions.
* Bypass the Qt GNOME/Wayland workaround on fixed Qt versions
We implement code on GNOME desktops to force the
QT_QPA_PLATFORM to be 'xcb'; this works around a
clipboard-related bug on GNOME+Wayland+Qt.
This bug was fixed (or worked around) in Qt 5.15.2,
so we implement a version check; if the runtime Qt
version is < 5.15.2, still force the workaround;
otherwise, we don't need the workaround so we skip
it.
* Reformat with clang-format
* fix screenshot's size not match with the screen when applying fractional scaling in KDE plasma desktop in wayland.
* Fix: Really fix wayland dpr is not correct and that causes our screenshot preview is wrongly scaled issue. This fix supports that we will use dpr in xcb platform because it is correct in that case.
* Chore: Use more concise variable names. Add comments to explain context.
* Chore: Fix a typo(physcal -> physical). Change code style to meet the .clang-format requirement.