-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash after adding text area and clicking on the any other tool. #2283
Comments
Can you post your locale config? |
Not sure if its the right command, but here is some locale settings: $ locale
LANG=cs_CZ.UTF-8
LC_CTYPE="cs_CZ.UTF-8"
LC_NUMERIC="cs_CZ.UTF-8"
LC_TIME="cs_CZ.UTF-8"
LC_COLLATE="cs_CZ.UTF-8"
LC_MONETARY="cs_CZ.UTF-8"
LC_MESSAGES="cs_CZ.UTF-8"
LC_PAPER="cs_CZ.UTF-8"
LC_NAME="cs_CZ.UTF-8"
LC_ADDRESS="cs_CZ.UTF-8"
LC_TELEPHONE="cs_CZ.UTF-8"
LC_MEASUREMENT="cs_CZ.UTF-8"
LC_IDENTIFICATION="cs_CZ.UTF-8"
LC_ALL= And output of this bug is: $ flameshot gui
flameshot: info: Screenshot aborted. |
@mmahmoudian did you set any locales? On arch I dont have this issue. |
@borgmanJeremy yes, because of my keyboard I most definitely have some non en_US locale entries. I can send them to you tomorrow. |
Ok in a clean fedora vm with en_US.UTF-8 I cannot reproduce it |
I can verify it happens on Pop !OS 21.10 as described using kernel 5.15.11-76051511-generic: Selecting any tool after having selected the text input closes the selection tool. No errors throw, here the CLI output:
Note, if you "de-select" the text tool before selecting another tool it does not crashes on my system. |
Interesting. On my arch, with Uk locale, I had to change this line on filenamehandler.cpp to make it work. (I know I should have reported it) |
and basically I came here to report ☝️ .. if you select |
@AndreaMarangoni can you please make that change a separate PR. I can get that merged into 11.1 on its own if it solves the issue. |
Not sure I understood correctly, but the fix for the locale and the crash after selecting the |
@borgmanJeremy FYI #2304 |
I confirm that it doesn't crash if you first un-select the text area tool, and select the other tool. |
It works when you initiate UI from the flameshot main menu but doesn't work in case of using a hotkey, see #2353 (comment) |
I found and fixed the issue. PR soon. |
PR #2369 |
Resolved with #2369 |
Flameshot Version
$ dnf list installed | grep flameshot flameshot.x86_64 11.0.0-1.fc35 @updates $ flameshot --version Flameshot v11.0.0 (-) Compiled with Qt 5.15.2
Installation Type
Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)
Operating System type and version
Fedora 35 + Gnome 41.3 (wayland)
Description
Crash after adding text area and clicking on the any other tool.
Steps to reproduce
flameshot gui
Screenshots or screen recordings
https://youtu.be/X5rv4BtETr8
System Information
$ uname -a Linux jvh-machine 5.15.14-200.fc35.x86_64 #1 SMP Tue Jan 11 16:49:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: