Opened 7 years ago
Closed 7 years ago
#4597 closed defect (fixed)
Recent files list does not save the current status
Reported by: | Andrea Bartolini | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.13.0 |
Component: | OMEdit | Version: | v1.13.0-dev-nightly |
Keywords: | Cc: |
Description
When a new file is open, it is shown at the top of the Recent Files list, but after you close and reopen OMEdit then this file disappears from the list.
Moreover, if you open a file already present in the Recent Files list, it is moved to the top of the list, but after you close and reopen OMEdit then this file comes back to the original position.
Finally, if you clear the Recent Files list pressing the relevant button, the list will empty but after you close and reopen OMEdit the list still contains the deleted items...
OMEdit 1.13.0~dev-44-g29a5b8c
Connected to OpenModelica 1.13.0~dev-261-g591f382
sysop Ubuntu 16.04 - 64 bit
Attachments (1)
Change History (8)
follow-up: 4 comment:2 by , 7 years ago
The section [recentFileList] in my file omedit.ini (attached) seems to be a binary blob... maybe this is the problem...
Can I simply delete the section content?
by , 7 years ago
Attachment: | omedit.ini added |
---|
comment:4 by , 7 years ago
Replying to Andrea.Bartolini:
The section [recentFileList] in my file omedit.ini (attached) seems to be a binary blob... maybe this is the problem...
Can I simply delete the section content?
It is suppose to be binary. The section is cleared by clicking on Clear Recent Files
.
You need to check if that binary information gets updated or not.
comment:5 by , 7 years ago
I done the following test:
- I made a copy of omedit.ini file and renamed as omedit_start.ini
- I opened OMedit
- I cleaned the Recent file list clicking on
Clear Recent File
button - I closed omedit
The final file omedit.ini and omedit_start.ini are still identical (I compared them with Meld).
comment:6 by , 7 years ago
Have you changed any access settings on your machine?
May be the file is marked read-only.
comment:7 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
You are right, the problem is that the owner of the omedit.ini has been changed to root.
This is most probably happened when I've run OMEdit as root some days ago, when I was investigating on the ticket #4581
After I reset the owner to my user the Recent File List has start to work properly.
It works perfectly fine for me on Windows and Linux.
Which operating system you are using?
Actually this information is read from
omedit.ini
file which is stored in,Unix and Mac OS X:
On Windows:
Can you check that the above file is updated accordingly after you close OMEdit? You basically need to look at section
recentFilesList
.