Bug 27288 - Bug in lib64kf5iconthemes5 gives "Invalid context for missing Adwaita theme" errors
Summary: Bug in lib64kf5iconthemes5 gives "Invalid context for missing Adwaita theme" ...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 8
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2020-09-18 09:38 CEST by Joe Da Silva
Modified: 2021-01-26 14:44 CET (History)
2 users (show)

See Also:
Source RPM: kiconthemes-5.76.0-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Joe Da Silva 2020-09-18 09:38:45 CEST
Description of problem:
Chasing an earlier bug, and having recent patches added, I was not able to test kmail using plasma, but was able to try using xfce instead. When you open a command line to see what possible error messages appear from stdout/stderr I saw this:
[boinc@genesis ~]$ kwrite errors.txt 
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"



Version-Release number of selected component (if applicable):
mga8beta1

How reproducible:
Start xcfe user session and then open a command line, and run a program like kmail or kwrite

Steps to Reproduce:
1.select xcfe desktop and open a user session
2.open a command line terminal
3.run a plasma program like kwrite or kmail
Comment 1 Aurelien Oudelet 2020-09-18 18:23:47 CEST
Hi, thanks for reporting this bug.

Strange behaviour with QT app running on GTK Desktop DE.
Therefore, Plasma is running fine on Cauldron today. Even 64bits and 32Bits.


Assigned to the XFCE package maintainer.
(Packager: Please set the status to 'assigned' if you are working on it)

Summary: mga8beta1 - xcfe Invalid context for missing Adwaita theme (32bit) => mga8beta1 - Xfce Invalid context for missing Adwaita theme (32bit)
Keywords: (none) => Triaged
Target Milestone: --- => Mageia 8
Assignee: bugsquad => jani.valimaa

Aurelien Oudelet 2020-09-18 18:27:19 CEST

CC: (none) => ouaurelien
Source RPM: (none) => adwaita-xfce-theme-20190323-2.mga8.src.rpm

Comment 2 Jani Välimaa 2020-09-18 20:53:36 CEST
What's the problem here? Excess msgs in terminal?

Sounds more like a bug in some kf5 lib.
Comment 3 Jani Välimaa 2020-09-18 20:54:57 CEST
See https://bugzilla.redhat.com/show_bug.cgi?id=1708740

$ LC_ALL=C.UTF-8 grep "Invalid Context=" /usr/lib64/* 2>&1| grep -v grep
Binary file /usr/lib64/libKF5IconThemes.so.5 matches
Binary file /usr/lib64/libKF5IconThemes.so.5.74.0 matches

$ rpm -qf /usr/lib64/libKF5IconThemes.so.5
lib64kf5iconthemes5-5.74.0-1.mga8

Assignee: jani.valimaa => bugsquad
Source RPM: adwaita-xfce-theme-20190323-2.mga8.src.rpm => kiconthemes-5.74.0-1.mga8.src.rpm

Comment 4 Jani Välimaa 2020-09-18 20:57:00 CEST
Fedora has applied a patch for rhbz#1708740.

https://src.fedoraproject.org/rpms/kf5-kiconthemes/c/179917ac6aee30a6e7c0c61b76151c03272ae8b5?branch=master
Comment 5 Aurelien Oudelet 2020-09-18 21:06:31 CEST
Many thanks Jani for your wisdom.
So looks like a KF5 bug and excessive logging.
I do not see these messages on Cauldron Plasma.
Assigning to KDE maintainers.

Assignee: bugsquad => kde

Lewis Smith 2020-09-22 21:52:39 CEST

Summary: mga8beta1 - Xfce Invalid context for missing Adwaita theme (32bit) => Bug in lib64kf5iconthemes5 gives "Invalid context for missing Adwaita theme" errors

Comment 6 Joe Da Silva 2020-09-26 22:06:40 CEST
Hi Jani, Hi Aurelien, Hi Lewis,
Added latest patches, created a brand new user, logged-in as new user into new xfce environment - but still have same messages:

[testtoday@genesis Desktop]$ kwrite
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"



The above was for xfce - for plasma, I was only expecting kwrite to complain about:
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
kf.sonnet.clients.hspell: HSpellDict::HSpellDict: Init failed
Comment 7 Aurelien Oudelet 2020-12-31 11:12:15 CET
What about with new version?

kiconthemes-5.76.0-1.mga8.src.rpm

Source RPM: kiconthemes-5.74.0-1.mga8.src.rpm => kiconthemes-5.76.0-1.mga8.src.rpm

Comment 8 David GEIGER 2021-01-26 14:44:52 CET
Here it is fixed:

$ kwrite
$

So closing of this bug!

Resolution: (none) => FIXED
Status: NEW => RESOLVED
CC: (none) => geiger.david68210


Note You need to log in before you can comment on or make changes to this bug.