[systemsettings] [Bug 453752] Effects Settings from XDG_CONFIG_DIRS are discarded when user clicks on [Defaults]

2022-09-06 Thread Ken Rice
https://bugs.kde.org/show_bug.cgi?id=453752

Ken Rice  changed:

   What|Removed |Added

 CC||krinp...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 453752] Effects Settings from XDG_CONFIG_DIRS are discarded when user clicks on [Defaults]

2022-07-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=453752

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=456958
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #8 from Nate Graham  ---
Can confirm with git master.

As far as I can tell, the default set of enabled effects is determined by the
effects' .desktop files, where they can have X-KDE-PluginInfo-EnabledByDefault=
set to true or false. Some of these are generated at runtime by JSON files.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 453752] Effects Settings from XDG_CONFIG_DIRS are discarded when user clicks on [Defaults]

2022-07-21 Thread Erich Eickmeyer
https://bugs.kde.org/show_bug.cgi?id=453752

--- Comment #7 from Erich Eickmeyer  ---
(In reply to Erich Eickmeyer from comment #6)
> No, my testing involved using /etc/xdg directly. It's simply not inheriting
> $XDG_CONFIG_DIRS paths.

Rather, my testing involved both directories.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 453752] Effects Settings from XDG_CONFIG_DIRS are discarded when user clicks on [Defaults]

2022-07-21 Thread Erich Eickmeyer
https://bugs.kde.org/show_bug.cgi?id=453752

--- Comment #6 from Erich Eickmeyer  ---
No, my testing involved using /etc/xdg directly. It's simply not inheriting
$XDG_CONFIG_DIRS paths.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 453752] Effects Settings from XDG_CONFIG_DIRS are discarded when user clicks on [Defaults]

2022-07-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=453752

--- Comment #5 from Nate Graham  ---
Does the Defaults button work if you copy or move the file to live inside
/etc/xdg?

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 453752] Effects Settings from XDG_CONFIG_DIRS are discarded when user clicks on [Defaults]

2022-07-21 Thread Erich Eickmeyer
https://bugs.kde.org/show_bug.cgi?id=453752

Erich Eickmeyer  changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---
 Ever confirmed|1   |0

--- Comment #4 from Erich Eickmeyer  ---
That's exactly what Michael was referring to is that even when a file named
"kwinrc" is in that path with those contents, it has no effect when "Defaults"
is selected. The initial configuration is honored, but when "Defaults" is
selected, it no longer gathers the defaults from the $XDG_CONFIG_DIRS path.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 453752] Effects Settings from XDG_CONFIG_DIRS are discarded when user clicks on [Defaults]

2022-07-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=453752

Nate Graham  changed:

   What|Removed |Added

 Status|REOPENED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #3 from Nate Graham  ---
If your packaging adds /usr/share/kubuntu-default-settings to $XDG_CONFIG_DIRS,
it's still not going to work unless there's a file called "kwinrc" in there.
The cascading feature in kconfig relies on the filename being identical to
what's being requested in the code (which is "kwinrc"). So you will need to
create /usr/share/kubuntu-default-settings/kwinrc which contains:

[Plugins]
wobblywindowsEnabled=true

Does that work?

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 453752] Effects Settings from XDG_CONFIG_DIRS are discarded when user clicks on [Defaults]

2022-07-19 Thread Erich Eickmeyer
https://bugs.kde.org/show_bug.cgi?id=453752

Erich Eickmeyer  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Ever confirmed|0   |1
 Resolution|DOWNSTREAM  |---

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 453752] Effects Settings from XDG_CONFIG_DIRS are discarded when user clicks on [Defaults]

2022-07-19 Thread Erich Eickmeyer
https://bugs.kde.org/show_bug.cgi?id=453752

Erich Eickmeyer  changed:

   What|Removed |Added

 CC||eeickme...@ubuntu.com

--- Comment #2 from Erich Eickmeyer  ---
On the contrary, Nate, this is something that should be inherited by
$XDG_CONFIG_DIRS in which case /usr/share/kubuntu-default-settings/kf5-settings
is added to the path by the distribution. Therefore, by adding a file with a
config to the aforementioned directory is inherently doing the same as adding
it to /etc/xdg since it is in the same $XDG_CONFIG_DIRS path, at least
according to the XDG spec.

This is, of course, unless KDE is deviating from the Open Desktop Guidelines
and not using the $XDG_CONFIG_DIRS system variable when searching for config
files.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 453752] Effects Settings from XDG_CONFIG_DIRS are discarded when user clicks on [Defaults]

2022-05-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=453752

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DOWNSTREAM
 CC||n...@kde.org,
   ||rikmi...@kde.org

--- Comment #1 from Nate Graham  ---
> /usr/share/kubuntu-default-settings/kf5-settings
This is not something KDE supports and appears to be a Kubuntu-specific thing.
The correct way to set systemwide defaults is to add them to the relevant
config file in /etc/xdg. So in this case, you would want to create a file
called /etc/xdg/kwinrc with the following content:

> [Plugins]
> wobblywindowsEnabled=true

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 453752] Effects Settings from XDG_CONFIG_DIRS are discarded when user clicks on [Defaults]

2022-05-13 Thread Michael Mikowski
https://bugs.kde.org/show_bug.cgi?id=453752

Michael Mikowski  changed:

   What|Removed |Added

Summary|Effects Settings from   |Effects Settings from
   |XDG_CONFIG_DIRS are discard |XDG_CONFIG_DIRS are
   |when user clicks on |discarded when user clicks
   |[Defaults]  |on [Defaults]

-- 
You are receiving this mail because:
You are watching all bug changes.