Skip to content

Wrong project filename on Save or Save As... #1501

Description

@unfa

Material Maker version:
1.6 stable, 1.7 stable

OS/device including version:
Operating System: MX Linux 23
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 7.0.9-1-liquorix-amd64 (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B550 AORUS ELITE V2

Issue description:

Material Maker always appends a dot . to saved project (ptex) filename.
It does not add a .ptex extension, just the . dot.
It does not recognize user provided extension, and so a test.ptex becomes test.ptex..
A name test becomes test. (without ptex).

Image

Steps to reproduce:

  1. Create a new project
  2. Select Project > Save As... from main menu
  3. Add a name "test"
  4. Hit Enter to confirm or click "Save"
  5. Check the saved file name - it will end with a .

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions