Skip to content

KDE-CVS-Digest for October 8, 2004

Saturday, 9 October 2004  |  Dkite

In this week's KDE-CVS-Digest (experimental layout):

KSpread improves Gnumeric export filter. Krita adds a crop tool. Kexi adds database command line options. gmail.google.com now works in Konqueror. Kicker clock supports NTP. Whither DBUS and KDE?

Comments:

Its good to be the first one - Oliveira - 2004-10-09

Thanks Derek. It is always good to read news from Krita, and is especially good to know that gmail is going to work with konqueror!

Re: Its good to be the first one - Ian Monroe - 2004-10-09

It looks like the GMail fix was backported to 3.3. This means its going to be in the 3.3.1 release correct?

Re: Its good to be the first one - Anonymous - 2004-10-09

> This means its going to be in the 3.3.1 release correct? Either it will be not or it will delay the 3.3.1 release significantly.

Embed safari rendered in konqueror, possible? - Richard - 2004-10-09

Just a thought would it be possible to embed safari's version of khtml in konqueror? That way konqueror would have access to 3 render engines, being native khtml, gecko and safari. If it would be possible, users could benefit of (all) improvements made to safari, while not all improvements are merged with khtml. Looking from far far away; embedding gecko into konqueror seems more difficult than embedding safari's renderor.

Re: Embed safari rendered in konqueror, possible? - Rinse - 2004-10-09

I'm not a programmer, but I think that Safari depends too much on macOS to get it easily integrated in Konqueror.

DBUS and DCOP Hoopla - David - 2004-10-09

I think many people who are really defending DCOP are missing the essential truth, which is that KDE can no longer stand alone within a computer system. I saw some of the in the Freedesktop talk at akademy, and virtually no developer grasped it there. KDE has to communicate with lower level components like HAL and has to communicate better with CUPS to provide the better integration people need. These components are outside the domain of KDE. Because DCOP is essentially tied to Qt practically speaking, this is just never going to happen. You would be dictating to other projects that they effectively must use Qt to communicate, and this just isn't going to happen. Even if they aren't religious, putting a Qt dependency on a project is totally ludicrous. None of these projects are going to do it with glib or other components, they most certainly won't do it with Qt.

Re: DBUS and DCOP Hoopla - Nolridor - 2004-10-09

I do agree. DCOP may be good as an inter application message protocol for applications running in the same session. DBUS designed to dispatch messages on the system level so it's good way to communicate with the systems components outside KDE. Can't we just use DCOP and DBUS? All what I read about says that one is lacking the features of the other one, and vice versa... So why not use both?

Re: DBUS and DCOP Hoopla - Rahul Sundaram - 2004-10-09

Hi Making use of both might be a feasible option in kde for the short term and this is being discussed in the mailing lists. Having to maintain both with possible overlaps is an overkill. DBUS is a better system level IPC and it can probably be extended to do what dcop does. after all dbus was designed after dcop and has explicit designs to stay compatible to the extend possible

Re: DBUS and DCOP Hoopla - Derek Kite - 2004-10-09

And what if no <kde4 app will run? What if it opens the linux desktop to worms and insecurities? What if it locks when it gets busy? Those are some possibilities with the current dbus. It isn't being used yet. There hasn't been any performance testing yet.It is a good idea, but as usual with this stuff, the devil is in the details. Maybe dbus isn't the best idea for an ipc system. Maybe something else would work better. Did I mention security? From what I understood of the discussion, each application that connects to the bus is to allow or disallow as desired. Is this good, or asking for trouble? If by design it communicates hardware details, someone has elevated privileges. Is it a good idea that every hacker can depend on dbus running, the same daemon, same codebase everywhere? All this can be and probably will be fixed. Hopefully. One thing most Kde developers grasp is that a bad implementation of a good idea is a lot of bother. Derek

Re: DBUS and DCOP Hoopla - Ian Monroe - 2004-10-09

I agree. If Gnome actually picks up DBUS, thats a strong reason to work with it. I found the following to be a pretty useful introduction to DBUS: http://freedesktop.org/Software/dbus/doc/dbus-tutorial.html From my user point of view I just want whatever replaces DCOP to be as easy to use. DCOP is really handy for making keybindings and such. Going with the flow should dictate what multimedia server that is eventually chosen. Conflicting ways of doing sound on Linux/Unix has been a real thorn in the side of desktop use. Doesn't KDE pretty much use CUPS already? One of the reasons I chose CUPS was its strong support in KDE 3. Printing is one of KDE's strongest areas. For non-KDE apps I just have them print to the command kprinter and I don't have to worry about it. Hehe,I don't think anyone has suggested that non-KDE apps should start opening DCOP slots. Though maybe I just haven't been paying enough attention.

Re: DBUS and DCOP Hoopla - David - 2004-10-09

Well, CUPS was just an example really. If you plugged in a printer you should automatically know about it, and if possible, have it autoconfigured through CUPS.

Re: DBUS and DCOP Hoopla - Xanadu - 2004-10-10

If it were a USB printer, yea, ok, I might agree, there could be some way for "KDE" to pop up a message box saying that it noticed a printer just plugged in and ask what to do with it. I have a USB flash drive and KDE doesn't seem to notice when I plug it in. The kernel dumps it's usual messages and I click my little icon on the desktop to access it, but, KDE doesn't do anything special when I plug it in or remove it from my system. If the printer is a parallel print then obviously a "hot plug" daemon in KDE to monitor devices just plugged in would be usless since the BIOS of the machine needs to see that there's something there. Or maybe I'm just misunderstanding what you're suggesting... M.

Re: DBUS and DCOP Hoopla - Ian Monroe - 2004-10-10

You have to remember that KDE is not just for Linux and such hardware configuration is a job that has traditionally been left up to kernel devs and Linux distributions themselves to work out. Certainly it would be ideal that a user just plug in their printer and have it work. Given that cups already runs a daemon, seems like cups would be the correct group to implement it. There is a hot plug daemon and its called hotplug. Granted hotplug just inserts the correct modules and whatnot. I suppose KDE could give annoying/comforting messages whenever it noticed a new module inserted (or a subset of those modules) into the kernel. Actually its the kind of system tray utility that a KDE dev could probably whip up over a weekend (though I personally don't see the need for it, especially since I don't use autofs).

Re: DBUS and DCOP Hoopla - JohnFlux - 2004-10-11

"I have a USB flash drive and KDE doesn't seem to notice when I plug it in. " This is what project utopia is all about (which uses HAL btw).

Re: DBUS and DCOP Hoopla - gerd - 2004-10-09

Yes, Control Center integration of Yast-Toolset. Integration of emulators such as dosbox..

Re: DBUS and DCOP Hoopla - Eric Laffoon - 2004-10-10

> I think many people who are really defending DCOP are missing the essential truth, which is that KDE can no longer stand alone within a computer system. Am I missing something? Defending DCOP? I'm just seeing developers ask intelligent questions, and there are a lot to be asked before proceeding. Also KDE has more inclusive hacks than anyone. You can run X applications as a KPart and even load ActiveX components. This is an unfair statement. > I saw some of the in the Freedesktop talk at akademy, and virtually no developer grasped it there. Again, how can you make this absolute statement? Aaron for instance has done a lot with freedesktop.org and I'm curious what only you grasp? > Because DCOP is essentially tied to Qt practically speaking, this is just never going to happen. You could say DCOP is tied to Qt, but it's based on X11 ICE. Anyway I don't think there is any question that there are some interesting things being done with DBUS that we want to take advantage of. For me one of the most interesting thing is the Qt4 wrappers making it less of a pain to deal with. The point is that before we drag DCOP out to the curb with the coffee grounds and swear allegiance to DBUS we need to know that we have done the right thing by users... because you will complain if things slow down and we will have fingers pointed at us if we have security issues. DCOP is being used extensively in KDE. We are using it now for scripting in Kommander. I'm particular interested in real world performance because I can run several thousand DCOP calls a second right now. Performance is a real issue for Kommander. I think DBUS will probably be a good thing, but the last thing I want to do is stumble in blindly because it's trendy, get to talk to hardware and lose a responsive desktop. You have to follow sound procedure. Peer review is what open source is about, and you shouldn't get upset that people are reviewing instead of accepting it as gospel.

Re: DBUS and DCOP Hoopla - David - 2004-10-10

"I'm just seeing developers ask intelligent questions, and there are a lot to be asked before proceeding. Also KDE has more inclusive hacks than anyone." They are asking intelligent questions - but in the wrong context. DCOP is a system that exists purely within the domain of KDE. Yes, it uses ICE, but to use usefully it as it stands it really is Qt specific. "Again, how can you make this absolute statement? Aaron for instance has done a lot with freedesktop.org and I'm curious what only you grasp?" Aaron was about the only person who did understand it. "The point is that before we drag DCOP out to the curb with the coffee grounds and swear allegiance to DBUS we need to know that we have done the right thing by users..." Quite right.

Re: DBUS and DCOP Hoopla - Richard Dale - 2004-10-10

"Aaron was about the only person who did understand it." I was at the aKademy talk, and I have to say that you're talking rubbish! KDE developers know perfectly well how DCOP and D-BUS work, and their relative merits. The only issue we have is the best way forward, as discussed recently on the kde-core-devel list and reported by Derek. In fact I had a late night discussion there with Aaron and others, where he was acting as the Devil's Advocate, and was arguing against adopting D-BUS. "but to use usefully it as it stands it really is Qt specific" The Qt specific thing about DCOP is the QDataStream <-> QByteArray marshalling, and nothing else. That's published and could have been used by D-BUS. The fact that it wasn't doesn't particularly matter anyway.

Re: DBUS and DCOP Hoopla - Correction - 2004-10-11

"Aaron was about the only person who did understand it." Maybe the whole "reading" thingy is not your strong side, but if you'll take a look at the D-BUS AUTHORS file you'll see two kde.org addresses there.

Re: DBUS and DCOP Hoopla - Derek Kite - 2004-10-12

What I understood from the freedesktop.org presentation is that DBUS is just a start. DBUS is useless unless people start using it. From the Kde standpoint we have a working IPC mechanism. The desktop depends on it. If you read the thread, Ian said that the most common usage for IPC right now is asking if something is running. I plug things into my box maybe a few time a month, but I depend on what DCOP does every time I sit down. So how do we, you included (I hope to see some patches) make Kde work as well as it does now with DBUS? It isn't simple, and it potentially is a pile of work. Derek

Re: DBUS and DCOP Hoopla - ac - 2004-10-10

Sorry, but throwing away a working, proven, stable and cross-platform IPC mechanism (as DCOP is) and breaking backwards compatibility completely just because there is some new kid on the block and it's trendy, THAT is ludicrous. If there are KDE applications which have a need to talk to DBUS they're free to do this, I haven't heard that you can't have DCOP and DBUS together in the same application. Nobody demands that other projects implement DCOP. If DBUS proves to have all the functionality, the reliability, performance and cross-platform abilities (yes, we run KDE on Solaris here and there aren't any Linux kernel events on that system) of DCOP then it might be a replacement but so far I haven't seen any applications really using it. Until then stick with the proven DCOP and implement DBUS where necessary IMO. BTW, I have the impression the KDE developers are grasping it very well in general. kk.

Re: DBUS and DCOP Hoopla - Richard Dale - 2004-10-11

"..breaking backwards compatibility completely just because there is some new kid on the block and it's trendy, THAT is ludicrous." It's not just because there is a new kid on the block. It's very important for KDE to interoperate with other toolkits. Because DCOP depends on X11 ICE it means you can't easily have a native Mac OS X version for instance, whereas with a sockets based ipc mechanism that's no problem. "If DBUS proves to have all the functionality, the reliability, performance and cross-platform abilities" I see no reason why it won't. It seems to me that it has been carefully engineered not to be over-engineered, and to be compatible with DCOP. "yes, we run KDE on Solaris here and there aren't any Linux kernel events on that system" Well the whole idea of the system D-BUS is to raise the level of abstraction to not depend on things like kernel events. If someone inserts a CD in the disk drive, the D-BUS signal should be the same on Solaris as Linux even though the origination of the event might differ. "BTW, I have the impression the KDE developers are grasping it very well in general." Yes, I agree KDE developers understand this well, along with the Gnome developers. If only we could coordinate on File Open/Close dialogs and other UI elements just as well..

DBUS vs DCOP - Jonas - 2004-10-10

Pardon my ignorance, I haven't read the DBUS spec yet. Does it use the X11-style IPC like DCOP? It is important that DBUS traffic flows along with the underlying X11, so thin clients remain a flexible and powerful solution.

Re: DBUS vs DCOP - Richard Dale - 2004-10-10

"Does it use the X11-style IPC like DCOP?" No, it doesn't use ICE, it uses sockets. Which means it doesn't depend on X11, and that's a good thing.

Re: DBUS vs DCOP - Jonas - 2004-10-10

So how do I use it between programs on different hosts? Is it supposed to be forwarded by SSH along with the X11 session?

Re: DBUS vs DCOP - koos - 2004-10-10

Hmm, finally someone that might know how that works with DCOP. See my question at http://lists.kde.org/?l=kde-devel&m=109351129624025&w=2 Please, can you give (a pointer to) an example how that works?