[Libreoffice] Problem with clipboard paste in 3.5

Petr Cisar petr.cisar at ericsson.com
Mon Jan 23 02:29:25 PST 2012


Hello

I did some tests, I tried to put some debug printouts to file clone/libs-gui/dtrans/source/generic/clipboardmanager.cxx, but never seen one while running LO.
Also I tried to use gdb, but this file is not among the sources gdb loaded, and libdtrans is not in info sharedlibrary printout when I stop LO in the middle.
However I could see  clone/libs-gui/vcl/unx/generic/dtrans/X11_clipboard.cxx which is according to my understanding responsible for the middle-button paste.
What concerns KDE, I have the KDE support disabled in LO build, and I am using KDE3.5, so I don't think it may cause this problem. Also, the clipboard worked in older versions of LO.
I use following options for the build:

export DEBUG="--enable-debug"
CC="gcc" CXX="g++" CPPFLAGS=$INC CXXFLAGS="-O2" CFLAGS="-O2" LDFLAGS="$LIB -s -Wl,-z,combreloc" nice -n 15 ./autogen.sh --prefix=$PREFIX --with-lang="$LANGUAGES" --disable-kde --disable-kde4 --disable-mozilla --without-junit --with-system-libxml --with-system-libxslt --with-system-cairo --with-system-db  --with-system-curl --with-system-mysql --with-system-mesa-headers --with-system-openssl --with-system-python --with-system-stdlibs --with-system-zlib --with-system-mysql --with-system-jpeg --enable-dbus --with-max-jobs=1 --libdir=$TOPDIR $DEBUG $*

So my next question is whether it is possible that LO can run without libdtrans for some reason and what may be the possible cause ?

Best Regards
Petr Cisar




On Thursday 19 January 2012 17:54:04 Kohei Yoshida wrote:
> On Thu, 2012-01-19 at 16:39 +0100, Petr Cisar wrote:
> > Hello.
> > I managed to build the recent version of Libreoffice 3.5.0 on x86_64 Linux.
> > The only problem I have found so far is that the CTRL-V clipboard paste does not do anything, as if the clipboard is empty.
> > However, the middle mouse button works.
> 
> So, copy and pasting on Linux can be influenced by several factors.
> First of all, if you are running KDE, chances are that KDE's clipboard
> manager thingie (I forget the name) can interfere with LibreOffice's
> copy and paste.  If you are in this situation, try disabling it to see
> if that makes any difference.
> 
> Failing that, most of the clipboard handling code for unix platform is
> located under vcl/generic/dtrans.
> 
> HTH,
> 
> Kohei
> 




More information about the LibreOffice mailing list