[Open Office] kdefilepicker sigpipe in oob680-m5

Giuseppe Ghibò ghibo at mandriva.com
Wed Mar 1 08:50:22 EST 2006


Jan Holesovsky wrote:
> Hi Giuseppe,
> 
> On Wednesday 01 March 2006 13:16, Giuseppe Ghibò wrote:
> 
> 
>>I tried to build oob680-m4 and m5 using 20060127 ooo-build cvs,
>>but the resulting binaries have problem with the KDE
>>filepicker (note that this is not yet related to the problems
>>with accented character in filenames):
>>
>>As soon as I try to open a document, the filepicker opens correctly
>>(but it doesn't arrive to load the document) but then hangs just after, and
>>then it will result in a process:
>>
>>ghibo    18513 18502  0 12:54 pts/6    00:00:00 [kdefilepicker] <defunct>
>>
>>which means that problably its parent has been ended (note that I don't
>>get segfaults or coredumpts). The same problem doesn't happen
>>under GNOME filepicker (forcing OOO_FORCE_DESKTOP=gnome) or
>>standard OOo dialogs. Running soffice.bin under gdb it
>>ends with "Program received signal SIGPIPE, Broken pipe."
>>(I wasn't able to get the backtrace).
> 
> 
> No idea :-(  There was no change recently (= for oob-m*) in the kdefilepicker 
> code, and it works for me fine.  Didn't you have some change in your KDE?  

I don't think there were changes to KDE recently.

> What happens if you run <ooo_installation>/program/kdefilepicker, type 'exec'  
> and press Enter?  Do you get the file picker?

I get it but as soon as I select a file and click on OK, I get:

fileSelectionChanged
kdefilepicker: symbol lookup error: kdefilepicker: undefined symbol: 
_ZN3KIO9NetAccess12mostLocalURLERK4KURLP7QWidget

while on a working one I get:

fileSelectionChanged
accept
quit

Sound something related to lines:

#if KDE_IS_VERSION(3,5,0)
                         KURL qLocalSelectedURL = KIO::NetAccess::mostLocalURL( 
selectedURL(), this );
#else
                         KURL qLocalSelectedURL( selectedURL() );
#endif
                         qSelectedURL = addExtension( qLocalSelectedURL.url() );

lemme check which KDE version I build under...

> 
> 
>>What is also strange is that if I open one KDE file
>>requester with CTRL-O and then without selecting any file,
>>I press again CTRL-O several times, it opens another KDE file requester
>>and another and another and so on.

Ah, so the KDE filepicker is external and called trough a pipe,
while the Gnome and/or standard one is internal? I had never noticed this.

> 
> 
> This was always there.  Unfortunately, it's not that simple to do window from 
> external application modal :-(

OK.

Bye.
Giuseppe.


More information about the Openoffice mailing list