Bug 293007 - Slideshow screensaver truncates file names at the first period, instead of at the last one
Summary: Slideshow screensaver truncates file names at the first period, instead of at...
Status: RESOLVED DUPLICATE of bug 175262
Alias: None
Product: kscreensaver
Classification: Miscellaneous
Component: screensavers (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kscreensaver bugs tracking
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-31 23:59 UTC by Marcelo Sales
Modified: 2012-02-10 17:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Sales 2012-01-31 23:59:22 UTC
Version:           unspecified (using KDE 4.7.4) 
OS:                Linux

When configured to show the file names, slideshow screensaver tries to hide the extension of the file name when displaying it. However, it does this truncating the file name at the first period from left to right. This causes file names which have periods in them to be truncated in the wrong place.
Slideshow screensaver should truncate the file name at the last period in it, not the first one.
I have thousands of pictures named like this: 
"yyyy.mm.dd - Name_of_the_picture.jpg"
When displaying these pictures names, slideshow screensaver shows only "yyyy".


Reproducible: Always

Steps to Reproduce:
1. name a picture using the following pattern: "yyyy.mm.dd - Name_of_the_picture.jpg"
2. put this picture alone in a directory
3. configure slideshow screensaver to show pictures in the above mentioned directory and turn on the "Show names" option
4. activate the screensaver

Actual Results:  
The picture is displayed with the following name: yyyy


Expected Results:  
The picture should be displayed with the following name: yyyy.mm.dd - Name_of_the_picture
Comment 1 Christoph Feck 2012-02-10 17:59:14 UTC

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