Skip to content
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

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

veracioux
Copy link
Contributor

Currently, languages are loaded only when invoking flameshot as a daemon, so localization doesn't work for the other invocation types. This fixes that.

@veracioux veracioux requested review from mmahmoudian and removed request for mmahmoudian September 14, 2023 16:06
@veracioux
Copy link
Contributor Author

@mmahmoudian Please review it if you can.

Copy link
Member

@mmahmoudian mmahmoudian left a 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.

@mmahmoudian mmahmoudian merged commit 9557cd6 into master Sep 17, 2023
21 of 23 checks passed
@mmahmoudian mmahmoudian added this to the v13 milestone Sep 17, 2023
@mmahmoudian
Copy link
Member

mmahmoudian commented Sep 18, 2023

@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

@mohad12211
Copy link

@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?

@mmahmoudian
Copy link
Member

@mohad12211 unfortunately not resolved yet. Please use clicking on the tray icon which works. This is very high priority and we will resolve it.

@marceldev89
Copy link
Contributor

@mmahmoudian made a fix for the crash at #3370 :)

panpuchkov pushed a commit to namecheap/flameshot that referenced this pull request Dec 22, 2023
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.

4 participants