Feed Advanced Search

Feb 28 2020

gikari updated the test plan for D25324: [GTK Config] Add XSettingsd as a runtime dependency.
Feb 28 2020, 1:04 PM · Plasma
gikari updated the summary of D25324: [GTK Config] Add XSettingsd as a runtime dependency.
Feb 28 2020, 1:03 PM · Plasma
gikari updated the diff for D25324: [GTK Config] Add XSettingsd as a runtime dependency.

Add XSettingsd find module

Feb 28 2020, 12:58 PM · Plasma

Feb 26 2020

gikari added a comment to D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.

The problem being solved here is that starting with 5.18, style names were being localized, which GTK doesn't understand, causing it to fall back to the default font. This patch fixes that.

I see :)
I just thought maybe the pre-existing solution from the deleted KCM could be reused since it seemed to work well.

Feb 26 2020, 10:40 PM · Plasma
gikari added a comment to D27100: [GTK Config] Parameterise GTK config editing.
Feb 26 2020, 12:06 PM · Plasma
gikari added a comment to D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.

I have just tested a couple of fonts.

  1. I've only tested Monospaced font with Russian locale, so I do not know it other ones work. Qt just ignores style string and any style of Monospaced is just Monospaced, 10 in the config.
  2. Seems like GTK2 works fine with fonts and most of them works (Ubuntu Light for example).
  3. GTK3 however have troubles with font styles and ignores what is after a comma. So that may be a GTK3 bug.
Feb 26 2020, 10:44 AM · Plasma

Feb 25 2020

gikari updated the summary of D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.
Feb 25 2020, 8:30 PM · Plasma
gikari added a comment to D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.

All fonts tested. :(

Feb 25 2020, 8:17 PM · Plasma
gikari added a comment to D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.

Thanks.

So if I set the general font to 9pt Ubuntu Italic, then in the config file I see gtk-font-name=Ubuntu, Italic 9 and Thunderbird respects the font, and the size, but not the style; it's not italic. :(

Or is that a separate issue?

Feb 25 2020, 7:58 PM · Plasma
gikari updated the test plan for D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.
Feb 25 2020, 4:33 PM · Plasma
gikari added a comment to D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.

Do you need to reload any daemon to get this to work?

Feb 25 2020, 4:33 PM · Plasma
gikari retitled D27100: [GTK Config] Parameterise GTK config editing from Parameterise GTK config editing to [GTK Config] Parameterise GTK config editing.
Feb 25 2020, 3:24 PM · Plasma
gikari added a comment to D27100: [GTK Config] Parameterise GTK config editing.

Ping

Feb 25 2020, 3:24 PM · Plasma
gikari updated the test plan for D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.
Feb 25 2020, 3:20 PM · Plasma

Feb 24 2020

gikari updated the diff for D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.

Code style changes

Feb 24 2020, 5:08 PM · Plasma

Feb 20 2020

gikari added inline comments to D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.
Feb 20 2020, 8:33 PM · Plasma

Feb 19 2020

gikari updated the summary of D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.
Feb 19 2020, 8:04 AM · Plasma

Feb 17 2020

gikari retitled D27380: [GTK Config] Construct font style by hand instead of relying on Qt function from [GTK Config] Construct fontStyle by hand instead of relaying on Qt function to [GTK Config] Construct font style by hand instead of relying on Qt function.
Feb 17 2020, 8:33 PM · Plasma
gikari updated the summary of D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.
Feb 17 2020, 8:32 PM · Plasma
gikari updated the diff for D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.

Use big helper function for constructing font style. Please test, many fonts may break and not work.

Feb 17 2020, 7:43 PM · Plasma
gikari added a comment to D24275: [GTK3] Add module to reload colorscheme in GTK3 apps without restarting them.

Since we plan to move more GTK related code to kde-gtk-config repo (specifically coloration of GTK apps from krdb), isn't it more reasonable to put this module in kde-gtk-config repo?

Feb 17 2020, 7:32 PM · Plasma

Feb 16 2020

gikari awarded D27438: Increase System Tray Plasmoid spacing value slightly a Yellow Medal token.
Feb 16 2020, 5:51 PM · Plasma

Feb 14 2020

gikari added a comment to D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.

Take this code

Feb 14 2020, 8:44 AM · Plasma

Feb 13 2020

gikari added a comment to D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.

So maybe that's something we can fix in the Fonts KCM? Or Is it caused by the Qt bug ultimately causing https://bugs.kde.org/show_bug.cgi?id=378523?

Feb 13 2020, 10:06 PM · Plasma
gikari added a comment to D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.

Is the problem that the style name is already localized by the time we get it from the Fonts KCM?

Feb 13 2020, 9:51 PM · Plasma
gikari updated the summary of D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.
Feb 13 2020, 7:20 PM · Plasma
gikari requested review of D27380: [GTK Config] Construct font style by hand instead of relying on Qt function.
Feb 13 2020, 7:19 PM · Plasma

Feb 12 2020

gikari committed R99:ddc9187adbc5: Provide better name for GTK Settings Sync service (authored by gikari).
Provide better name for GTK Settings Sync service
Feb 12 2020, 7:40 PM
gikari closed D27093: Provide better name for GTK Settings Sync service.
Feb 12 2020, 7:40 PM · Plasma
gikari abandoned D27090: Replace config.h with target_compile_definitions.

Fair point.

Feb 12 2020, 7:00 PM · Plasma
gikari updated the diff for D27093: Provide better name for GTK Settings Sync service.

Remove "Appearance" part, since settings applied by kded module is not only about appearance (e.g. scrollbar behavior)

Feb 12 2020, 6:53 PM · Plasma
gikari updated the diff for D27093: Provide better name for GTK Settings Sync service.

Capitalize GNOME and remove KDE/Qt part

Feb 12 2020, 6:50 PM · Plasma

Feb 4 2020

gikari committed R99:d892dc2b44ae: Upgrade theme to Breeze GTK on startup (authored by gikari).
Upgrade theme to Breeze GTK on startup
Feb 4 2020, 5:40 PM
gikari committed R99:f4313eb66dfb: Merge branch 'Plasma/5.18' (authored by gikari).
Merge branch 'Plasma/5.18'
Feb 4 2020, 5:40 PM
gikari closed D26891: Upgrade theme to Breeze GTK on startup.
Feb 4 2020, 5:40 PM · Plasma

Feb 2 2020

gikari updated the diff for D26891: Upgrade theme to Breeze GTK on startup.

Rename files to provide ground for more kconf scripts in the future

Feb 2 2020, 11:34 PM · Plasma
gikari updated the test plan for D27107: [GTK Config] Remove redundant reparse configuration call.
Feb 2 2020, 8:12 PM · Plasma
gikari updated the diff for D27107: [GTK Config] Remove redundant reparse configuration call.

Rollback the reparsings that are actually needed

Feb 2 2020, 8:11 PM · Plasma
gikari added a comment to D27107: [GTK Config] Remove redundant reparse configuration call.

You need to be careful here.

Some of this code is re-evaluated on receipt of other direct DBus signals. Not from kconfigwatcher.

In those cases, you will have to reparse.

Feb 2 2020, 7:53 PM · Plasma
gikari requested review of D27107: [GTK Config] Remove redundant reparse configuration call.
Feb 2 2020, 7:28 PM · Plasma
gikari requested review of D27100: [GTK Config] Parameterise GTK config editing.
Feb 2 2020, 1:45 PM · Plasma

Feb 1 2020

gikari updated the summary of D27093: Provide better name for GTK Settings Sync service.
Feb 1 2020, 8:34 PM · Plasma
gikari added a reviewer for D27093: Provide better name for GTK Settings Sync service: VDG.
Feb 1 2020, 8:32 PM · Plasma
gikari requested review of D27093: Provide better name for GTK Settings Sync service.
Feb 1 2020, 8:32 PM · Plasma
gikari requested review of D27090: Replace config.h with target_compile_definitions.
Feb 1 2020, 5:16 PM · Plasma
gikari added a comment to D26891: Upgrade theme to Breeze GTK on startup.

The differences between gtkrc and gtkrc-2.0 at least is that the first one was used for GTK1 and the second for GTK2.

Feb 1 2020, 4:32 PM · Plasma

Jan 31 2020

gikari updated the diff for D26891: Upgrade theme to Breeze GTK on startup.

Rebase on master

Jan 31 2020, 8:50 PM · Plasma

Jan 27 2020

gikari accepted D26947: Drop kconf_update module, handled by kde-gtk-config now.
Jan 27 2020, 4:20 PM · Plasma
gikari added a comment to D26891: Upgrade theme to Breeze GTK on startup.

Tested, confirmed to work.

I wonder what's up with the gtkrc files everywhere:

~/.config/gtkrc-2.0
~/.config/gtkrc
~/.gtkrc-2.0
./.config/gtk-3.0

It seems like the first two are created by krdb, does it read both still?

Jan 27 2020, 3:21 PM · Plasma
gikari added a comment to D26891: Upgrade theme to Breeze GTK on startup.

@meven wrote:

What if users have a different default theme set on first launch? I would suggest to read the current theme instead of hardcoding Breeze.

Jan 27 2020, 2:52 PM · Plasma

Jan 26 2020

gikari committed R99:7864ddd557a6: Merge branch 'Plasma/5.18' (authored by gikari).
Merge branch 'Plasma/5.18'
Jan 26 2020, 7:24 PM
gikari added a comment to D26928: Correctly process font, that has multiple words in family name.

Can't style names have a space too?

Jan 26 2020, 4:32 PM · Plasma
gikari closed D26928: Correctly process font, that has multiple words in family name.
Jan 26 2020, 4:18 PM · Plasma
gikari committed R99:8bf4efd76430: Correctly process font, that has multiple words in family name (authored by gikari).
Correctly process font, that has multiple words in family name
Jan 26 2020, 4:18 PM
gikari requested review of D26928: Correctly process font, that has multiple words in family name.
Jan 26 2020, 3:24 PM · Plasma
gikari updated the test plan for D26891: Upgrade theme to Breeze GTK on startup.
Jan 26 2020, 11:20 AM · Plasma
gikari updated the diff for D26891: Upgrade theme to Breeze GTK on startup.

Remove redundant theme update on startup

Jan 26 2020, 11:17 AM · Plasma
gikari added inline comments to D26891: Upgrade theme to Breeze GTK on startup.
Jan 26 2020, 11:16 AM · Plasma
gikari updated the test plan for D26891: Upgrade theme to Breeze GTK on startup.
Jan 26 2020, 10:29 AM · Plasma
gikari updated the diff for D26891: Upgrade theme to Breeze GTK on startup.

Provide kconf_script to upgrade themes from old ones. It is mostly the same as the one in breeze-gtk repo, but better.

Jan 26 2020, 10:26 AM · Plasma

Jan 25 2020

gikari added a comment to D26891: Upgrade theme to Breeze GTK on startup.

@fvogt Do I understand correctly, that kconf_update script also run on Plasma update, if I add a new Id to one of .upd file (or add one with new Id)? For example from 5.17 to 5.18?

Jan 25 2020, 11:09 PM · Plasma
gikari added inline comments to D26891: Upgrade theme to Breeze GTK on startup.
Jan 25 2020, 5:24 PM · Plasma

Jan 24 2020

gikari added a comment to D26891: Upgrade theme to Breeze GTK on startup.

It should only do the migration once, like the kconf_update script.

Jan 24 2020, 1:59 PM · Plasma
gikari added a comment to D26891: Upgrade theme to Breeze GTK on startup.

If this is adjusted to include the migration code for older breeze-like GTK themes from https://cgit.kde.org/breeze-gtk.git/tree/kconf_update/main.cpp?id=b00e12ff39264fd8c2fb8af4168e998726766dfa, it should be possible to drop the kconf_update script there.
It might even cause conflicts otherwise.

Jan 24 2020, 1:07 PM · Plasma
gikari added a comment to D26892: Switch to the old-style button text for the KNSQuick buttons.

This also should be changed in GTK Subpage in Application Style KCM (D26717)

Jan 24 2020, 10:50 AM · Plasma
gikari added inline comments to D26891: Upgrade theme to Breeze GTK on startup.
Jan 24 2020, 10:43 AM · Plasma
gikari requested review of D26891: Upgrade theme to Breeze GTK on startup.
Jan 24 2020, 10:05 AM · Plasma

Jan 23 2020

gikari committed R119:b61c2096e33b: Merge branch 'Plasma/5.18' (authored by gikari).
Merge branch 'Plasma/5.18'
Jan 23 2020, 9:12 PM
gikari committed R119:51e6e92468f9: Remove misleading comment about the setting, that does not exist anymore (authored by gikari).
Remove misleading comment about the setting, that does not exist anymore
Jan 23 2020, 9:11 PM
gikari closed D26885: Remove misleading comment about the setting, that does not exist anymore.
Jan 23 2020, 9:11 PM · Plasma
gikari requested review of D26885: Remove misleading comment about the setting, that does not exist anymore.
Jan 23 2020, 9:07 PM · Plasma
gikari accepted D26825: Bind gtk-enable-animations setting to global animation speed slider.
Jan 23 2020, 10:26 AM · Plasma
gikari added a comment to D26825: Bind gtk-enable-animations setting to global animation speed slider.

Some typos, without them everything is OK.

Jan 23 2020, 10:20 AM · Plasma

Jan 22 2020

gikari committed R119:a2ab65ce5b21: Merge branch 'Plasma/5.18' (authored by gikari).
Merge branch 'Plasma/5.18'
Jan 22 2020, 6:42 PM
gikari committed R119:74f7e06445ff: [App Style KCM] Hide preview buttons, if previewers are not found (authored by gikari).
[App Style KCM] Hide preview buttons, if previewers are not found
Jan 22 2020, 6:30 PM
gikari closed D26770: [App Style KCM] Hide preview buttons, if previewers are not found.
Jan 22 2020, 6:30 PM · Plasma
gikari added a comment to D26825: Bind gtk-enable-animations setting to global animation speed slider.

Also i found out, that gtk apps on start throw this error:

(org.gnome.Nautilus:4278): Gdk-WARNING **: 21:08:58.246: Cannot transform xsetting gtk-enable-animations of type gchararray to type gboolean

This is because of xsettingd config. You need to add Gtk/EnableAnimations to exceptions in QStringList nonStringProperties var in replaceValueInXSettingsdContents method, but it's only a hotfix. It is better to do some parameterezing with QVariants or C++ templates for ConfigEditor functions.

Jan 22 2020, 6:24 PM · Plasma
gikari requested changes to D26825: Bind gtk-enable-animations setting to global animation speed slider.

Seems like dconf does not convert string to boolean.

(process:24285): GLib-GIO-CRITICAL **: 17:51:47.492: g_settings_set_value: key 'enable-animations' in 'org.gnome.desktop.interface' expects type 'b', but a GVariant of type 's' was given
Jan 22 2020, 3:13 PM · Plasma
gikari added inline comments to D26825: Bind gtk-enable-animations setting to global animation speed slider.
Jan 22 2020, 1:23 PM · Plasma
gikari added inline comments to D26825: Bind gtk-enable-animations setting to global animation speed slider.
Jan 22 2020, 10:24 AM · Plasma

Jan 20 2020

gikari committed R119:df7cd5b67604: Merge branch 'Plasma/5.18' (authored by gikari).
Merge branch 'Plasma/5.18'
Jan 20 2020, 6:04 PM
gikari committed R119:8f7bbaa9d73c: [App Style KCM] Use QtQuick NewStuff dialogs (authored by gikari).
[App Style KCM] Use QtQuick NewStuff dialogs
Jan 20 2020, 5:57 PM
gikari committed R119:6eaff2074093: [App Style KCM] Use QtQuick NewStuff dialogs (authored by gikari).
[App Style KCM] Use QtQuick NewStuff dialogs
Jan 20 2020, 5:15 PM
gikari closed D26717: [App Style KCM] Use QtQuick NewStuff dialogs.
Jan 20 2020, 5:15 PM · Plasma
gikari added a comment to D26777: [App Style KCM] Port away from QDBusInterface.
In D26777#597167, @apol wrote:

Why don't you just export the interface you are using through qdbusxml2cpp and viceversa? This way you don't need to have the glue code.

Jan 20 2020, 10:18 AM · Plasma

Jan 19 2020

gikari requested review of D26777: [App Style KCM] Port away from QDBusInterface.
Jan 19 2020, 11:07 PM · Plasma
gikari updated the test plan for D26770: [App Style KCM] Hide preview buttons, if previewers are not found.
Jan 19 2020, 5:17 PM · Plasma
gikari requested review of D26770: [App Style KCM] Hide preview buttons, if previewers are not found.
Jan 19 2020, 5:15 PM · Plasma

Jan 17 2020

gikari updated the summary of D26717: [App Style KCM] Use QtQuick NewStuff dialogs.
Jan 17 2020, 11:19 AM · Plasma
gikari updated the diff for D26717: [App Style KCM] Use QtQuick NewStuff dialogs.

Port dialogs to QtQuick

Jan 17 2020, 11:18 AM · Plasma

Jan 16 2020

gikari planned changes to D26717: [App Style KCM] Use QtQuick NewStuff dialogs.

Ok, then.

Jan 16 2020, 8:55 PM · Plasma
gikari added a comment to D26717: [App Style KCM] Use QtQuick NewStuff dialogs.

Even better would be if we can use the new QML dialogs too. See D26544

Jan 16 2020, 8:52 PM · Plasma
gikari requested review of D26717: [App Style KCM] Use QtQuick NewStuff dialogs.
Jan 16 2020, 8:45 PM · Plasma

Jan 15 2020

gikari added a comment to T10611: Set options for GTK apps in the respective KCMs.

window decoration button orders

Jan 15 2020, 3:49 PM · Plasma: KCM Redesign
gikari committed R99:c21f1e7d25a7: Remove GTK KCM (authored by gikari).
Remove GTK KCM
Jan 15 2020, 3:34 PM
gikari added inline comments to D26583: [Application Style] Add GTK Application Style Page.
Jan 15 2020, 3:24 PM · Plasma
gikari committed R119:268c5ced8ec2: [Application Style] Add GTK Application Style Page (authored by gikari).
[Application Style] Add GTK Application Style Page
Jan 15 2020, 3:13 PM
gikari closed D26583: [Application Style] Add GTK Application Style Page.
Jan 15 2020, 3:13 PM · Plasma

Jan 14 2020

gikari updated the diff for D26583: [Application Style] Add GTK Application Style Page.

Return accidentally removed empty lines in kcmstyle.h

Jan 14 2020, 3:20 PM · Plasma
gikari updated the diff for D26583: [Application Style] Add GTK Application Style Page.

Remove columnCount method and fix rowCount method

Jan 14 2020, 3:13 PM · Plasma