NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

Status
Not open for further replies.

Vishal Gupta

Microsoft MVP
UPDATE: Don't forget to visit following similar threads:

DID YOU KNOW? Windows Live Mail BUGs & Goof-ups
DID YOU KNOW? IE7 BUGS & Goof-ups
DID YOU KNOW? Windows VISTA Facts & Goof-ups


Guys!

Today I found a BUG in Notepad, which is not new to Vista. I have checked it in XP and its also working there. :rolleyes:

So get ready for enjoying it: :D

1. Open Notepad and enable "Status Bar" from "View -> Status Bar". If this option is disabled, then first uncheck "Format -> Word Wrap" option and now enable Status Bar again. Actually Notepad doesnt allow to hv Status Bar along with Word Wrap feature. U can hv one of them enabled at a time. But there is a registry hack, using it u can hv both of them at the same time. :D

Open regedit and goto:

Code:
HKEY_CURRENT_USER\Software\Microsoft\Notepad
In right-side pane, change value of StatusBar to 1.

2. Now open any existing text file (Yeah, you hv to open an already saved file to check this BUG) and put your cursor to any line, you'll see its location in Status Bar.

e.g. we assume that you put the cursor at column 3 of Line 3, then it'll show "Ln 3, Col 3" in Status Bar.

OK, fine then whats the BUG? :D Now press <Ctrl>+S or Choose "File -> Save" and look at the Status Bar. VOILLA, it'll show "Ln 1, Col 1" irrespective of the actual Line and column Number, that was "Ln 3, Col 3" in our case.

*img245.imageshack.us/img245/1964/notepadbugaj3.jpg

Sometimes you may hv to press <Ctrl>+S twice to re-create this BUG.

So the BUG is whenever you save an existing file, Notepad will show "Ln 1, Col 1" in Status Bar and it'll be corrected when you'll move the cursor. :cool:
 
Last edited:
OP
Vishal Gupta

Vishal Gupta

Microsoft MVP
No matter what the software is but a BUG is a BUG and I hv reported it to MS. :D
And it can't be called an easter egg. ;)
 

sam_1710

Youngling
hey Mr.Vista..
in the view menu of my notepad, the status bar option has been greyed out!! .. why??
 

rakeshishere

HELP AND SUPPORT
Vishal Gupta said:
And it can't be called an easter egg. ;)

Even I know that(I was kiddin):D..But Wonder How could some one possibly Not Able to Find such a Silly "BUG" in such a silly APP:confused:
 
OP
Vishal Gupta

Vishal Gupta

Microsoft MVP
@sam
u missed this part in my first post: ;)

Open Notepad and enable "Status Bar" from "View -> Status Bar". If this option is disabled, then first uncheck "Format -> Word Wrap" option and now enable Status Bar again. Actually Notepad doesnt allow to hv Status Bar along with Word Wrap feature. U can hv one of them enabled at a time. But there is a registry hack, using it u can hv both of them at the same time. :D

Open regedit and goto:

Code:
HKEY_CURRENT_USER\Software\Microsoft\Notepad
In right-side pane, change value of StatusBar to 1.

@Rakesh
bcoz a silly person was needed to find this silly bug. :D
 
Last edited:

casanova

The Frozen Nova
Bug not noticed coz people cant go testing around for everything done with registry hacks.

Nice find but not fair to call it a bug. Call it a lapse instead
 

rakeshishere

HELP AND SUPPORT
casanova said:
Bug not noticed coz people cant go testing around for everything done with registry hacks.

Nice find but not fair to call it a bug. Call it a lapse instead
You Mean..." A Programming Flaw " :D :p

Edit: Or a LoopHole;)
 

Garbage

God of Mistakes...
I think this is happening bcoz, after saving the file, "File Pointer" is placed again to "First Character" or "@ beginning of file".

isn't it ?
 

navjotjsingh

Wise Old Owl
I already knew about the first one. Always thought for what they give enable status bar when option itself becomes greyed out. Second one was entirely new for me!
 

Quiz_Master

* Teh Flirt King *
I knew the first one. But that "line" one was new to me. Keep finding bugs...

How u find bugs yaar.... It can take months to foind bugs like this...
 

piyush gupta

Cyborg Agent
@VISTA

yarr notepad hai very old hai and MS ke pass apke jaisa tester nahin hiana jo Regestry hack karke s/w ko test kare :D
 
Status
Not open for further replies.
Top Bottom