Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926227 - app-office/libreoffice-7.6.5.2[kde] UI is broken in Plasma 6 session
Summary: app-office/libreoffice-7.6.5.2[kde] UI is broken in Plasma 6 session
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL: https://gerrit.libreoffice.org/c/core...
Whiteboard: fixed in >=7.6.6.1
Keywords: UPSTREAM
Depends on:
Blocks: 926828 927996
  Show dependency tree
 
Reported: 2024-03-05 22:37 UTC by Eugene Shalygin
Modified: 2024-03-28 18:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)