Bug 515087

Summary: Ctrl+W on welcome screen prompts user to load a project, crashes if a project is loaded
Product: [Applications] lokalize Reporter: Finley Watson <fin-w>
Component: generalAssignee: Finley Watson <fin-w>
Status: REPORTED ---    
Severity: crash CC: aacid, sdepiets, shafff
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.