Bug 189135

Summary: Lokalize minimizes itself if user cancelled the native Open file dialog on Windows
Product: [Applications] lokalize Reporter: Eduard Sukharev <kraplax>
Component: generalAssignee: Nick Shaforostoff <shafff>
Status: RESOLVED FIXED    
Severity: minor CC: kde-windows, lpapp, ps_ml
Priority: NOR    
Version: 0.3   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eduard Sukharev 2009-04-08 18:10:18 UTC
Version:           0.3 (using 4.2.1 (KDE 4.2.1), MS Visual Studio 2005 SP1)
Compiler:          cl.exe
OS:                Microsoft Windows (i686) release 5.1 (XP Professional)

Lokalize minimizes its window if user pressed "Cancel" in the "Open" dialog.
Steps to reproduce:
0) make sureKDE apps use native file dialogs
1) Press Ctrl+O or go to File->Open
2) Press cancel button in open file dialog

Result - Lokalize's window is minimized.
Tested on Windows XP 32bit SP3, MSVC build installed from packages, KDE 4.2.1
Comment 1 Nick Shaforostoff 2009-04-08 18:31:20 UTC
thanks for the report.
Comment 2 Laszlo Papp 2010-05-01 09:24:02 UTC
Do you experience this kind of issue in other application as well or just in lokalize on windows ?
Comment 3 Nick Shaforostoff 2010-11-30 17:28:51 UTC
SVN commit 1202377 by shaforo:

*give proper parent to the dialogs (this will possibly solve 189135)
*check if the project is loaded before adding a term to glossary(bug 252965)
 if not, suggest user to create or open one.
*react on project id change: open a tm for it
*write target lang code in the .lokalize file even if it == system locale

CCBUG:189135
CCBUG:252965
CCMAIL:kde-18n-doc@kde.org

to kde-18n-doc@kde.org:
this commit adds one string needed to explain that creation or opening of some lokalize project (.lokalize) is needed.



 M  +1 -1      cataloglistview/cataloglistview.cpp  
 M  +13 -4     editortab.cpp  
 M  +5 -4      editorview.cpp  
 M  +41 -4     glossary/glossary.cpp  
 M  +2 -6      glossary/glossary.h  
 M  +13 -11    glossary/glossarywindow.cpp  
 M  +1 -1      glossary/glossarywindow.h  
 M  +7 -13     lokalizemainwindow.cpp  
 M  +3 -2      main.cpp  
 M  +51 -16    prefs/prefs.cpp  
 M  +12 -5     prefs/prefs.h  
 M  +35 -13    project/project.cpp  
 M  +11 -2     project/project.h  
 M  +5 -2      project/projectbase.kcfg  
 M  +2 -2      project/projecttab.cpp  
 M  +1 -1      tm/dbfilesmodel.h  
 M  +2 -1      tm/tmmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1202377