KonsolePart, the finale
I’m not sure whether i should cry or laugh. There is some really stupid code in konsole_part.cpp. In essence, it does delete this and then proceeds to do some stuff. And craaashh. Don’t you love it? It couldn’t be more obvious, if someone tested the interface. There is even a testcase in kdelibs. Guess what. It crashes.
I’m rather unhappy with this stuff, as it is. The TerminalInterface is rather useless, as i already mentioned.
I want to rant, i want to flame, i want to cry, i want to die.
Existing code just hates me. I always have to work around some brain damage. I had to ditch kmdi. It just didn’t work. I spent a lot of time discovering new and interesting ways in which it can break. This is very frustrating experience. And i’m experiencing the same with konsolepart now. Buaaaahaaa. Rethink your design.
I’m really tired now. I’m waiting if someone on kde-core-devel replies. I wrote a rather long and explainy and polite mail about the crash. I’m curious whether i will get a reply. Also, Oswald Buddenhagen replied to my first mail. Proposed a different solution: subclass KProcess. I can’t see how to make this work. I replied back. Will see.