Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • OpenFlipper-Free OpenFlipper-Free
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenFlipper-FreeOpenFlipper-Free
  • OpenFlipper-FreeOpenFlipper-Free
  • Issues
  • #46

saving objects fails if any path component other than the filename contains a dot

The menu item "File" -> "Save Objects To" (indirectly) uses LoadWidget::saveFile() to save all objects. However, LoadWidget::saveFile() has a crude and severely broken ad-hoc implementation to check whether the path picked in the save dialog contains a filename with an extension: filename.contains(".",Qt::CaseSensitive) Note: filename contains the entire path here.

If the filename does not contain a dot but another component of the path does, this check returns a false positive, causing the file type detection to wreck havoc.

Assignee
Assign to
Time tracking