Opened 3 years ago

Closed 3 years ago

#2198 closed enhancement (done)

HL should suggest better file names

Reported by: mkommend Owned by: mkommend
Priority: low Milestone: HeuristicLab 3.3.10
Component: Optimizer Version: 3.3.9
Keywords: Cc:

Description

HL always suggests "Item" as file name for newly created files. However, if a NamedItem is stored it would be better to suggest the name of the item.

Change History (7)

comment:1 Changed 3 years ago by mkommend

  • Status changed from new to accepted

comment:2 Changed 3 years ago by mkommend

  • Owner changed from mkommend to abeham
  • Status changed from accepted to reviewing

r11012: Improved file name suggestion when saving contents for the first time.

comment:3 Changed 3 years ago by abeham

  • Owner changed from abeham to mkommend
  • Status changed from reviewing to readytorelease

ok

comment:4 Changed 3 years ago by abeham

  • Status changed from readytorelease to assigned

hmm on second though, I think we should make sure the nameditem's name is a valid file name.

comment:5 Changed 3 years ago by mkommend

  • Owner changed from mkommend to abeham
  • Status changed from assigned to reviewing

The save file dialog automatically verifies the file names and shows an message box stating "invalid file name" when the file name contains invalid characters. The only real problem occurs if the file name contains a backslash, because then the first part of the file name is interpreted as path and a path not found message is displayed. However, IMHO using a backslash within an item's name or file name is very uncommon.

PS: { is a valid character in file names.

comment:6 Changed 3 years ago by abeham

  • Owner changed from abeham to mkommend
  • Status changed from reviewing to readytorelease

ok

comment:7 Changed 3 years ago by mkommend

  • Resolution set to done
  • Status changed from readytorelease to closed

r11142: Merged r11012 into stable.

Note: See TracTickets for help on using tickets.