Recent file list is not updated when a dicument is opened directly from Windows

Summary:

If a document is opened by double-clicking its icon in Windows, the recently used file list is not updated.

This issue may be similar to #5849 (moved), except from the fact that the list remains not updated even after Inkscape is restarted.

Steps to reproduce:

  1. In Windows, navigate to a directory where an Inkscape document is saved;

  2. Double-click the document icon;

  3. Wait for Inkscape to start up;

  4. Go to the File -> Open Recent menu.

What happened?

The document just opened is not listed among the recently used documents.

image

What should have happened?

The opened document should be listed among the recently used documents.

...

Sample attachments:

bicycle.svg

Version info

Inkscape 1.1.1 (3bf5ae0d25, 2021-09-20)

    GLib version:     2.70.0
    GTK version:      3.24.30
    glibmm version:   2.66.1
    gtkmm version:    3.24.5
    libxml2 version:  2.9.12
    libxslt version:  1.1.34
    Cairo version:    1.17.4
    Pango version:    1.48.10
    HarfBuzz version: 2.9.1
    Poppler version:  21.08.0

    OS version:       Windows 10 2009

Edited by Max1234 Ita