Bug 279515 - FlashExport's FirstRunDialog doesn't install simpleviewer's archive
Summary: FlashExport's FirstRunDialog doesn't install simpleviewer's archive
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-Flash (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-06 08:54 UTC by Veaceslav Munteanu
Modified: 2018-08-23 08:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.1.0


Attachments
Fix FirstrunDialog (959 bytes, patch)
2011-08-06 10:44 UTC, Veaceslav Munteanu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Veaceslav Munteanu 2011-08-06 08:54:57 UTC
Version:           2.1.0 (using KDE 4.7.0) 
OS:                Linux

When first dialog is run, it tells that "Archive will be stored with plug-in configuration and will be available for further use". But it doesn't. Everytime i want to export someting, firstrundialog will appear.

tested on latest Archlinux and Kubuntu 11.04

Reproducible: Always

Steps to Reproduce:
you must run FlashExport for the first time with no archieve stored.
1.Run flashexport
2.Select the simpleviewer archieve
3. export to flash
4.close flashexport
5.Reopen flashexport

Actual Results:  
FirstRunDialog will appear everytime asking you to give the url of the archieve.

Expected Results:  
No FirstrunDialog, after second time. 

I looked a little into code and it tell that plugin is stored into $KDEHOME and $KDEDIRS , but i don't have such variables so it won't store.

But i didn't find where digikam stores plug-in configuration, and i don't know where it was meant to be stored.

Please tell me if you can reproduce it.
Comment 1 caulier.gilles 2011-08-06 09:00:23 UTC
Strange i cannot reproduce it with 2.0.0...

Gilles Caulier
Comment 2 Veaceslav Munteanu 2011-08-06 09:05:47 UTC
There are aliases for $KDEHOME and $KDEDIRS in your .bashrc configuration file?
Comment 3 Veaceslav Munteanu 2011-08-06 10:21:21 UTC
I found where is "The problem" but i don't know why it works for you :)
Comment 4 caulier.gilles 2011-08-06 10:30:29 UTC
Well fix it and i will test here...

Gilles Caulier
Comment 5 Veaceslav Munteanu 2011-08-06 10:44:01 UTC
Created attachment 62616 [details]
Fix FirstrunDialog

Also try to delete ".kde4/share/apps/kipiplugin_flashexport/" folder from Home directory and test again the old code.
Comment 6 Veaceslav Munteanu 2011-08-07 20:10:01 UTC
we need more testers...
Comment 7 caulier.gilles 2011-08-08 21:13:46 UTC
patch work fine for me...

Gilles Caulier
Comment 8 Veaceslav Munteanu 2011-08-10 09:35:43 UTC
author	Veaceslav Munteanu
Wed, 10 Aug 2011 12:34:07 +0000 (12:34 +0000)
committer	Veaceslav Munteanu
Wed, 10 Aug 2011 12:34:07 +0000 (12:34 +0000)
commit	639d17752828bd1e0ad78b8267549c42f7b67b71
tree	d7577b41f03bff608240a5c6da5f648f565e6795	
parent	04b7fcacd8c0a9abbcf2c0ffb479d7128a7c8cab
	
Fix Bug 279515 - FlashExport's FirstRunDialog doesn't install simpleviewer's archive

flashexport/simpleviewer.cpp