Friends

Thursday, April 28, 2011

New File Renaming Bug Found in Windows Vista and Server 2008

Now that's an interesting bug which exists in Windows Vista and Server 2008. I found it today while renaming some files in Vista. Without wasting any time, I'll tell you the exact steps to re-create this bug:
1. Disable "Hide extensions for known file types" option in "Folder Options".
2. Now open My Computer and navigate to a folder which contains at least one file.
3. Rename the file by clicking on the file and press "F2" or right-click on the file and select "Rename".
4. Windows will only select the name of file and the extension will not be selected. Select the whole text i.e. name as well as extension.
5. Now give it any name and make sure you change its extension. To make it more clear, in this example the file is "Readme.txt" and I'll rename it to "VG.MP3". So I'm changing its extension from .txt to .MP3
6. Now once you type the new name, don't press Enter. Click on empty area in Explorer to apply the new name, Windows will show confirmation dialog box.
7. Click on "Yes" button and see the bug:
Strange_Selection_Rectangle_After_C.jpg
As you can see in above screenshot, a strange selection rectangle will be created automatically from the point where you clicked in explorer to the "Yes" button location.
8. If you move the cursor, the rectangle will change its size.
9. To remove the rectangle, just refresh the window.
NOTE: The bug doesn't appear if you press Enter to apply the new name. You have to click in empty area to re-create the bug.

0 comments:

Post a Comment

#
### ###