This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Right click in folder very, very slow

Tags: None
(comma "," separated)
asevens
Registered Member
Posts
10
Karma
0
I've got a problem with the right click. Every time I right click on a folder it has a delay of 1 sec until the menu pops up. It works fine with files.

I noticed this for the first time about a year ago and since then I can't use Plasma because of this. It's very, very annoying. I've tried everything, I disabled Nepomuk and all the semantic stuff, I removed all the dolphin services, etc, but with no luck.

The only distro with KDE that works fine is Debian. But I want to use Kubuntu or Mint KDE.

Any solution?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you try to reproduce this under a new user please?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
freininghaus
Moderator
Posts
224
Karma
1
OS
I would recommend to go to the settings dialog, "Services" section. These "Services", or context menu plugins, provide the actions in the context menu. The plugins are not part of Dolphin itself - any application can install one, and they can optionally execute some code when the context menu is opened. This looks like one of these plugins might be buggy.

Disable the services one by one to see if the problem goes away at some point. If it does, please report a bug to the developers of the buggy plugin.

Alternatively, here are some instructions that can help to identify pieces of code which might be responsible for slowness:

http://community.kde.org/Dolphin/FAQ/Freeze
asevens
Registered Member
Posts
10
Karma
0
bcooksley wrote:Can you try to reproduce this under a new user please?


I did and the problem is still there.

freininghaus wrote:I would recommend to go to the settings dialog, "Services" section. These "Services", or context menu plugins, provide the actions in the context menu. The plugins are not part of Dolphin itself - any application can install one, and they can optionally execute some code when the context menu is opened. This looks like one of these plugins might be buggy.

Disable the services one by one to see if the problem goes away at some point. If it does, please report a bug to the developers of the buggy plugin.

Alternatively, here are some instructions that can help to identify pieces of code which might be responsible for slowness:

http://community.kde.org/Dolphin/FAQ/Freeze


I've disabled the services one by one and nothing happens. Disabled everything, rebooted the system, etc. It doesn't work.

I've also tried what's explained in that link:

I enter in the terminal gdb, then run and it shows me the following:
Code: Select all
Starting program: /usr/bin/dolphin
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdc5e4700 (LWP 2874)]
[New Thread 0x7fffdb722700 (LWP 2875)]
"/org/freedesktop/UDisks2/drives/Generic__Multi_Card_20071114173400000" : property "Drive" does not exist
"/org/freedesktop/UDisks2/drives/Slimtype_DVD_A__DS8A5SH_009160263064" : property "Drive" does not exist
"/org/freedesktop/UDisks2/drives/WDC_WD3200BEVT_22A23T0_WD_WX71A80V4566" : property "Drive" does not exist
"/org/freedesktop/UDisks2/drives/WDC_WD3200BEVT_22A23T0_WD_WX71A80V4566" : property "DeviceNumber" does not exist
"/org/freedesktop/UDisks2/drives/WDC_WD3200BEVT_22A23T0_WD_WX71A80V4566" : property "Device" does not exist
"/org/freedesktop/UDisks2/drives/Generic__Multi_Card_20071114173400000" : property "DeviceNumber" does not exist
"/org/freedesktop/UDisks2/drives/Generic__Multi_Card_20071114173400000" : property "Device" does not exist
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
[New Thread 0x7fffda554700 (LWP 2881)]


And when I right click in a folder I get this in the terminal:
Code: Select all
dolphin(2870)/kdecore (services) KServicePrivate::init: The desktop entry file  "/home/alecs/.directory"  has Type= "Application"  but no Exec line
freininghaus
Moderator
Posts
224
Karma
1
OS
Please follow all instructions in http://community.kde.org/Dolphin/FAQ/Freeze. After right-clicking in Dolphin, switch to GDB quickly, press Ctrl+Z and create a backtrace.
asevens
Registered Member
Posts
10
Karma
0
Done
Code: Select all
^Z
Program received signal SIGTSTP, Stopped (user).
0x00007ffff785bf7d in poll () at ../sysdeps/unix/syscall-template.S:81
81      ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) thread apply all backtrace

Thread 3 (Thread 0x7fffdb15d700 (LWP 12030)):
#0  0x00007ffff785bf7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffef29f6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffef29f7ac in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff371ba76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffff36ed5ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007ffff36ed8e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffff35ec88f in QThread::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ffff36ced13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007ffff35eef2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fffef777f6e in start_thread (arg=0x7fffdb15d700)
    at pthread_create.c:311
#10 0x00007ffff78689cd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fffdc0b2700 (LWP 12029)):
#0  0x00007ffff785bf7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffef29f6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffef29f7ac in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff371ba76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffff36ed5ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007ffff36ed8e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffff35ec88f in QThread::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ffff36ced13 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007ffff35eef2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fffef777f6e in start_thread (arg=0x7fffdc0b2700)
---Type <return> to continue, or q <return> to quit---
    at pthread_create.c:311
#10 0x00007ffff78689cd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffff7faf7c0 (LWP 12025)):
#0  0x00007ffff785bf7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffef29f6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffef29f7ac in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff371ba55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffff41819d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#5  0x00007ffff36ed5ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffff36ed8e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007ffff36f2e5b in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007ffff7b87587 in kdemain ()
   from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#9  0x00007ffff778fde5 in __libc_start_main (main=0x4006d0, argc=1,
    ubp_av=0x7fffffffdeb8, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffdea8) at libc-start.c:260
#10 0x00000000004006fe in _start ()
freininghaus
Moderator
Posts
224
Karma
1
OS
Thanks, but the backtrace shows no signs of anything freezing the application. Probably the slow stuff was finished already - it's hard to interrupt the program quickly enough.

Unfortunately, I currently have no further ideas how one could investigate the problem.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Could you try enabling all debug areas in "kdebugdialog" and then reproducing the problem in Dolphin? When doing so, please run Dolphin from a terminal so you can observe it's output - it may indicate at the very least which components are involved so we can investigate further.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
asevens
Registered Member
Posts
10
Karma
0
Ok, I think I'm doing it right. I enabled the debug in all areas and after running Dolphin from the terminal this is the output:

Code: Select all
alecs@kubuntu:~$ dolphin
dolphin(14060)/kdeui (KIconLoader) KIconTheme::KIconTheme: Icon theme "Humanity" not found.
dolphin(14060)/kdeui (KIconLoader) KIconTheme::KIconTheme: Icon theme "ubuntu-mono-light" not found.
dolphin(14060)/kdeui (KIconLoader) KIconTheme::KIconTheme: Icon theme "gnome" not found.
dolphin(14060)/kio (KDirWatch) KDirWatchPrivate::KDirWatchPrivate: INotify available:  true
dolphin(14060)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/alecs/.kde/share/config/baloofilerc" for "" ["KDirWatch-1"]
dolphin(14060)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/alecs/.local/share/user-places.xbel" for "" ["KDirWatch-2"]
dolphin(14060)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting KDirWatch for  "/home/alecs/.local/share/user-places.xbel"
dolphin(14060)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-alecs/ksycoca4"
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
dolphin(14060)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("trash:/")
dolphin(14060)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x111ecc0)
dolphin(14060)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "trash"
dolphin(14060)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 2 m_maxConnectionsPerHost: 2
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
dolphin(14060)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///home/alecs")
dolphin(14060)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/alecs" for "" ["KDirWatch-1"]
dolphin(14060)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x10a8140)
dolphin(14060)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "file"
dolphin(14060)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 5 m_maxConnectionsPerHost: 5
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown semantic role '@tooltip' in context marker for message {Detener la carga}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {En cualquier momento}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {Hoy}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {Ayer}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {Esta semana}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {Este mes}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {Este año}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {Cualquier valoración}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {1 o más}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {2 o más}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {3 o más}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {4 o más}."
dolphin(14060)/kdecore (KLocale) KuitSemanticsPrivate::formatFromContextMarker: "Unknown interface subcue ':option' in context marker for message {Máxima valoración}."
dolphin(14060)/kdeui (KMainWindow) KMainWindow::applyMainWindowSettings: KMainWindow::applyMainWindowSettings  "MainWindow"
dolphin(14060)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: instance(): ... initialised
dolphin(14060)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "Europe/Madrid"
dolphin(14060)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: readZoneTab( "/usr/share/zoneinfo/zone.tab" )
dolphin(14060)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x10baac0) )
dolphin(14060)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x10baac0) ,  KDirLister(0x1830970) )
dolphin(14060)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x171c700)  url= KUrl("trash:/")
dolphin(14060)/kio (Slave) KIO::Slave::createSlave: createSlave "trash" for KUrl("trash:/")
dolphin(14060)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alecs/dolphinH14060.slave-socket"
dolphin(14060)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/alecs")
dolphin(14060)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-alecs/dolphiny14060.slave-socket"
dolphin(14060)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x10a8140) KIO::Slave(0x171ece0)
dolphin(14060)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///home/alecs")
dolphin(14060)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x111ecc0) KIO::Slave(0x17048d0)
dolphin(14060)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("trash:/")
dolphin(14060)/kio KNFSShare::KNFSSharePrivate::findExportsFile: Could not find exports file! /etc/exports doesn't exist. Configure it in share/config/knfsshare, [General], exportsFile=....


And when I right click, this happens:
Code: Select all
dolphin(14060)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/alecs/.kde/share/templates" NotExisting for "" ["KDirWatch-4"]
dolphin(14060)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/alecs/.kde/share" for "/home/alecs/.kde/share/templates" [""]
dolphin(14060)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/usr/share/templates" for "" ["KDirWatch-4"]
dolphin(14060)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/")
dolphin(14060)/kio (bookmarks) KBookmarkManager::saveAs: KBookmarkManager::save  "/home/alecs/.kde/share/apps/kfileplaces/bookmarks.xml"
dolphin(14060)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x1a83040) )
dolphin(14060)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x19142a0)  url= KUrl("trash:/")
dolphin(14060)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x1a83040)  url= KUrl("trash:/")
dolphin(14060)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "inode/directory" ,  "Application"  : returning  1  offers
dolphin(14060)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "inode/directory" ,  "Application"  : returning  1  offers
dolphin(14060)/kdecore (services) KServicePrivate::init: The desktop entry file  "/home/alecs/.directory"  has Type= "Application"  but no Exec line

dolphin(14060)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "inode/directory" ,  "KFileItemAction/Plugin"  : returning  1  offers
dolphin(14060)/kio (KDirListerCache) KDirListerCache::listDir: Entry already in use: KUrl("trash:/")
dolphin(14060)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x1b7a390)  url= KUrl("trash:/")


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed