Date/Hour for the external application icon file are modified during each compilation
Original Reporter info from Mantis: ChrisF
-
Reporter name:
Original Reporter info from Mantis: ChrisF
- Reporter name:
Description:
(Not sure about the category)
The date and hour (i.e. timestamp) data for the external application icon file are modified during each project compilation. By external application icon file, I mean the icon file associated to the concerned project "name_of_the_project.ico" (i.e. Project->Project Options->Application->Change icon).
They are modified:
-first, when the external icon file is associated to the concerned project inside the IDE (for instance "myicon.ico" copied to "project1.ico"). OK,
-then, each time the project is compiled.
It's also the case if you replace directly the existing "name_of_the_project.ico" by your own icon file (for instance "myicon.ico" copied to "project1.ico", if project1 is the name of the project), and then compile the project.
I agree that it's a very minor issue (feature request ?), but it's a bit annoying if you want to know if you have currently the correct icon file associated to your project. You can't rely any more on the date/hour data for that, as each compilation changes them.
And I can't see any good reason to modify them each time; I presume the icon file is only read (it's another matter for the Lazarus resource file associated to the project, of course).
Steps to reproduce:
-Start a new project,
-Save all in a directory of your choice (to know where to observe the modifications). A by-default icon file is created ("project1.ico"),
-Associate a new icon to your project (Project->Project Options->Application->Change icon), using a icon file with a known -old- timestamp. A new "project1.ico" file has been produced (a copy of your icon file), with the current timestamp,
-Wait a few minutes (at least 1 or 2), then compile your project. The "project1.ico" file has now the date/hour data corresponding to your last compilation.
Note: Alternatively, you can just replace the by-default "project1.ico" file by your own your external icon file at step 3; this way, having already an old icon file, you don't have to wait for a few minutes. Just compile the project and observe the timestamp modification.
Additional information:
Attached, 2 very basic icon files for test purposes (just in case).
Mantis conversion info:
- Mantis ID: 24237
- OS: Windows
- OS Build: XP
- Platform: i386-win32
- Version: 1.0.8