First try on this forum.
I had to change Gramps from Windows to Linux before returning to Windows.
My linux was a virtual machine running on my Windows PC and sharing the windows directories of my genealogical data: photos, gramp databases, etc.
On Linux, I therefore changed the paths in Gramps to indicate those pointing to the subdirectories of the shared directory.
When I returned to Windows, in my Gramps preferences, the family tree path had remained good, pointing to the Windows style path (C://genealogie/databases …) but in the General tab , the media path continued to point to the Linux style path (/patrice/genealogie/images …).
So I think that the former must be stored in an .ini file and that the media path must be stored in the database(s?).
Functionality or bug?