Bug 155330 - KDE4 konsole part start up failure, tested with Konqueror+Krusader2
Summary: KDE4 konsole part start up failure, tested with Konqueror+Krusader2
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Robert Knight
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-09 12:47 UTC by Karai Csaba
Modified: 2009-01-13 21:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karai Csaba 2008-01-09 12:47:51 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

KDE version: 3.97.

I can't start the embedded terminal emulator in Krusader2 and Konqueror.

The terminal emulator widget is generated properly, but after that konsole_part hangs and even fails to write out the prompt. It freezes.

As neither Krusader2 nor Konqueror handle the terminal emulator properly, I would think, that the error is in konsole_part.

Thanks,

    Csaba Karai
Comment 1 Robert Knight 2008-01-09 14:56:12 UTC
Hello,

Can you run Konqueror or Krusader2 from the terminal and see if any debugging messages are printed by Konsole?

> but after that konsole_part hangs and even fails 
> to write out the prompt. It freezes.

Does Konqueror / Krusader freeze or is it just the terminal which is not usable?
  If you right click on the terminal display, do you see a context menu?

Comment 2 Karai Csaba 2008-01-09 15:51:20 UTC
Krusader / Konqueror doesn't freeze. I can close the widget and reopen it.

It's just an empty black widget, with a square at the top of it (cursor).

+------+
|[]    |
|      |
|      |
+------+

I will send the logs later.
Comment 3 Karai Csaba 2008-01-09 19:20:09 UTC
Krusader:

krusader(5151)/kdecore (KLibLoader) findLibraryInternal: plugins should not have a 'lib' prefix: "libkonsolepart.so"
krusader(5151)/kdeui (KXmlGui) KXmlGuiVersionHandler::KXmlGuiVersionHandler: found no version in "/usr/share/kde4/apps/konsole/konsoleui.rc"
krusader(5151)/kdeui (KXmlGui) KXmlGuiVersionHandler::KXmlGuiVersionHandler: found no version in "/usr/share/kde4/apps/konsole/sessionui.rc"


Konqueror:

konqueror(5500) KMimeTypeFactory::parseMagic: Now parsing  "/usr/share/mime/magic"
konqueror(5500) KonqViewManager::splitMainContainer: KonqViewManager::splitMainContainer()
konqueror(5500) KonqViewManager::createView: KonqViewManager::createView  "konsolepart"
konqueror(5500) KonqFactory::createView: Trying to create view for " "Browser/View" "
konqueror(5500)/kdecore (trader) KServiceTypeTrader::defaultOffers: query for serviceType  "Browser/View"  : returning  13  offers
konqueror(5500) KonqFactory::createView: Found requested service  "konsolepart"
konqueror(5500) KonqFactory::createView: Trying to open lib for requested service  "konsolepart"
konqueror(5500)/kdecore (KLibLoader) findLibraryInternal: plugins should not have a 'lib' prefix: "libkonsolepart.so"
konqueror(5500)/kdeui (KXmlGui) KXmlGuiVersionHandler::KXmlGuiVersionHandler: found no version in "/usr/share/kde4/apps/konsole/konsoleui.rc"
konqueror(5500)/kdeui (KXmlGui) KXmlGuiVersionHandler::KXmlGuiVersionHandler: found no version in "/usr/share/kde4/apps/konsole/sessionui.rc"
konqueror(5500) KonqView::openUrl: KonqView::openUrl url= KUrl("about:konqueror")  locationBarURL= ""
konqueror(5500) KonqView::slotStarted: slotStarted: Window ID =  35651588
konqueror(5500)/libkonq KonqHistoryManager::addToHistory: ## addToHistory:  "about:konqueror"  Typed URL:  "" , Title:  ""
konqueror(5500) ToggleViewGUIClient::slotToggleView: ToggleViewGUIClient::slotToggleView setToggleView(true) on  KonqView(0x83880c0)
kio_file(5480) FileProtocol::put: put():  "/home/ckarai/.kde4/tmp-linux-3z2a/konquerorjC5500" , mode= 384
kio_file(5480)/kio (kioslave) KIO::SlaveBase::canResume: SlaveBase::canResume offset= "0"
konqueror(5500)/kio (Slave) KIO::Slave::createSlave: createSlave ' "about" ' for  "about:konqueror"
konqueror(5500)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/home/ckarai/.kde4/socket-linux-3z2a/konquerorat5500.slave-socket"
kio_file(5480) FileProtocol::put: Appending .part extension to  "/home/ckarai/.kde4/tmp-linux-3z2a/konquerorjC5500"
konqueror(5500)/kparts KParts::ReadOnlyPartPrivate::_k_slotJobFinished: ReadOnlyPart::slotJobFinished
konqueror(5500) KonqView::slotCanceled: KonqView::slotCanceled
Comment 4 Robert Knight 2008-01-18 00:21:30 UTC
A couple of questions:

1.  Do you get a popup menu when right-clicking in the empty terminal area?
2.  Does the Konsole application work? (as opposed to the embedded part).
Comment 5 Robert Knight 2008-03-17 18:36:04 UTC
Without further feedback I cannot confirm this bug.
Comment 6 Karai Csaba 2008-05-06 00:17:58 UTC
I've checked with the newest KDE alpha release. Still doesn't work.

1. Yes, there is a popup menu. I can configure anything.
2. Yes, konsole works.

It's just a text editor window. I can enter texts, no prompt, no answer, no any reaction.

It seems as if the stdin/stdout to/from the shell is completely lost.

Try:
- start konqueror (KDE4)
- Window menu
- Show Terminal Emulator
Comment 7 Robert Knight 2008-05-06 00:55:35 UTC
I can reproduce this with a recent trunk build now.  
Comment 8 Nick Shaforostoff 2009-01-12 01:05:38 UTC
similar F4 feature works in dolphin
Comment 9 Nick Shaforostoff 2009-01-12 01:12:51 UTC
wait a minute!

embedded terminal emulator works in konqueror, but only if it is launched when a folder is opened in the current tab.

if i open new empty tab (i.e. it may be khtml_part or dolphin_part), emulator doesn't work. so the solution is to show the option only when dolphin_part is loaded (i.e. some folder is opened).
Comment 10 Karai Csaba 2009-01-13 21:59:42 UTC
Hi, Krusader works now. A developer of our team has already fixed the problem.
The KDE4 API behaves differently than KDE3 did.

Thanks for the help,

    Csaba