Skip to content

fix: replace PCRE2 {,1} with ? for broader compatibility - #4792

Open
vimuxx wants to merge 1 commit into
flameshot-org:masterfrom
vimuxx:master
Open

fix: replace PCRE2 {,1} with ? for broader compatibility#4792
vimuxx wants to merge 1 commit into
flameshot-org:masterfrom
vimuxx:master

Conversation

@vimuxx

@vimuxx vimuxx commented Jul 1, 2026

Copy link
Copy Markdown

No description provided.

@vimuxx

vimuxx commented Jul 1, 2026

Copy link
Copy Markdown
Author

This should fix the old AppImage region parsing bug

# ./Flameshot-14.0.0.x86_64.AppImage gui --region 100x100+100+100
"No Flameshot translation found for en-US, en-Latn-US, en, en, en-Latn-US, en-US"
"No Qt translation found for English"
flameshot: error: Invalid region, use 'WxH+X+Y' or 'all' or 'screen0/screen1/...'.
See flameshot --help.

@borgmanJeremy

Copy link
Copy Markdown
Collaborator

Is this an issue on the currently released app image? V14?

@vimuxx

vimuxx commented Jul 4, 2026

Copy link
Copy Markdown
Author

Is this an issue on the currently released app image? V14?

This bug is start from v13.2.0 appimage, also v14

root@debian:~/Downloads# ./Flameshot-12.1.0.x86_64.AppImage gui --region 100x100+100+100
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setCompositionMode: Painter not active
QPainter::translate: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setBrush: Painter not active
flameshot: info: Screenshot aborted.

root@debian:~/Downloads# ./Flameshot-13.2.0.x86_64.AppImage gui --region 100x100+100+100
"No Flameshot translation found for en-US, en, en-Latn-US, en, en-US, en-Latn-US"
"No Qt translation found for English"
flameshot: error: Invalid region, use 'WxH+X+Y' or 'all' or 'screen0/screen1/...'.
See flameshot --help.

root@debian:~/Downloads# ./Flameshot-13.3.0.x86_64.AppImage gui --region 100x100+100+100
"No Flameshot translation found for en-US, en, en-Latn-US, en, en-US, en-Latn-US"
"No Qt translation found for English"
flameshot: error: Invalid region, use 'WxH+X+Y' or 'all' or 'screen0/screen1/...'.
See flameshot --help.

root@debian:~/Downloads# ./Flameshot-14.0.0.x86_64.AppImage gui --region 100x100+100+100
"No Flameshot translation found for en-US, en-Latn-US, en, en, en-Latn-US, en-US"
"No Qt translation found for English"
flameshot: error: Invalid region, use 'WxH+X+Y' or 'all' or 'screen0/screen1/...'.
See flameshot --help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants