<table><tr><td style="">gikari created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />gikari requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D24743">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>To increase usability,</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">fonts</li>
<li class="remarkup-list-item">icon theme</li>
<li class="remarkup-list-item">cursor theme</li>
<li class="remarkup-list-item">toolbar style (icons-only, text below buttons etc)</li>
<li class="remarkup-list-item">icons visibility in menus</li>
<li class="remarkup-list-item">icons visibility on buttons</li>
</ul>
<p>settings for gtk applications are now set in respective kcms, instead of separate gtk kcm.</p>
<p>Various kcms are sending signals (dbus or Qt ones) about the configuration change. Then the gtkconfig kded daemon connects to these signals and changes gtk config files to match new settings, that were set in those kcms.</p>
<p><a href="https://phabricator.kde.org/D24701" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D24701</a> is needed to notify about cursor change on Wayland.</p>
<p>Live reloading (on a fly) is not going to work for some settings on X11. This applies to cursor theme, it's changed by partially. To illustrate that open Nautilus File Manager, change cursor theme and try to double click folders. You will see, that "loading" cursor changed its theme, but "idle" one did not.</p>
<p>What is not tested:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Toolbar style for gtk3 apps other that Geany (absence of live reloading may be a Geany bug)</li>
<li class="remarkup-list-item">Toolbar style and icons visibility on Wayland</li>
</ul>
<p>Depends on <a href="https://phabricator.kde.org/D24701" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D24701</a></p>
<p>BUG: 401507<br />
BUG: 401507</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">To test gtk3 applications live reloading on X11, install xsettingsd.</li>
<li class="remarkup-list-item">Restart kded5.</li>
<li class="remarkup-list-item">Open gtk2 app, gtk3 app</li>
<li class="remarkup-list-item">Change above mentioned settings in respective KCMs</li>
<li class="remarkup-list-item">Check if gtk applications are changing their settings before (sometimes) and after their restart.</li>
</ol>
<p>Rare cases:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">To test icons on buttons use Inkscape about window.</li>
<li class="remarkup-list-item">To test toolbar style use Geany (gtk3, live reloading does not work) and BleachBit (gtk2)</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R99 KDE Gtk Configuration Tool</div></div></div><br /><div><strong>BRANCH</strong><div><div>gtk-settings-in-respective-kcms</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D24743">https://phabricator.kde.org/D24743</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
kded-module/CMakeLists.txt<br />
kded-module/configeditor.cpp<br />
kded-module/configeditor.h<br />
kded-module/configvalueprovider.cpp<br />
kded-module/configvalueprovider.h<br />
kded-module/gtkconfig.cpp<br />
kded-module/gtkconfig.h<br />
kded-module/gtkconfig.json</div></div></div><br /><div><strong>To: </strong>gikari<br /><strong>Cc: </strong>plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>