Bug 286661

Summary: Dialog to set target location for Export to Remote Computer is not displayed correctly
Product: [Applications] digikam Reporter: Daniel <loerzi>
Component: Plugin-WebService-FileTransferAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: anantapalani
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 2.4.0
Attachments: Screenshot of the Set target location dialog
dialog under linux...

Description Daniel 2011-11-15 09:06:03 UTC
Created attachment 65695 [details]
Screenshot of the Set target location dialog

Version:           2.3.0 (using KDE 4.7.2) 
OS:                MS Windows

If the Export to Remote Computer plugin is used the first dialog to select the pictures is opened correctly.
The dialog to select the target location is opened but the content is not displayed correctly. On top some very small icons are visible, which are even clickable. But you are not able to select a directory.

Reproducible: Always

Steps to Reproduce:
Select an image
Goto Export -> Export To Remote Computer
Click on Select target location


Actual Results:  
The opened dialog is not displayed correctly

Expected Results:  
The dialog should be displayed correctly
Comment 1 caulier.gilles 2011-11-15 09:22:53 UTC
Created attachment 65696 [details]
dialog under linux...

Same dialog under linux. No problem here...

Gilles Caulier
Comment 2 Ananta Palani 2011-11-15 14:26:40 UTC
Alright, it looks like the problem lies with using KFileDialog::show(). On windows, KFileDialog expects to use native file interface, so KFileDialog::exec() should be used instead in all cases, much like the rest of digiKam does already. To fix this, this plugin will need to be adjusted to use ::exec().
Comment 3 Ananta Palani 2011-11-24 18:04:31 UTC
Git commit bb1bd43fdb66592fe633ccbb7278acd607a19ad0 by Ananta Palani.
Committed on 24/11/2011 at 19:02.
Pushed by palani into branch 'master'.

Fixes problem with KIOImportExport on Windows where it was impossible to browse for a target destination.

BUG: 286661
FIXED-IN: 2.4.0

M  +2    -1    NEWS
M  +14   -17   kioexportimport/KioExportWidget.cpp
M  +0    -1    kioexportimport/KioExportWidget.h

http://commits.kde.org/kipi-plugins/bb1bd43fdb66592fe633ccbb7278acd607a19ad0