LibreOffice gets Qt5 and Plasma integration

Hello @testers!

IIRC, we don’t have fine integration yet for the LibreOffice suite with Plasma and Qt, but things are changing!

https://code.chakralinux.org/packages/desktop/compare/0f4e8821...3475268c

With this commit, I’ve introduced patches from Gentoo Linux which provide supplementary code for Qt5 and the GTK3-KDE5 hybrid backend

https://code.chakralinux.org/packages/desktop/compare/3475268c...b45aa18b

With this commit, I ensure that the package is created and named libreoffice-qt5. I’ve uploaded the corresponding package to [testing] with pkgrel=2. If you are interested, please check your mirror and install this package manually. Note that the dependencies aren’t changed yet, as it still refers to the kde4 package. The new dependencies are in the first commit as the makedepends:

'qt5-x11extras' 'kcoreaddons' 'ki18n' 'kwindowsystem' 'kconfig' 'kio'

Please test the two plugins by executing LibreOffice the following way:

$ SAL_USE_VCLPLUGIN=qt5 libreoffice

and

$ SAL_USE_VCLPLUGIN=gtk3_kde5 libreoffice

respectively.

Check if the UI is broken/messy/not good with the Qt5/KDE theme, and the file dialog during saving/opening, and the print helper pop-up window. Also see how LO interacts with Plasma, the global menu plasmoid, and input methods.

(and, ofc, share your opinions below)

Thank you. Your feedback always make our packages better. =)

3 Likes

it looks good

[tom@frija ~]$ SAL_USE_VCLPLUGIN=qt5 libreoffice
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
kbuildsycoca4(1284): "kde-applications.menu"  not found in  ("/home/tom/.config/menus/", "/etc/xdg/menus/") 

Failed enumerating UDisks2 objects: "org.freedesktop.systemd1.NoSuchUnit" 
 "Unit udisks2.service not found." 
Failed enumerating UDisks2 objects: "org.freedesktop.systemd1.NoSuchUnit" 
 "Unit udisks2.service not found." 
Failed enumerating UDisks2 objects: "org.freedesktop.systemd1.NoSuchUnit" 
 "Unit udisks2.service not found." 
Failed enumerating UDisks2 objects: "org.freedesktop.systemd1.NoSuchUnit" 
 "Unit udisks2.service not found." 
Failed enumerating UDisks2 objects: "org.freedesktop.systemd1.NoSuchUnit" 
 "Unit udisks2.service not found." 
Failed enumerating UDisks2 objects: "org.freedesktop.systemd1.NoSuchUnit" 
 "Unit udisks2.service not found." 
Failed enumerating UDisks2 objects: "org.freedesktop.systemd1.NoSuchUnit" 
 "Unit udisks2.service not found." 
Failed enumerating UDisks2 objects: "org.freedesktop.systemd1.NoSuchUnit" 
 "Unit udisks2.service not found." 
Failed enumerating UDisks2 objects: "org.freedesktop.systemd1.NoSuchUnit" 
 "Unit udisks2.service not found." 
Failed enumerating UDisks2 objects: "org.freedesktop.systemd1.NoSuchUnit" 
 "Unit udisks2.service not found." 
LibreOffice(1261) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf!

it seems booth work as expected for me after a short test

Nice work @brli!

After playing around a bit with it the UI seems fine. The file dialog picker and print menu work as should.

However I have issues with the menu:

Qt5

  • I can see a standard menu
  • Doesn’t work with global menu widget

GTK3

  • No menu at all.
  • Doesn’t work with global menu widget

With both
$ libreoffice
$ SAL_USE_VCLPLUGIN=qt5 libreoffice
commands, i get an ugly win98 style UI.

But with this command
$ SAL_USE_VCLPLUGIN=gtk3_kde5 libreoffice
the ui are nice and beautiful QT ui.

*i did installed openjdk…

This topic was automatically closed after 85 days. New replies are no longer allowed.