Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 926227

Summary: app-office/libreoffice-7.6.5.2[kde] UI is broken in Plasma 6 session
Product: Gentoo Linux Reporter: Eugene Shalygin <eugene.shalygin>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal CC: eugene.shalygin
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gerrit.libreoffice.org/c/core/+/164700
See Also: https://bugs.gentoo.org/show_bug.cgi?id=925562
Whiteboard: fixed in >=7.6.6.1
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 926828, 927996    

Description Eugene Shalygin 2024-03-05 22:37:14 UTC
libreoffice built with the kde use flag does not use the kf5/qt5 VCL plugin when launched from within a Plasma 6 session. https://wiki.documentfoundation.org/Development/Environment_variables says there is a kf6 plugin.

Reproducible: Always

Steps to Reproduce:
1. USE="kde" emerge -1 libreoffice
2. start Plasma 6 session
3. Launch libreoffice
Actual Results:  
GUI is broken (no proper fonts, etc.).
Comment 1 Andreas Sturmlechner gentoo-dev 2024-03-06 17:14:20 UTC
When started with SAL_USE_VCLPLUGIN=kf5 it works fine?
Comment 2 Eugene Shalygin 2024-03-07 09:15:29 UTC
(In reply to Andreas Sturmlechner from comment #1)
> When started with SAL_USE_VCLPLUGIN=kf5 it works fine?

Yes, but I still have the qt5 use-flag enabled globally.
Comment 3 Andreas Sturmlechner gentoo-dev 2024-03-07 09:18:41 UTC
app-office/libreoffice-7.6.5.2 does not have a qt5 use flag and this is not a dependency issue, it is how upstream chooses to load a VCL plugin based on environment and 7.6 has no idea of what Plasma 6 is yet.
Comment 4 Larry the Git Cow gentoo-dev 2024-03-12 11:50:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=422996a7e7149c2f5a5d5b6e5e135d865657ecb2

commit 422996a7e7149c2f5a5d5b6e5e135d865657ecb2
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-12 11:31:01 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-12 11:49:19 +0000

    app-office/libreoffice: add 7.6.6.1 w/o KEYWORDS
    
    Bug: https://bugs.gentoo.org/926227
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-office/libreoffice/Manifest                    |   2 +
 .../files/libreoffice-7.6.6.1-detect-plasma6.patch | 153 +++++
 app-office/libreoffice/libreoffice-7.6.6.1.ebuild  | 668 +++++++++++++++++++++
 3 files changed, 823 insertions(+)
Comment 5 Andreas Sturmlechner gentoo-dev 2024-03-25 12:43:10 UTC
Please test with 7.6.6.3 if you can.
Comment 6 Eugene Shalygin 2024-03-25 14:05:51 UTC
Thanks, 7.6.6.3 looks good.
Comment 7 Larry the Git Cow gentoo-dev 2024-03-28 18:48:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cacea8cf7a79a15ec49da1eac5388f20af003ea

commit 8cacea8cf7a79a15ec49da1eac5388f20af003ea
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-28 18:30:24 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-28 18:48:17 +0000

    app-office/libreoffice: Re-add KEYWORDS to 7.6.6.3
    
    Closes: https://bugs.gentoo.org/926227
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-office/libreoffice-l10n/libreoffice-l10n-7.6.6.3.ebuild | 2 +-
 app-office/libreoffice/libreoffice-7.6.6.3.ebuild           | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)