Revert "Make the kde-gtk-config kcm better at checking global gtk settings"
ClosedPublic

Authored by fvogt on Oct 24 2017, 11:30 AM.

Details

Summary

This reverts commit 34357f74ee2d98128ff423b0ec6ddcbf4232c475.

Reverting this fixes loading of the actually used GTK settings.

BUG: 382291

Test Plan

Opened kcmshell5 kde-gtk-config with and without this revert.
Without, it shows Adwaita as theme, with it shows breeze.
GTK uses breeze, so the behaviour with the revert is correct.

Diff Detail

Repository
R99 KDE Gtk Configuration Tool
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
fvogt created this revision.Oct 24 2017, 11:30 AM
Restricted Application added a project: Plasma. · View Herald TranscriptOct 24 2017, 11:30 AM

I made the same revert to test earlier this morning, and on brief testing it seems to have solved the issue, and tests still pass.

davidedmundson accepted this revision.Oct 24 2017, 11:51 AM
davidedmundson added a subscriber: davidedmundson.

Heh, so much for unit tests.

Hopefully we can revisit this for master and try and fix whatever the original one was doing.

This revision is now accepted and ready to land.Oct 24 2017, 11:51 AM
This revision was automatically updated to reflect the committed changes.
apol added a comment.Oct 24 2017, 1:49 PM

Well this breaks supporting having configuration over in /etc, so indeed this wasn't tested.

It's unfortunate that the only solution we always end up in is reverting stuff rather than actual investigation. Oh well, I'll spend some time on this at some point.

:(