| Summary: | KCM does not apply `dateDisplayFormat` key for digital clock applet specified in layout.js | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | doncbugs |
| Component: | kcm_lookandfeel | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | doncbugs, nate |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
doncbugs
2021-10-07 19:48:38 UTC
I you add this value manually to the exported config file, does it take effect as expected? In other words, is this an issue with the applet itself, or with Global Theme Explorer's exporting functionality? (In reply to Nate Graham from comment #1) > I you add this value manually to the exported config file, does it take > effect as expected? > > In other words, is this an issue with the applet itself, or with Global > Theme Explorer's exporting functionality? When I set that applet and export it, in the layout.js I see "dateDisplayFormat" has "BesideTime" and, well, when set to the default has no value in the layout.js. Theme Explorer seems to have it. Also, for whatever reason, this bug disappeared from my list of open bugs so I could not find it when I went to that page. Is this an intentional function of needsinfo? > When I set that applet and export it, in the layout.js I see "dateDisplayFormat" has
> "BesideTime" and, well, when set to the default has no value in the layout.js.
Isn't that the expected behavior? The config file only gets an entry when the setting is in a non-default state.
(In reply to Nate Graham from comment #4) > Isn't that the expected behavior? The config file only gets an entry when > the setting is in a non-default state. Uh, I think so. In any case, when applying the desktop layout in global themes, the clock does not display in the "beside" format. I have also noticed that icons-only-taskmanager does not receive the proper layout. It seems only a single broken link is added when you try to apply a layout. I believe the entire list of applications is mistakenly added as one. Something very weird is also happening where sections seem to be duplicated in the file. Possibly from exporting multiple times. /Configuration/General and /Configuration/Configuration/General are an example. Unsure if either exporter or plasmoid or both are broken. Let's focus on one thing at a time. :) If the layout.js file gets `dateDisplayFormat=BesideTime` in it when you export the layout while the clock is in "beside time" mode, are you saying the problem is that this isn't being respected when the exported global theme is applied? (In reply to Nate Graham from comment #6) > Let's focus on one thing at a time. :) > > If the layout.js file gets `dateDisplayFormat=BesideTime` in it when you > export the layout while the clock is in "beside time" mode, are you saying > the problem is that this isn't being respected when the exported global > theme is applied? Yes, more specifically: "dateDisplayFormat": "BesideTime" Thanks. A big change was made for Plasma 5.25 to actually apply layout stuff properly. Can you check again with current git master, or with Plasma 5.25 once it's released? Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |