Bug 272977

Summary: [projectwizard] Create project wizard does not show up (but if launched from terminal)
Product: [Applications] lokalize Reporter: Torbjörn K. <torbjoern.k>
Component: generalAssignee: Nick Shaforostoff <shafff>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Torbjörn K. 2011-05-10 22:03:04 UTC
Version:           1.2 (KDE 4.6) (using Devel) 
OS:                Linux

If I launch Lokalize normally and want to launch the project wizard (Project --> New Project Wizard), it does not do anything. No crash, no reaction at all.

But, if I launch Lokalize via a terminal without any additional parameters given, it works like a charm.

(the actual English term for the menu entries might be different; I've only the German UI)

Reproducible: Always

Steps to Reproduce:
1. launch Lokalize via [Alt]+[F2] or KDE-startup-menu
2. click on Project --> New Project Wizard
--> nothing happens

1b. launch Lokalize via a terminal with 'lokalize'
2b. click on Project --> New Project Wizard
--> works as expected
Comment 1 Nick Shaforostoff 2015-01-19 00:53:01 UTC
Git commit 54e1a864dab2a6fbfc3631b9b7f043801e546e93 by Nick Shaforostoff.
Committed on 19/01/2015 at 02:47.
Pushed by shaforo into branch 'master'.

get rid of python-based newprojectwizard
i have added 'translate opendocument' button instead.
todo: implement xliff2odf call from c++ code
todo: odf2xliff on osx and windows
Related: bug 257742, bug 329723, bug 305368, bug 269201

M  +3    -11   scripts/CMakeLists.txt
D  +0    -556  scripts/newprojectwizard.py
D  +0    -10   scripts/newprojectwizard.rc
D  +0    -31   scripts/newprojectwizard_win.py
D  +0    -10   scripts/newprojectwizard_win.rc
M  +1    -0    src/CMakeLists.txt
M  +8    -8    src/catalog/catalog.cpp
M  +8    -8    src/catalog/xliff/xliffstorage.cpp
M  +8    -7    src/common/languagelistmodel.cpp
M  +7    -1    src/common/languagelistmodel.h
M  +1    -1    src/editortab.cpp
M  +8    -4    src/lokalizemainwindow.cpp
M  +2    -1    src/lokalizemainwindowui.rc
M  +1    -0    src/prefs/prefs.cpp
M  +2    -2    src/prefs/prefs.h
M  +52   -2    src/project/project.cpp
M  +4    -1    src/project/project.h
M  +18   -3    src/project/projectmodel.cpp
M  +8    -4    src/project/projecttab.cpp
M  +0    -4    src/project/projectwidget.cpp
A  +188  -0    src/project/xliffextractor.cpp     [License: LGPL (v2.1+)]
A  +37   -0    src/project/xliffextractor.h     [License: LGPL (v2.1+)]
M  +2    -2    src/tm/jobs.cpp

http://commits.kde.org/lokalize/54e1a864dab2a6fbfc3631b9b7f043801e546e93