Bug 353922 - baloofilerc file created in two different places
Summary: baloofilerc file created in two different places
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.15.0
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-15 12:08 UTC by advocatux
Modified: 2016-09-11 11:42 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description advocatux 2015-10-15 12:08:05 UTC
Hi, Baloo is creating 2 baloofilerc, one in $HOME/.config/baloofilerc and the other in $HOME/.kde/share/config/baloofilerc

Both files are different:

:~$ diff .config/baloofilerc .kde/share/config/baloofilerc
5,6c5
< dbVersion=1

< exclude filters=CMakeCache.txt,autom4te,*.loT,.obj,_darcs,confdefs.h,libtool,*.swap,CVS,CMakeFiles,.xsession-errors*,*.pyc,*.tmp,.uic,CTestTestfile.cmake,Makefile.am,.moc,lost+found,moc_*.cpp,*.nvram,lzo,config.status,*.omf,conftest,*.rcore,*.elc,*.m4,*.orig,*.csproj,*.o,litmain.sh,*.pc,*.aux,cmake_install.cmake,*.moc,CMakeTmp,confstat,CMakeTmpQmake,*.class,.hg,*.part,ui_*.h,*.la,.git,*.po,__pycache__,*~,.svn,core-dumps,*.rej,*.gmo,.bzr,qrc_*.cpp,.pch,.histfile.*,*.lo,*.vm*,po

---

> exclude filters=autom4te,*.rcore,CTestTestfile.cmake,*.o,*.omf,*.swap,.hg,*.m4,*.orig,.obj,moc_*.cpp,conftest,.pch,.xsession-errors*,CMakeTmpQmake,*.tmp,qrc_*.cpp,po,.svn,.histfile.*,lzo,.bzr,.git,litmain.sh,cmake_install.cmake,CMakeFiles,*.pc,*.nvram,*.elc,*.la,.moc,CMakeCache.txt,confdefs.h,*.gmo,*.csproj,*.rej,config.status,lost+found,confstat,*.pyc,_darcs,CVS,.uic,*.part,libtool,*.aux,*.po,CMakeTmp,Makefile.am,*.lo,ui_*.h,*.loT,*~,*.moc,*.vm*,*.class,core-dumps

8c7
< first run=false
---
> first run=true

I don't know the exact Balloo component responsible of this behavior, so if there's some info you do need to delimit the problem, please tell me.

Regards.

Reproducible: Always

Steps to Reproduce:
1. Install Baloo related packages in Debian

Actual Results:  
Two baloofilerc files are created in different paths

Expected Results:  
Just one baloofilerc file

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages baloo-kf5 depends on:
ii  libc6                2.19-22
ii  libkf5baloo5         5.15.0+-1
ii  libkf5balooengine5   5.15.0+-1
ii  libkf5configcore5    5.15.0-1
ii  libkf5coreaddons5    5.15.0-1
ii  libkf5crash5         5.15.0-1
ii  libkf5dbusaddons5    5.15.0-1
ii  libkf5filemetadata3  5.15.0-1
ii  libkf5i18n5          5.15.0-1
ii  libkf5idletime5      5.15.0-1
ii  libkf5kiocore5       5.15.0-1
ii  libkf5solid5         5.15.0-1
ii  libqt5core5a         5.4.2+dfsg-9
ii  libqt5dbus5          5.4.2+dfsg-9
ii  libqt5gui5           5.4.2+dfsg-9
ii  libqt5qml5           5.4.2-6
ii  libqt5widgets5       5.4.2+dfsg-9
ii  libstdc++6           5.2.1-22

baloo-kf5 recommends no packages.

baloo-kf5 suggests no packages.
Comment 1 John Andersen 2016-03-24 00:01:38 UTC
Are you sure these don't date from different installs, such as upgrading a kde 4 machine to Kde Plasma 5?

Have you checked dates on the files ?
I have only one baloofilerc on a fresh install of Manjaro (arch) linux.
Comment 2 Christoph Cullmann 2016-09-11 11:42:00 UTC
I have only one file, too.
This could be some artifact of older versions.