-
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
Make loading of languages consistent across invocation types #3313
Conversation
@mmahmoudian Please review it if you can. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, logical move 👍 I wonder how much the re-initialization affects the performance.
@veracioux It seems something didn't went well. I'm getting the following: ❯ flameshot gui
QLayout: Attempting to add QLayout "" to SidePanelWidget "", which already has a layout
[1] 275691 segmentation fault (core dumped) flameshot gui Triggering it from the tray icon works though |
any news about this crashing issue? |
@mohad12211 unfortunately not resolved yet. Please use clicking on the tray icon which works. This is very high priority and we will resolve it. |
@mmahmoudian made a fix for the crash at #3370 :) |
…ot-org#3313) (cherry picked from commit 9557cd6)
Currently, languages are loaded only when invoking flameshot as a daemon, so localization doesn't work for the other invocation types. This fixes that.