Bug 491586 - Don't insert timestamp into GTK settings files
Summary: Don't insert timestamp into GTK settings files
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_style (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-11 17:54 UTC by Björn Bidar (Thaodan)
Modified: 2024-08-20 21:22 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Bidar (Thaodan) 2024-08-11 17:54:27 UTC
SUMMARY
Plasma KRDB inserts a timestamp everytime it touches settings.
It writes "created by KDE Plasma, <date>"


STEPS TO REPRODUCE
1.  Open settings
2.  Try to change some color settings (not sure if you actually have to apply a change)


OBSERVED RESULT
'# created by KDE Plasma, <timestam>' is inserted into the config file

EXPECTED RESULT
No timestamp

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240808
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.3-1-default (64-bit)
Graphics Platform: X11
Processors: 64 × AMD Ryzen Threadripper PRO 5975WX 32-Cores
Memory: 125.6 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT
Manufacturer: ASUS

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-08-12 19:11:29 UTC
Into what config file?
Comment 2 Björn Bidar (Thaodan) 2024-08-13 02:02:07 UTC
gtkrc for example be it gtk-2.0, 3 or 4.
Comment 3 Nate Graham 2024-08-13 19:31:25 UTC
Ok, thanks. So what exactly is the problem caused by the timestamps?
Comment 4 Björn Bidar (Thaodan) 2024-08-15 07:20:35 UTC
Configuration files change even thou there isn't any change on the
which is an issue e.g. when you track your configuration.

Removing the timestamp would be a one line change:
https://invent.kde.org/Thaodan/plasma-workspace/commits/Thaodan/krdb_no_timestamp
Comment 5 Nate Graham 2024-08-20 21:22:29 UTC
Seems reasonable to me, wanna submit a patch to do that?