Bug 410189 - Dialog to enter new scratch file name should not propose already existing filename
Summary: Dialog to enter new scratch file name should not propose already existing fil...
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Plugin: Scratchpad (show other bugs)
Version: 5.3.80
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-25 10:17 UTC by Friedrich W. H. Kossebau
Modified: 2019-07-25 10:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Friedrich W. H. Kossebau 2019-07-25 10:17:23 UTC
For convenience it is nice to have a filename proposed from the start, so one can just quickly confirm without having to think and then go testing what one was to test.

The convenience though runs into disappointment when the proposed filename will not be accepted on "Ok", due to conflicts. As can happen if one 2x is fine with the "example.cpp" file name proposed.

Ideally the dialog would be so smart to propose a name which is not already taken, e.g. by adding some number postfix (iterating from first none, then 1 until a non-clashing variant is found). Or have some other source of unique & practically endless naming patterns.