Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557134 - kde-misc/homerun: creates repeating entries in kde-apps/dolphin places
Summary: kde-misc/homerun: creates repeating entries in kde-apps/dolphin places
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-09 14:11 UTC by David Brooke
Modified: 2016-06-01 07:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Brooke 2015-08-09 14:11:32 UTC
I have "repeated entries of Home, Root, Network and Trash" in the Places section of Dolphin. This repeating of these entries... Home, Root, Network and Trash... happen as a group and the group repeats after every opening of Dolphin. So for example...initially if I open Dolphin I get 1 set of Home, Root, Network and Trash" in the Places section. If I open the second time I get 2 sets of Home, Root, Network and Trash" in the Places section. This scenario goes on and on.
I found that if I disable or remove kde-misc/homerun-1.2.5 (including version 1.2.4) that this resolves the "repeated entries of Home, Root, Network and Trash" in the Places section of Dolphin. The following are the actual steps I preformed to correct the issue:
1. Disabled kde-misc/homerun via add widgets 
2. Executed the following: 
rm ~/.kde4/share/apps/kfileplaces/* && rm ~/.local/share/user* 
3. Rebooted 
4. Opened and closed Dolphin three times while verifying the correct entries in Places.
I have tried and used without issue other KDE launchers - Application launcher menu and Lancelot.
This issue occurs in more than 10 installations that I have and the rememdy works on all them.
Other info:
https://forums.gentoo.org/viewtopic-t-1026334.html

emerge --info
Portage 2.2.20 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-gentoo-2
KiB Mem:     7833700 total,   3399092 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 08 Aug 2015 00:45:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r2::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                  
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"                             
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"  
CXXFLAGS="-march=core-avx2 -O2 -pipe"                                                                                                                                        
DISTDIR="/usr/portage/distfiles"                                                                                                                                             
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Andreas Sturmlechner gentoo-dev 2015-08-13 12:45:41 UTC
Could you try with dolphin-15.04.3 from kde overlay? Though the problem is with homerun, that latest version of dolphin should ignore kfileplaces.
Comment 2 David Brooke 2015-08-13 13:55:51 UTC
So I would need to add the KDE overlay, unmask Dolphin then install?
Comment 3 David Brooke 2015-08-13 17:06:51 UTC
Here are the steps I took to add dolphin-15.04.3:
1. Add KDE overlay
sudo layman --fetch --add kde
2. Create /etc/portage/package.unmask
<kde-apps/dolphin-15.04.50
3. Add to package.accept_keywords (for amd64)
kde-apps/dolphin ~amd64
4. Update and install
sudo emerge -auvDN @world
5. Enable / install homerun
sudo emerge -av homerun
6. Reboot
7. Test Dolphin
Open and close Dolphin 3x and make sure the repeating entries doesn't occur.

That solves the repeating Places entries but there is a new quirk.
You can't move entries around (for example, move Root entry from 3rd position to 2nd postion). If you do, Places, Recently Accessed and Search For sections are removed. The Devices section is the only one left. On one out of the three computer I tested, I can close Dolphin and re-open and the issue is gone but on the other two the issue remains. 
Do additional support files/programs need to installed?
Comment 4 Andreas Sturmlechner gentoo-dev 2015-08-13 17:09:25 UTC
Maybe. I can't reproduce that last issue of yours.
Comment 5 David Brooke 2015-08-13 17:43:06 UTC
If I remove the homerun widget, the new quirk goes away. Meaning I have added the newer version of Dolphin and still get an abnormal condition when using homerun.
Comment 6 David Brooke 2015-08-18 13:57:07 UTC
Would a list of other installed applications help?
Comment 7 Andreas Sturmlechner gentoo-dev 2015-08-18 17:20:56 UTC
If homerun is the source of trouble, there is little hope this will be fixed - latest commit in upstream repository is older than 1 year.
Comment 8 Andreas Sturmlechner gentoo-dev 2015-12-06 08:58:13 UTC
Maybe this patch could solve your drag and drop problem?

https://quickgit.kde.org/?p=homerun.git&a=commit&h=c3509e2706cd6f36ca7a23659d2c14ec7aea74b3
Comment 9 David Brooke 2015-12-06 13:29:57 UTC
Actually I just got a KDE4 homerun fix on 12/5/15 and I am testing it now. So far it is working. If the test comes out ok, I will report back.
Comment 10 David Brooke 2015-12-06 14:47:42 UTC
The following is the current patch I'm testing:

diff --git a/components/sourceregistry.cpp b/components/sourceregistry.cpp
index d2df116..e63cd50 100644
--- a/components/sourceregistry.cpp
+++ b/components/sourceregistry.cpp
@@ -268,7 +268,9 @@ SourceRegistry::SourceRegistry(QObject *parent)
     d->m_availableSourcesModel = new AvailableSourcesModel(d->m_sourceInfos, this);
 
     d->m_favoriteModels.insert("app", new FavoriteAppsModel(this));
+#if 0
     d->m_favoriteModels.insert("place", new FavoritePlacesModel(this));
+#endif
 
     d->registerSource("InstalledApps", new InstalledAppsSource(this),
         i18n("Installed Applications"),
Comment 11 Johannes Huber (RETIRED) gentoo-dev 2016-06-01 07:21:40 UTC
Could you please with the current stable version =kde-apps/dolphin-15.12.3?

(In reply to David Brooke from comment #10)
> The following is the current patch I'm testing:
> 
> diff --git a/components/sourceregistry.cpp b/components/sourceregistry.cpp
> index d2df116..e63cd50 100644
> --- a/components/sourceregistry.cpp
> +++ b/components/sourceregistry.cpp
> @@ -268,7 +268,9 @@ SourceRegistry::SourceRegistry(QObject *parent)
>      d->m_availableSourcesModel = new
> AvailableSourcesModel(d->m_sourceInfos, this);
>  
>      d->m_favoriteModels.insert("app", new FavoriteAppsModel(this));
> +#if 0
>      d->m_favoriteModels.insert("place", new FavoritePlacesModel(this));
> +#endif
>  
>      d->registerSource("InstalledApps", new InstalledAppsSource(this),
>          i18n("Installed Applications"),

This patch hard disables it.

(In reply to Andreas Sturmlechner from comment #8)
> Maybe this patch could solve your drag and drop problem?
> 
> https://quickgit.kde.org/?p=homerun.
> git&a=commit&h=c3509e2706cd6f36ca7a23659d2c14ec7aea74b3

Please test this patch, if first attempt with newest stable dolphin was not 	successful.