| Summary: | GTK apps complain about missing window_decorations.css under Plasma | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Aurelien Oudelet <ouaurelien> |
| Component: | RPM Packages | Assignee: | KDE maintainers <kde> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | High | CC: | fri, sarahroxon6 |
| Version: | Cauldron | Keywords: | IN_ERRATA8 |
| Target Milestone: | Mageia 8 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | breeze-gtk-5.20.4-1.mga8.src.rpm | CVE: | |
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 28788 | ||
| Attachments: | Correct gtk-3.0 folder for ~/.config/ that correct all GTK errors | ||
|
Description
Aurelien Oudelet
2021-02-05 17:44:59 CET
Created attachment 12312 [details]
Correct gtk-3.0 folder for ~/.config/ that correct all GTK errors
This attached tar.gz archive contains the correct gtk-3.0 to be placed in
~/.config/ to no longer have complain about missing files when GTK apps are running under Plasma.
Note that these errors were logged in ~/.local/share/sddm/xorg-session.log
Morgan Leijström
2021-02-06 13:17:29 CET
Keywords:
FOR_ERRATA8 =>
IN_ERRATA8 David G has backported a potential fix in 8/core/updates_testing/kde-gtk-config-5.20.4-2.mga8.x86_64.rpm Will test this. Tested yet? Yeah,this has been tested but no, this does not fix the issue. So, for errata. In facts, some settings in ~/.config/gtk-3.0/ directory are carried over update from Mageia 7 to Mageia 8. GTK3 apps will complain silently in ~/.local/share/sddm/xorg-session.log about missing files. This leads to unnecessary datas written in this file because apparently window decorations are properly applied meanwhile. Parenthesis: That is sad is that upstream Plasma Devs fix issues in some Plasma Workspace/KDE Frameworks/KDE Applications in newer major version instead of appliyng them in already released version: Fixes for some bugs land in Plasma Workspace 5.21 or even 5.22 now instead of current 5.20 series. And, meanwhile there is an LTS Plasma version (5.18) it has no fixes here since a while... This is Plasma rolling release... This make us to have to backport some fixes (commit) in out current shipping version because we are a fixed version release. Tiresome. But it feels good that we, Mageia, try fixing it :) I updated Errata with link to your comment 1 for the manual fix, thanks.
Omer I.S.
2021-03-18 23:51:31 CET
CC:
(none) =>
omeritzicschwartz
Aurelien Oudelet
2021-04-16 13:20:43 CEST
Blocks:
(none) =>
28788 It may be a good idea to only copy the file /gtk-3.0/window_decorations.css from the unpacked attachement, to your ~/.config/gtk-3.0/ directory. On my main computer, output in terminal when launching firefox as example follows. System is upgraded from Mageia 7 to 8. It was complaining about missing file: (/usr/lib64/firefox/firefox:58722): Gtk-WARNING **: 10:53:14.938: Theme parsing error: gtk.css:2:33: Failed to import: Fel vid öppning av filen /home/morgan/.config/gtk-3.0/window_decorations.css: Filen eller katalogen finns inte --- * After I just added window_decorations.css, there is no complaints at all * --- When I instead completely replaced ~/.config/gtk-3.0 with the attachment unpacked, I instead get the following errors (and also text in menus have increased size, probably because of included settings different than mine) (/usr/lib64/firefox/firefox:74833): GLib-GObject-WARNING **: 11:00:00.875: invalid (NULL) pointer instance (/usr/lib64/firefox/firefox:74833): GLib-GObject-CRITICAL **: 11:00:00.875: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed --- Comment: My system do not have the ~/.config/gtk-3.0/assets directory that the attachement have. It seem to be buttons for window frames, but apparently not needed - at least on my system.
Omer I.S.
2021-10-15 11:38:30 CEST
CC:
omeritzicschwartz =>
(none) (In reply to Morgan Leijström from comment #6) > It may be a good idea to only copy the file /gtk-3.0/window_decorations.css > from the unpacked attachement, to your ~/.config/gtk-3.0/ directory. > > On my main computer, output in terminal when launching firefox as example > follows. System is upgraded from Mageia 7 to 8. > > It was complaining about missing file: > > (/usr/lib64/firefox/firefox:58722): Gtk-WARNING **: 10:53:14.938: Theme > parsing error: gtk.css:2:33: Failed to import: Fel vid öppning av filen > /home/morgan/.config/gtk-3.0/window_decorations.css: Filen eller katalogen > finns inte > > --- > > * After I just added window_decorations.css, there is no complaints at all * > > --- > > When I instead completely replaced ~/.config/gtk-3.0 with the attachment > unpacked, I instead get the following errors (and also text in menus have > increased size, probably because of included settings different than mine) > > (/usr/lib64/firefox/firefox:74833): GLib-GObject-WARNING **: 11:00:00.875: > invalid (NULL) pointer instance > > (/usr/lib64/firefox/firefox:74833): GLib-GObject-CRITICAL **: 11:00:00.875: > g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed > > --- > > Comment: My system do not have the ~/.config/gtk-3.0/assets directory that > the attachement have. It seem to be buttons for window frames, but > apparently not needed - at least on my system. The information in comment6 is extremely helpful https://slopegame.onl CC:
(none) =>
sarahroxon6 |