Bug 143171

Summary: KSpread should correct illegal sheet names fully in one go
Product: [Applications] calligrasheets Reporter: Shriramana Sharma <samjnaa>
Component: generalAssignee: Calligra Sheets (KSpread) Bugs <calligra-sheets-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Shriramana Sharma 2007-03-18 18:28:55 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages
OS:                Linux

Using KSpread 1.6.2

Steps to reproduce bug:
1. Open KSpread. Select blank document template.
2. Right-click on one of the sheet icons at the bottom.
3. Select rename sheet.
4. Type something with dashes - first-quarter-domestic-expenses
5. Hit enter.
6. KSpread throws up an error saying - is not allowed.
7. Click OK.

Actual behaviour:
KSpread now allows you to change the name. It has changed the first - to an underscore but it has not corrected the other characters. So I either have to manually correct the remaining - or go through the error two more times to have KSpread do the full correction itself.

Expected behaviour:
KSpread should change all the - to _ at one go.

Comment:
Don't know if this happens with characters other than - too. Please check.
Comment 1 Stefan Nikolaus 2007-08-01 21:05:01 UTC

*** This bug has been marked as a duplicate of 142960 ***