Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

New: Allow pixel based adjustments via arrow keys when capturing an area.#1070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

SebiAi
Copy link
Contributor

@SebiAiSebiAi commentedSep 25, 2024
edited
Loading

This allows to adjust the cursor position with the arrow keys when capturing an area.

It usesQCursor to set the mouse cursor position when the arrow keys are pressed (setPos). With this it is not possible to move beyond screen boundaries (at least on X11 - see below).
I've added a notice to theSnippingAreaSelectorInfoText class so users are aware of the feature. Let me know if I need to do something so thetranslation system works correctly.
I've also added this new feature to the two changelog files - inspired by the previous commits.

Important

I've only tested this on my personal machine running Linux Mint 21.3 Cinnamon (X11) with Qt 5.15.2. I don't know how the Qt Mouse positioning function handles other window managers.
I am trying rn to build with Qt6 and then build the AppImage so I can test in a vm with different window managers.

All the existing tests pass - as expected.

Here is a small demo video:

arrow.adjustments.demo.mp4

There may be more issues related to this but these are the ones I could find with a quick search:
Closes#646,closes#816,closes#887,closes#1002

MurzNN and droumanet reacted with thumbs up emojiLaendrun reacted with heart emoji
@DamirPorobicDamirPorobic self-requested a reviewSeptember 27, 2024 10:30
Copy link
Member

@DamirPorobicDamirPorobic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looking good, thank you for providing this PR :)

SebiAi reacted with thumbs up emojiMurzNN reacted with hooray emoji
@DamirPorobicDamirPorobic merged commita3ab71c intoksnip:masterSep 27, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@DamirPorobicDamirPorobicDamirPorobic approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
2 participants
@SebiAi@DamirPorobic

[8]ページ先頭

©2009-2025 Movatter.jp