Bug 381115 - tab completion in konsole freezes system for about 20s
Summary: tab completion in konsole freezes system for about 20s
Status: RESOLVED DUPLICATE of bug 380974
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: 17.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 378520 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-12 07:09 UTC by Thomas Stein
Modified: 2017-08-26 11:21 UTC (History)
6 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 Thomas Stein 2017-06-12 07:09:46 UTC
hello devs.

after updating to plasma 5.10.1 first tab completion attempt freezes system for about 20s. Just like https://bugs.kde.org/show_bug.cgi?id=218979 i guess. 

any hints how to solve this?

thanks and cheers
Comment 1 Bart Van Assche 2017-06-13 02:16:37 UTC
Same problem with konsole 17.04.1 on xfce.
Comment 2 Govindarajulu Varadarajan 2017-06-14 21:27:43 UTC
I am seeing the same issue after upgrading plasma-workspace from 5.9.5.1-1       to 5.10.0-3

Am running i3-wm. Did not see the issue on gnome3.
If nothing seems abvious, I can git bisect it. Let me know.
Comment 3 Kurt Hindenburg 2017-06-19 01:45:25 UTC
I believe this is typically a sound issue - the shell tries to sound the bell if I recall correctly.
Comment 4 Kurt Hindenburg 2017-06-19 01:47:41 UTC
or https://bugs.kde.org/show_bug.cgi?id=380923 I wonder
Comment 5 Francois C. 2017-06-19 03:30:53 UTC
(In reply to Kurt Hindenburg from comment #3)
> I believe this is typically a sound issue - the shell tries to sound the
> bell if I recall correctly.

I'm not quite so sure of that. You are right konsole may notify user with bell sound but I don't remember of a bell sound if you go too far on the line while hitting LEFT arrow.

An easy way to reproduce the bug is:

1) (Important - Don't skip that step) Open a fresh new konsole
2) Type a command (whatever but for exemple, emerge -upv world + <RETURN>)
3) Hit UP arrow to display the last emerge command
4) Hit LEFT arrow til you exceed the first character of the command
5) ... bang, you got the ~20 seconds freeze.

For some reason step 1 seems important to get a freeze every time.
Comment 6 Thomas Stein 2017-06-19 07:36:38 UTC
Maybe to clear things up. It happens only once. If you wait the 20 sec the problem does not occur again in this very same konsole.
Comment 7 Arash Abedinzadeh 2017-06-28 13:38:53 UTC
git bisect points to https://phabricator.kde.org/D5012
Seems to be a DBus issue, at least with i3.
Comment 8 Wolfgang Bauer 2017-06-28 16:26:43 UTC
(In reply to Arash Abedinzadeh from comment #7)
> git bisect points to https://phabricator.kde.org/D5012
> Seems to be a DBus issue, at least with i3.

Then it is the same as bug#380974, and bug#380923 is likely the same too after all I think.
Comment 9 Wolfgang Bauer 2017-06-28 16:27:27 UTC
PS: try to delete /usr/share/dbus-1/services/org.kde.plasma.Notifications.service and see if it helps.
Comment 10 Bart Van Assche 2017-06-28 16:58:00 UTC
Thanks Wolfgang for the feedback. By running the following command I got rid of the freezing behavior:

rpm -e plasma5-workspace sddm-theme-openSUSE-42.1.1-20.1.noarch plasma5-workspace-branding-openSUSE-42.1.1-20.1.noarch sddm-branding-openSUSE-0.14.0-7.2.x86_64 sddm
Comment 11 Wolfgang Bauer 2017-06-28 17:48:28 UTC
(In reply to Bart Van Assche from comment #10)
> Thanks Wolfgang for the feedback. By running the following command I got rid
> of the freezing behavior:
> 
> rpm -e plasma5-workspace sddm-theme-openSUSE-42.1.1-20.1.noarch
> plasma5-workspace-branding-openSUSE-42.1.1-20.1.noarch
> sddm-branding-openSUSE-0.14.0-7.2.x86_64 sddm

So you removed the Plasma desktop completely?
Well, if you don't want to use it, that's fine I suppose.

But just deleting /usr/share/dbus-1/services/org.kde.plasma.Notifications.service would confirm whether it is the same issue as bug#380974...
Comment 12 Thomas Stein 2017-06-28 19:58:39 UTC
Deleting /usr/share/dbus-1/services/org.kde.plasma.Notifications.service solves the issue for me.
Comment 13 Wolfgang Bauer 2017-06-28 20:03:45 UTC
(In reply to Thomas Stein from comment #12)
> Deleting /usr/share/dbus-1/services/org.kde.plasma.Notifications.service
> solves the issue for me.

Thank you for the confirmation.
I'll mark this as duplicate then.

It obviously isn't a bug in konsole anyway.

*** This bug has been marked as a duplicate of bug 380974 ***
Comment 14 Govindarajulu Varadarajan 2017-06-29 00:15:45 UTC
Another workaround was to install notify-osd package. It worked for me.
Comment 15 Christoph Feck 2017-08-26 11:21:10 UTC
*** Bug 378520 has been marked as a duplicate of this bug. ***