From kde-commits Mon Jun 21 14:07:57 1999 From: Kurt Granroth Date: Mon, 21 Jun 1999 14:07:57 +0000 To: kde-commits Subject: Re: kdegraphics/kview X-MARC-Message: https://marc.info/?l=kde-commits&m=92997303511968 CVS by shausman wrote: > - fixed embedding bug. The problem was simple but crazy: the server name > _must_ not contain spaces, because it is passed on the commandline by > the mediators, and obviously spaces get lost :-( . The fix was to change > Name=Image Viewer into Name=KView -> CORBA servers may not have spaces > in the Name= entry . A workaround would perhaps to hack a > space_to_something_else converter into KActivator, but I'm not so sure > about this. Another one would be to add an extra CORBAServerName like > entry, but IMHO this would really bloat KService. > Ideas? Better solutions? Can't all fields be quoted when passing it around on the command line? The quotes should be discarded by the time the inputs are parsed, but they should allow spaces in the meantime.. i.e, cmdlineprog "Image Viewer" instead of cmdlineprog Image Viewer -- Kurt Granroth | granroth@kde.org KDE Developer/Evangelist | http://www.pobox.com/~kurt_granroth KDE -- Putting a Friendly Face on Linux