Bug 515087 - Ctrl+W on welcome screen prompts user to load a project, crashes if a project is loaded
Summary: Ctrl+W on welcome screen prompts user to load a project, crashes if a project...
Status: REPORTED
Alias: None
Product: lokalize
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Finley Watson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-26 04:24 UTC by Finley Watson
Modified: 2026-01-26 04:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Finley Watson 2026-01-26 04:24:24 UTC
Currently only on main branch, after https://invent.kde.org/sdk/lokalize/-/commit/eb44227f65369fa6f5e19c3202700d0b82f89f09

I haven't looked at the code yet but I suspect the glossary tab is checking if it can close (even though the glossary tab is already closed when the welcome screen is visible), which when no project is loaded is triggering the glossary to first load itself, except no project is loaded so no specific glossary file *CAN* be loaded, hence the warning dialogue trying to prompt the user to load a project.

If a project is loaded from the file dialogue, Lokalize crashes (probably getting into a confused state because it's in the process of closing while also loading a project). If you cancel the dialogue it opens the file dialogue anyway, but closing this does not crash Lokalize.