Skip to content

[pull] master from flameshot-org:master#98

Merged
pull[bot] merged 8 commits intoUncodedtech:masterfrom
flameshot-org:master
May 11, 2025
Merged

[pull] master from flameshot-org:master#98
pull[bot] merged 8 commits intoUncodedtech:masterfrom
flameshot-org:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented May 11, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

anwarulislam and others added 8 commits May 10, 2025 16:08
…shot preview size is wrong. (#3869)

* 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.
* 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
@pull pull bot added the ⤵️ pull label May 11, 2025
@pull pull bot merged commit 90fd5fc into Uncodedtech:master May 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants