http://bugs.winehq.org/show_bug.cgi?id=18083
--- Comment #6 from Giorgio supporto.gscomputer@gmail.com 2009-05-01 12:26:14 --- (In reply to comment #5)
I see. Try to figure out where it stores this data at least: is it registry or some internal configs. Then you could compare this data after closing app with the same layout on native and wine. Then it'll possible to localize a problem: if data differs then bug is in saving configs, else - in restoring layout.
Here's a hint: http://bugs.winehq.org/show_bug.cgi?id=9314
Hi, I think I found where MT4 saves his layouts and sequences:
/home/username/.wine/drive_c/Programmi/MetaTrader 4/profiles/profilename
where: username=your linux username profilename=your current profile (File -> Profile -> profilename)
There you can see a number of files named "chart01.chr, chart02.chr, chart03.chr ..." and so on. They are simple text files where are saved all the parameters of a sigle chart, one file per chart. After reading all those files I found that the sequence sits on the "name/number" of the file. For example, if you put a chart on the first left position that chart/file is named chart01.chr. As you can guess chart02.chr its for the second chart and so on. So I understand that the right sequence of charts is correctly saved when you close down metatrader but then its not loaded when you open the application.
Hope this helps.
Regards, Giorgio.