Improve feature: Paths preferences during installation

Issue #611 resolved
Susan Spencer created an issue

During installation of Valentina, the Valentina program directory is created, but a Valentina user data directory is not created. This severely impacts the user experience when getting started with Valentina.

Currently the paths preferences are, on Windows: (similar structure in Linux)

Individual measurements: C:/users/<username>
Standard measurements: C:/Program Files (x86)/Valentina/tables/standard
Patterns: C:/users/<username>
Layout: C:/users/<username>
Templates: C:/Program Files (x86)/Valentina/tables/templates

To improve the UX, these 3 things should be changed/added:

  • A Valentina data directory should be created under the user's directory during installation.
  • A new directory should be added for users' copies of template files (some users don't have read-write rights to the Valentina/tables directory.)
  • The current default preferences should be re-named and re-ordered.

After changes are made, the Preferences/Paths will look like this:

My Patterns: C:/users/<username>/valentina/patterns/
My Layouts: C:/users/<username>/valentina/layouts/
My Measurements: C:/users/<username>/valentina/measurements/
My Templates: C:/users/<username>/valentina/templates/
Standard multi-size measurements: C:/Program Files (x86)/Valentina/tables/standard/
Standard patternsystem templates: C:/Program Files (x86)/Valentina/tables/templates

Comments (13)

  1. Roman Telezhynskyi repo owner

    Your idea is good, but i think you forgot one thing. Multi-user installs. This is hard to achieve.

  2. Susan Spencer reporter

    Multi-user installs can be dealt with in the future. This would be a separate issue.

  3. Roman Telezhynskyi repo owner

    I am taliking about these

    My Patterns: C:/users/<username>/valentina/patterns/
    My Layouts: C:/users/<username>/valentina/layouts/
    My Measurements: C:/users/<username>/valentina/measurements/
    My Templates: C:/users/<username>/valentina/templates/

    Folders patterns, layouts, measurements and templates.

  4. Susan Spencer reporter

    Ah. Okay I get it now. This is a big issue. Can the folders be created after the user picks their language?

  5. Roman Telezhynskyi repo owner

    I think this issue is not ready to be implemented. And i have doubts it is valid issue at all.

    This issue is very similar to standard folders in Ubuntu (Music, Documents, Downloads etc.), but not all like this approach. But maybe for desktop environment this is good to propose such folders, but i am not sure about Valentina.

    There are a lot problems:

    • Localization names.
    • What if user don't want such approach and use own?
    • How to track and prevent Valentina from creating these folders each time on start?
    • We support three platforms. And thus have three time more work.

    As to proposed folders:

    • My Patterns - probably. Can agree. But create one folder when you save a pattern very easy from a standard dialog.
    • My Layouts - no one will store layout when they have VAL file. Don't think we need special folder for "temp" files.
    • My Measurements - not always keeping measurements away from pattern is a good idea.
    • My Templates - not all users will have own templates this is very custom and can't be standardized.

    Also maybe you did not know, but Valentina rewrite path variable each time user use new path. It remembers the last choice. The default paths are just start point.

    So, as i see this users should create own folder system manually. And we can standardize only paths for files we provide (multi size measurements and templates).

  6. Susan Spencer reporter

    The installation could ask the user where to save the patterns, layouts, and measurements. This way they know where their files are stored.

  7. Log in to comment